/* ============================================
   WILLOW ROBSON — BEAUTY & HAIR SALON
   Clean Minimalist · Emerald + Cream
   ============================================ */

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

:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50:  #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #ece4d6;
    --cream-300: #e0d5c4;
    --warm-100:  #f0ebe0;
    --warm-200:  #e8dfd0;
    --warm-300:  #d4a574;
    --warm-400:  #c49a6c;
    --text-dark:  #1a1a1a;
    --text-mid:   #3a3a3a;
    --text-light: #6b6b6b;
    --text-muted: #999;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', -apple-system, sans-serif;

    --nav-h: 72px;
    --container: 1200px;
    --radius: 4px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- NAV ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--cream-200);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-menu a {
    color: var(--text-dark);
}

.nav.scrolled .nav-cta {
    background: var(--emerald-900);
    color: #fff;
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff;
    transition: color 0.4s;
}

.nav-logo-icon {
    color: var(--warm-300);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--warm-300);
    transition: width 0.3s;
}

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

.nav-menu a:hover {
    color: #fff;
}

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase;
    color: #fff !important;
    background: var(--emerald-700);
    padding: 10px 24px;
    border-radius: var(--radius);
    transition: background 0.3s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--emerald-600) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- HERO ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 15, 10, 0.55) 0%,
        rgba(6, 48, 35, 0.70) 50%,
        rgba(4, 15, 10, 0.82) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 0 24px;
    color: #fff;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-300);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
    color: #fff;
}

.hero-accent {
    font-style: italic;
    font-weight: 300;
    color: var(--warm-300);
}

.hero-sub {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--emerald-800);
    color: #fff;
    border-color: var(--emerald-800);
}

.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

.btn-ghost-light {
    background: transparent;
    color: var(--emerald-900);
    border-color: var(--emerald-800);
}

.btn-ghost-light:hover {
    background: var(--emerald-800);
    color: #fff;
}

.btn-full {
    width: 100%;
}

/* ---- INTRO ---- */
.intro {
    padding: 80px 24px;
    background: var(--cream-50);
}

.intro-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.intro-line {
    width: 48px;
    height: 1px;
    background: var(--warm-300);
}

.intro-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-mid);
    text-align: center;
    font-style: italic;
}

/* ---- SECTION COMMON ---- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-400);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.section-title--light {
    color: #fff;
}

/* ---- SERVICES ---- */
.services {
    padding: 100px 24px;
    background: var(--cream-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--cream-200);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius);
    overflow: hidden;
}

.service-card {
    background: var(--cream-50);
    padding: 48px 36px;
    position: relative;
    transition: background 0.3s;
}

.service-card:hover {
    background: var(--cream-100);
}

.service-num {
    display: block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--warm-300);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.2;
}

.service-desc {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-light);
}

/* ---- ABOUT ---- */
.about {
    padding: 100px 24px;
    background: var(--emerald-900);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-content {
    color: #fff;
}

.about-content .section-eyebrow {
    color: var(--warm-300);
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 32px;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 44px;
    padding-top: 44px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--warm-300);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ---- GALLERY ---- */
.gallery {
    padding: 100px 24px;
    background: var(--cream-100);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 2; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 1 / 5; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 5 / 8; grid-row: 2 / 3; }
.gallery-item:nth-child(6) { grid-column: 8 / 13; grid-row: 2 / 3; }

/* ---- CTA BANNER ---- */
.cta-banner {
    padding: 100px 24px;
    background: var(--emerald-950);
    text-align: center;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-300);
    margin-bottom: 20px;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 300;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
}

.cta-sub {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- CONTACT ---- */
.contact {
    padding: 100px 24px;
    background: var(--cream-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    color: #fff;
}

/* Dark panel for contact info */
.contact-info {
    background: var(--emerald-900);
    padding: 56px 48px;
    border-radius: var(--radius);
}

.contact-info .section-eyebrow {
    color: var(--warm-300);
    margin-bottom: 16px;
}

.contact-info .section-title {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-item-label {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.contact-item-value {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}

.contact-link {
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--warm-300);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    opacity: 0.85;
}

/* Contact form */
.contact-form-wrap {
    padding: 8px 0;
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-form-sub {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--cream-300);
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--emerald-700);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 24px;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
    color: var(--emerald-900);
}

.form-success svg {
    margin: 0 auto 16px;
}

.form-success p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-mid);
}

/* ---- FOOTER ---- */
.footer {
    background: var(--emerald-950);
    padding: 64px 24px 40px;
    color: #fff;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
}

.footer-logo-icon {
    color: var(--warm-300);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.8125rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.55);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.9);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.footer-contact a {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--warm-300);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 32px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255,255,255,0.35);
}

/* ---- MOBILE RESPONSIVE ---- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-layout {
        gap: 40px;
    }

    .contact-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--emerald-950);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0,0,0,0.2);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu a {
        color: rgba(255,255,255,0.85) !important;
        font-size: 0.9375rem;
    }

    .nav-menu a:hover {
        color: #fff !important;
    }

    .nav-cta {
        margin-top: 8px;
    }

    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 99;
    }

    .nav-overlay.visible {
        display: block;
    }

    .hero {
        min-height: 580px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 36px 28px;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 360px;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
    .gallery-item:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; }
    .gallery-item:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
    .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3 / 4; }
    .gallery-item:nth-child(5) { grid-column: 1 / 2; grid-row: 4 / 5; }
    .gallery-item:nth-child(6) { grid-column: 2 / 3; grid-row: 4 / 5; }

    .gallery-grid {
        grid-template-rows: repeat(4, 200px);
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding: 40px 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 220px);
    }

    .gallery-item:nth-child(n) {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

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

/* ---- PROGRESSIVE ENHANCEMENT: scroll reveals ---- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
