/*
Theme Name: Cadence Laundry
Description: A modern, responsive WordPress theme for laundry and dry cleaning services. Features a luxury design with champagne gold and navy blue color scheme.
Version: 1.0
Author: Cadence Laundry
Text Domain: cadence-laundry
*/

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1B3A5F;
    background-color: #ffffff;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #1B3A5F;        /* Navy Blue (now primary) */
    --secondary-color: #D4AF37;      /* Champagne Gold (accent) */
    --accent-color: #F4E4BC;         /* Light Champagne */
    --text-dark: #1B3A5F;            /* Navy Blue */
    --text-light: #6B7280;           /* Gray */
    --text-white: #ffffff;
    --background-light: #F8FAFC;     /* Light Gray */
    --background-white: #ffffff;
    --border-color: #E5E7EB;         /* Light Border */
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Poppins', sans-serif;
    --font-logo: 'Lobster', cursive;
    
    /* Spacing */
    --container-padding: 1rem;
    --section-padding: 4rem 0;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn--primary:hover {
    background-color: #B8941F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--container-padding);
}

.nav__logo {
    font-family: var(--font-logo);
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav__link:hover {
    color: var(--secondary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    background-color: var(--primary-color);
    color: var(--text-white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
}

.nav__cta:hover {
    background-color: #16304A;
    transform: translateY(-1px);
}

.nav__cta::after {
    display: none;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav__toggle-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero__title-accent {
    color: var(--secondary-color);
    display: block;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #E9EEF5 0%, var(--primary-color) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
}

/* ===== TRUST SECTION ===== */
.trust {
    padding: var(--section-padding);
    background-color: var(--background-white);
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust__box {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background-color: var(--background-white);
    border-radius: 0.75rem;
    box-shadow: none;
    border: 1px solid #E7EAF0;
    transition: var(--transition);
}

.trust__box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.trust__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.trust__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.trust__description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service__card {
    background-color: var(--background-white);
    padding: 2rem 1.75rem;
    border-radius: 0.75rem;
    box-shadow: none;
    transition: var(--transition);
    border: 1px solid #E7EAF0;
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(27, 58, 95, 0.09);
    border-color: var(--primary-color);
}

.service__icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service__features {
    list-style: none;
}

.service__features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--background-white);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial__card {
    background-color: var(--background-white);
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    box-shadow: none;
    border: 1px solid #ECEFF4;
    transition: var(--transition);
}

.testimonial__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(27, 58, 95, 0.08);
}

.testimonial__rating {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial__text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.125rem;
}

.testimonial__name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial__location {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== QUOTE SECTION ===== */
.quote {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2B4D78 100%);
    color: var(--text-white);
}

.quote__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.quote__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.quote__description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.quote__benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote__benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quote__benefit-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.125rem;
}

/* ===== FORM STYLES ===== */
.quote__form {
    background-color: var(--background-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--background-white);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__title {
    font-family: var(--font-logo);
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer__subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.footer__social-link:hover {
    background-color: #B8941F;
    transform: translateY(-2px);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--secondary-color);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer__contact-icon {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-top: 0.125rem;
}

.footer__hours {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__hours-item {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.8);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer__legal-link:hover {
    color: var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__toggle.active .nav__toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav__toggle.active .nav__toggle-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav__toggle.active .nav__toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .quote__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 6rem 0 2rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .quote__form {
        padding: 1.5rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for better accessibility */
.btn:focus,
.form__input:focus,
.form__select:focus,
.form__textarea:focus,
.nav__link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #B8941F;
        --text-light: #4B5563;
        --border-color: #9CA3AF;
    }
}

/* ===== WORDPRESS SPECIFIC STYLES ===== */
.wp-block-group {
    margin-bottom: 0;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* WordPress admin bar adjustment */
.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .header {
        top: 46px;
    }
}
