/* ============================================
   The Glam House Hair Studio
   Clean Minimalist · Terracotta & Sand
   ============================================ */

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

:root {
    --terracotta: #C2704E;
    --terracotta-dark: #A0553A;
    --terracotta-light: #E8A88A;
    --sand: #F5EDE4;
    --sand-light: #FBF7F3;
    --sand-dark: #E8DDD3;
    --charcoal: #2A2219;
    --charcoal-light: #4A3F35;
    --cream: #FDF9F5;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--sand-light);
    line-height: 1.6;
    font-weight: 300;
    -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;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(253, 249, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(42, 34, 25, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-mark {
    font-size: 18px;
    color: var(--terracotta);
    line-height: 1;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    transition: color var(--transition);
    position: relative;
}

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

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

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

.nav-cta {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    padding: 10px 24px;
    border: 1px solid var(--charcoal);
    color: var(--charcoal) !important;
    transition: all var(--transition) !important;
}

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

.nav-cta:hover {
    background: var(--charcoal) !important;
    color: var(--white) !important;
}

/* 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: var(--transition);
    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) {
    opacity: 0;
}

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

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

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

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

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

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

.mobile-menu-cta {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 36px;
    border: 1px solid var(--charcoal);
    margin-top: 12px;
    transition: all var(--transition);
}

.mobile-menu-cta:hover {
    background: var(--charcoal);
    color: var(--white);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #C2704E 0%,
        #D4896A 25%,
        #E8A88A 50%,
        #F5C4A8 75%,
        #F5EDE4 100%
    );
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(194, 112, 78, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 168, 138, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 237, 228, 0.3) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(42, 34, 25, 0.6);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-title-em {
    font-style: italic;
    font-weight: 300;
    color: var(--terracotta-dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--charcoal-light);
    max-width: 520px;
    margin: 0 auto 40px;
}

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

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--charcoal);
    opacity: 0.2;
    margin: 36px auto 24px;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--charcoal-light);
    font-weight: 400;
}

.hero-meta-dot {
    opacity: 0.4;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    opacity: 0.6;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--charcoal-light), transparent);
    opacity: 0.4;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
}

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

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

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

.btn-dark:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
}

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

.btn-white:hover {
    background: var(--sand);
    border-color: var(--sand);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-full {
    width: 100%;
}

/* ============================================
   Section Shared
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

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

.section-title.light {
    color: var(--white);
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--sand-light);
}

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

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--sand-dark);
    transition: all var(--transition);
    position: relative;
    background: var(--white);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: var(--terracotta-light);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(194, 112, 78, 0.08);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--terracotta);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--charcoal-light);
    font-weight: 300;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-image-col {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
}

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--terracotta-light);
    z-index: -1;
}

.about-content-col {
    padding: 20px 0;
}

.about-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    font-weight: 300;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--sand-dark);
    border-bottom: 1px solid var(--sand-dark);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--terracotta);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    font-weight: 400;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    padding: 120px 0;
    background: var(--sand-light);
}

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

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.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 / 9;
    grid-row: 2 / 3;
}

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

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
    padding: 120px 0;
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--sand-dark);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--terracotta-light);
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--charcoal) 0%,
        #3D3228 50%,
        var(--charcoal-light) 100%
    );
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta .section-eyebrow.light {
    color: var(--terracotta-light);
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    max-width: 480px;
    margin: 0 auto 40px;
}

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

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--sand-light);
}

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

.contact-item {
    margin-bottom: 32px;
}

.contact-item-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 8px;
}

.contact-item-value {
    display: block;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal);
    font-weight: 300;
}

.contact-item-link {
    display: block;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal);
    font-weight: 400;
    text-decoration: none;
    border-bottom: 1px solid var(--sand-dark);
    padding-bottom: 2px;
    transition: all var(--transition);
}

.contact-item-link:hover {
    color: var(--terracotta);
    border-color: var(--terracotta-light);
}

.map-wrapper {
    margin-top: 32px;
    border: 1px solid var(--sand-dark);
    overflow: hidden;
}

.map-wrapper iframe {
    filter: grayscale(0.3) contrast(1.05);
}

.contact-form-col {
    padding: 48px;
    background: var(--white);
    border: 1px solid var(--sand-dark);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 32px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--charcoal);
    background: var(--sand-light);
    border: 1px solid var(--sand-dark);
    outline: none;
    transition: border-color var(--transition);
    -webkit-appearance: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
}

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

.form-success {
    padding: 24px;
    background: var(--sand);
    text-align: center;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 400;
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-mark {
    font-size: 18px;
    color: var(--terracotta-light);
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.02em;
}

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

.footer-links a {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

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

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

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto auto;
    }
    
    .gallery-item:nth-child(1) { grid-column: 1 / 4; }
    .gallery-item:nth-child(2) { grid-column: 4 / 7; }
    .gallery-item:nth-child(3) { grid-column: 1 / 4; }
    .gallery-item:nth-child(4) { grid-column: 4 / 7; }
    .gallery-item:nth-child(5) { grid-column: 1 / 4; }
    .gallery-item:nth-child(6) { grid-column: 4 / 7; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 80px;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrapper img {
        height: 500px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .about-stats {
        gap: 28px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
    }
    
    .gallery-item:nth-child(1) img,
    .gallery-item:nth-child(4) img {
        height: 350px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-col {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 300px;
    }
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}
