/* ========================================
   Wanda's World — Beauty & Hair Salon
   Clean Minimalist · Terracotta + Sand
   ======================================== */

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --terracotta: #C4775B;
    --terracotta-dark: #A8614A;
    --terracotta-light: #D4957D;
    --sand: #E8D5C4;
    --sand-light: #F5EDE5;
    --sand-lighter: #FAF6F2;
    --cream: #FDF9F6;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #7A6B63;
    --warm-gray-light: #A89890;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

em {
    font-style: italic;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(196, 119, 91, 0.1);
    transition: transform 0.4s var(--ease-out);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--charcoal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-gray);
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--charcoal);
}

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

.nav-cta {
    background: var(--charcoal);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.8125rem !important;
    letter-spacing: 0.06em !important;
    transition: background 0.3s ease, transform 0.3s var(--ease-out) !important;
}

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

.nav-cta:hover {
    background: var(--terracotta);
    transform: translateY(-1px);
}

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

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--terracotta);
}

.mobile-menu-cta {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-top: 16px;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    padding-top: 72px;
    background: var(--cream);
    position: relative;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    padding-right: 24px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.0;
    margin-bottom: 32px;
}

.hero-headline em {
    color: var(--terracotta);
    font-weight: 300;
}

.hero-desc {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--warm-gray);
    max-width: 420px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-line {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-line::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--sand), transparent);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-stack {
    position: relative;
    height: 580px;
}

.hero-img {
    overflow: hidden;
    position: absolute;
}

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

.hero-img-main {
    width: 75%;
    height: 80%;
    top: 0;
    right: 0;
}

.hero-img-accent {
    width: 55%;
    height: 42%;
    bottom: 0;
    left: 0;
    border: 6px solid var(--cream);
}

.hero-tag {
    position: absolute;
    bottom: 38%;
    left: -8px;
    background: var(--charcoal);
    color: var(--sand-light);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 16px;
    writing-mode: vertical-rl;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

.btn-primary:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.btn-outline:hover {
    background: var(--charcoal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ── Intro Strip ── */
.intro-strip {
    background: var(--sand-light);
    border-top: 1px solid rgba(196, 119, 91, 0.12);
    border-bottom: 1px solid rgba(196, 119, 91, 0.12);
}

.intro-grid {
    display: flex;
    align-items: center;
    gap: 0;
}

.intro-item {
    flex: 1;
    padding: 28px 24px;
}

.intro-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    margin-bottom: 6px;
}

.intro-value {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.5;
}

.intro-value a {
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.intro-value a:hover {
    color: var(--terracotta);
}

.intro-divider {
    width: 1px;
    height: 40px;
    background: var(--sand);
    flex-shrink: 0;
}

/* ── Section Shared ── */
.section-header {
    margin-bottom: 64px;
}

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

.section-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--charcoal);
}

.section-title em {
    color: var(--terracotta);
}

/* ── Services ── */
.services {
    padding: 120px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.service-card {
    padding: 48px 36px;
    border: 1px solid rgba(196, 119, 91, 0.12);
    margin: -0.5px;
    position: relative;
    transition: all 0.4s var(--ease-out);
    background: var(--cream);
}

.service-card:hover {
    background: var(--sand-lighter);
    z-index: 2;
    box-shadow: 0 20px 60px rgba(44, 36, 32, 0.08);
}

.service-number {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--terracotta-light);
    margin-bottom: 24px;
    font-weight: 300;
}

.service-name {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--warm-gray);
}

/* ── About ── */
.about {
    padding: 120px 0;
    background: var(--sand-light);
}

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

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.about-content {
    padding: 24px 0;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--warm-gray);
    margin-bottom: 24px;
}

.about-signature {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(196, 119, 91, 0.2);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.signature-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--charcoal);
}

.signature-location {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
}

/* ── Gallery ── */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
}

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

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

.gallery-item--tall {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item:not(.gallery-item--tall) {
    grid-column: span 4;
}

/* ── Testimonial ── */
.testimonial {
    padding: 120px 0;
    background: var(--charcoal);
    text-align: center;
}

.testimonial-content {
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-quote {
    color: var(--terracotta-light);
    margin-bottom: 32px;
    opacity: 0.6;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--sand-light);
    margin-bottom: 32px;
}

.testimonial-divider {
    width: 48px;
    height: 1px;
    background: var(--terracotta);
    margin: 0 auto 20px;
}

.testimonial-source {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

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

.contact-detail {
    margin-bottom: 36px;
}

.contact-detail-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    margin-bottom: 8px;
}

.contact-detail-value {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.contact-detail-value a:hover {
    color: var(--terracotta);
}

.contact-map {
    margin-top: 40px;
    overflow: hidden;
    border-radius: 4px;
}

/* Form */
.contact-form-wrap {
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-input {
    width: 100%;
    padding: 14px 0;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--charcoal);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(196, 119, 91, 0.25);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--warm-gray-light);
}

.form-input:focus {
    border-bottom-color: var(--terracotta);
}

.form-select {
    cursor: pointer;
    color: var(--warm-gray);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    gap: 16px;
}

.form-success.show {
    display: flex;
}

.form-success p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--charcoal);
}

/* ── Footer ── */
.footer {
    background: var(--charcoal);
    padding: 64px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(232, 213, 196, 0.1);
    margin-bottom: 32px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--sand-light);
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--warm-gray-light);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--warm-gray-light);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--warm-gray);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 32px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .gallery-grid {
        grid-template-rows: repeat(2, 220px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        padding: 40px 24px 60px;
    }
    
    .hero-content {
        padding-right: 0;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        height: 360px;
    }
    
    .hero-image-stack {
        height: 360px;
    }
    
    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
    
    .intro-grid {
        flex-direction: column;
        gap: 0;
    }
    
    .intro-item {
        width: 100%;
        padding: 20px 0;
    }
    
    .intro-divider {
        width: 100%;
        height: 1px;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        margin: 0 0 1px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image img {
        height: 360px;
    }
    
    .gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery-item--tall {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .testimonial {
        padding: 80px 0;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-image-stack {
        height: 280px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item,
    .gallery-item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item img,
    .gallery-item--tall img {
        height: 260px;
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
