/* ========================================
   Huges Hair — CSS
   ======================================== */

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

:root {
    --terracotta: #B86B4A;
    --terracotta-deep: #9A5538;
    --terracotta-light: #D4917A;
    --sand: #E8D5C0;
    --sand-light: #F5EDE3;
    --sand-pale: #FAF6F1;
    --cream: #FDF9F4;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #7A6B60;
    --warm-gray-light: #A89890;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.10);
    --shadow-lg: 0 8px 32px rgba(44, 36, 32, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --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(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--terracotta);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--terracotta-deep);
}

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

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--charcoal);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light));
    margin-bottom: 32px;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--terracotta-deep);
    border-color: var(--terracotta-deep);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

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

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

.btn-outline-light {
    background: transparent;
    color: var(--sand-light);
    border-color: rgba(255, 255, 255, 0.4);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

/* ========================================
   Header / Navigation
   ======================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 244, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 107, 74, 0.1);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--charcoal);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

.logo:hover {
    color: var(--terracotta);
}

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

.logo-light:hover {
    color: var(--sand);
}

.logo-mark {
    color: var(--terracotta);
}

.logo-light .logo-mark {
    color: var(--sand);
}

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

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--charcoal-light);
    text-decoration: none;
    position: relative;
    transition: color var(--transition);
}

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

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

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

.nav-cta {
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem !important;
    transition: all var(--transition) !important;
}

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

.nav-cta:hover {
    background: var(--terracotta-deep);
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all var(--transition);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========================================
   Hero
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.85) 0%,
        rgba(74, 63, 56, 0.7) 50%,
        rgba(44, 36, 32, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

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

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--sand);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(232, 213, 192, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(232, 213, 192, 0.6);
    text-decoration: none;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(232, 213, 192, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ========================================
   Services
   ======================================== */

.services {
    padding: 100px 0;
    background: var(--cream);
}

.services .section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1px solid rgba(184, 107, 74, 0.08);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(184, 107, 74, 0.15);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand-light);
    border-radius: var(--radius-md);
    color: var(--terracotta);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--terracotta);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ========================================
   About
   ======================================== */

.about {
    padding: 100px 0;
    background: var(--sand-pale);
}

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

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--sand-pale);
}

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

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--terracotta);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
}

.badge-text {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 2px;
}

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

.about-content p {
    color: var(--warm-gray);
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--charcoal-light);
}

.value-item svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

/* ========================================
   Gallery
   ======================================== */

.gallery {
    padding: 100px 0;
    background: var(--cream);
}

.gallery .section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.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.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 36, 32, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
}

.gallery-item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 5 / 8; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 8 / 10; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 10 / 13; grid-row: 1 / 2; }
.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; }

/* ========================================
   Testimonials
   ======================================== */

.testimonials {
    padding: 100px 0;
    background: var(--charcoal);
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials .section-eyebrow {
    color: var(--sand);
}

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

.testimonials .section-divider {
    margin-left: auto;
    margin-right: auto;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

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

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(232, 213, 192, 0.85);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--sand);
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* ========================================
   CTA
   ======================================== */

.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 36, 32, 0.9) 0%, rgba(74, 63, 56, 0.8) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--sand) !important;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    color: rgba(232, 213, 192, 0.8);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* ========================================
   Contact
   ======================================== */

.contact {
    padding: 100px 0;
    background: var(--sand-pale);
}

.contact .section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    color: var(--terracotta);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--warm-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--warm-gray);
}

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

.hours-note {
    font-size: 0.8rem;
    color: var(--warm-gray-light);
    font-style: italic;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--charcoal);
    padding: 64px 0 32px;
    color: var(--sand);
}

.footer-top {
    text-align: center;
    margin-bottom: 48px;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(232, 213, 192, 0.7);
    margin-top: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(232, 213, 192, 0.15);
    padding-top: 32px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(232, 213, 192, 0.5);
}

.footer-bottom a {
    color: rgba(232, 213, 192, 0.6);
}

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

/* ========================================
   Reveal Animations
   ======================================== */

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Default state for reduced-motion — content always visible */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(3, 220px);
    }
    
    .gallery-item:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 3; }
    .gallery-item:nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 2; }
    .gallery-item:nth-child(3) { grid-column: 1 / 4; grid-row: 3 / 4; }
    .gallery-item:nth-child(4) { grid-column: 4 / 7; grid-row: 2 / 4; }
    .gallery-item:nth-child(5) { display: none; }
    .gallery-item:nth-child(6) { display: none; }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: -8px 0 32px rgba(44, 36, 32, 0.15);
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-accent {
        right: -16px;
        bottom: -16px;
        width: 160px;
    }
    
    .about-image-accent img {
        height: 210px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, 200px);
    }
    
    .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
    .gallery-item:nth-child(2) { grid-column: 1 / 2; grid-row: 3 / 4; }
    .gallery-item:nth-child(3) { grid-column: 2 / 3; grid-row: 3 / 4; }
    .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: 4 / 5; }
    .gallery-item:nth-child(5) { display: none; }
    .gallery-item:nth-child(6) { display: none; }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        padding: 16px 28px;
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-image-main img {
        height: 350px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .about-badge {
        top: -12px;
        left: -12px;
        padding: 12px 16px;
    }
}
