/* Custom Styles for Affordable Professional Cleaning Service */

:root {
    --charcoal: #2D3436;
    --charcoal-dark: #1a1f20;
    --coral: #E86A5B;
    --coral-dark: #d4574a;
    --off-white: #F8F9FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--charcoal);
    overflow-x: hidden;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-nunito {
    font-family: 'Nunito', sans-serif;
}

/* Custom Shadows */
.shadow-soft {
    box-shadow: 0 4px 20px rgba(45, 52, 54, 0.08);
}

.shadow-large {
    box-shadow: 0 10px 40px rgba(45, 52, 54, 0.15);
}

/* Navbar Styles */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.mobile-link:hover {
    padding-left: 16px;
}

.mobile-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.mobile-link:hover::before {
    width: 8px;
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--coral-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Buttons */
button, a {
    cursor: pointer;
}

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(232, 106, 91, 0.2);
}

/* Scroll Animations */
.service-card,
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible,
.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-poppins {
        font-size: 1rem;
    }
    
    .font-nunito {
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    nav,
    #contact,
    footer {
        display: none;
    }
}

/* Accessibility */
@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;
    }
}

/* Focus Visible */
:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: var(--coral);
    color: white;
}
