/* ============================================
   Healing Hair Artist — Custom Styles
   Burgundy + Blush | Minimalist | Thin Type
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2C;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-mid: #EDE0DA;
    --cream: #FDF9F7;
    --white: #FFFFFF;
    --text-dark: #2A1B1E;
    --text-mid: #5C4045;
    --text-light: #8A6B70;
    --line: #E8D8D2;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    
    --nav-height: 72px;
    --section-padding: clamp(80px, 12vw, 140px);
    --container-max: 1200px;
}

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

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

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 48px);
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-dark);
}

/* --- Section Label --- */
.section-label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-label-light {
    color: rgba(255, 255, 255, 0.7);
}

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

.section-line {
    width: 48px;
    height: 1px;
    background-color: var(--burgundy);
    margin-top: 24px;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
}

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

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

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

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

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

.btn-light:hover {
    background-color: var(--blush);
    border-color: var(--blush);
}

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

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

.btn-full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background-color: rgba(253, 249, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: all 0.4s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.06);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}

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

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

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

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

.nav-cta {
    background-color: var(--burgundy) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    letter-spacing: 0.12em;
}

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

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

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(42, 27, 30, 0.55) 0%,
        rgba(92, 31, 44, 0.65) 50%,
        rgba(42, 27, 30, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 0 clamp(24px, 4vw, 48px);
}

.hero-greeting {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.hero-actions .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--burgundy);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

/* --- Services --- */
.services {
    padding: var(--section-padding) 0;
    background-color: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--line);
    border: 1px solid var(--line);
}

.service-card {
    background-color: var(--cream);
    padding: clamp(32px, 4vw, 56px);
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    background-color: var(--blush-light);
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--burgundy);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    opacity: 0.6;
}

.service-name {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 14px;
    color: var(--text-dark);
}

.service-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 380px;
}

/* --- About --- */
.about {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: clamp(400px, 50vw, 650px);
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 1px solid var(--burgundy);
    opacity: 0.2;
    pointer-events: none;
}

.about-content {
    padding: clamp(16px, 2vw, 32px) 0;
}

.about-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 28px;
}

.about-text {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 40px 0;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.detail-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 8px;
}

.detail-value {
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.7;
}

/* --- Gallery --- */
.gallery {
    padding: var(--section-padding) 0;
    background-color: var(--cream);
}

.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.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

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

/* --- Testimonials --- */
.testimonials {
    padding: var(--section-padding) 0;
    background-color: var(--blush);
}

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

.testimonial-card {
    background-color: var(--white);
    padding: clamp(28px, 3vw, 40px);
    border: 1px solid var(--line);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: var(--burgundy);
    box-shadow: 0 8px 40px rgba(123, 45, 59, 0.08);
}

.testimonial-quote {
    color: var(--burgundy);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* --- CTA --- */
.cta {
    position: relative;
    padding: clamp(80px, 12vw, 140px) 0;
    overflow: hidden;
}

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

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(92, 31, 44, 0.88) 0%,
        rgba(123, 45, 59, 0.82) 100%
    );
}

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

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

.cta-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

/* --- Contact --- */
.contact {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 16px;
}

.contact-text {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.7;
    transition: color 0.3s ease;
}

.contact-item svg {
    color: var(--burgundy);
    flex-shrink: 0;
    margin-top: 3px;
}

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

.contact-item a {
    color: inherit;
    transition: color 0.3s ease;
}

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

/* Form */
.contact-form-wrapper {
    background-color: var(--blush-light);
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--line);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--white);
    border: 1px solid var(--line);
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.3s ease;
    resize: vertical;
    border-radius: 0;
    -webkit-appearance: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-success {
    display: none;
    text-align: center;
    font-size: 0.88rem;
    color: var(--burgundy);
    padding: 16px;
    background-color: var(--blush);
    border: 1px solid var(--burgundy);
}

.form-success.visible {
    display: block;
}

/* --- Footer --- */
.footer {
    background-color: var(--text-dark);
    padding: clamp(48px, 6vw, 72px) 0 clamp(24px, 4vw, 32px);
}

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

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

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

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

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

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

/* --- Reveal Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: auto; }
    .gallery-item:nth-child(2) { grid-column: 2 / 3; grid-row: auto; }
    .gallery-item:nth-child(3) { grid-column: 1 / 2; grid-row: auto; }
    .gallery-item:nth-child(4) { grid-column: 2 / 3; grid-row: auto; }
    .gallery-item:nth-child(5) { grid-column: 1 / 3; grid-row: auto; }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background-color: rgba(253, 249, 247, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px clamp(24px, 4vw, 48px);
        gap: 24px;
        border-bottom: 1px solid var(--line);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 360px;
    }
    
    .about-details {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.9rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.72rem;
    }
}
