/* Custom styles for Chappy's Cleaning Services */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(232, 184, 75, 0.3);
    color: #F5F5F5;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #E8B84B;
    outline-offset: 2px;
}

/* Button hover animation */
.cta-button {
    position: relative;
    z-index: 1;
}

.cta-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

.cta-button:hover::after {
    width: 80%;
}

/* Service card icon animation */
.service-card:hover .w-14 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Mobile navigation link */
.mobile-nav-link {
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    padding-left: 16px;
    color: #E8B84B;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(ellipse at 20% 50%, rgba(232, 184, 75, 0.03) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 20%, rgba(201, 149, 46, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .fixed,
    .mobile-menu,
    .cta-button {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .text-gold-400,
    .gold-gradient-text {
        color: #333 !important;
        -webkit-text-fill-color: #333 !important;
    }
}
