/* ============================================
   STUDIO23 — Beauty & Hair Salon
   Charcoal + Coral | Clean Minimalist
   ============================================ */

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

:root {
    --charcoal: #2a2a2a;
    --charcoal-deep: #1a1a1a;
    --charcoal-light: #3d3d3d;
    --coral: #F97583;
    --coral-light: #FFA0AA;
    --coral-dark: #E05A6A;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --cream: #F5F3F0;
    --gray-100: #F7F7F7;
    --gray-200: #E8E8E8;
    --gray-300: #D1D1D1;
    --gray-400: #A0A0A0;
    --gray-500: #6B6B6B;
    --gray-600: #4A4A4A;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 var(--gray-200);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--white);
    transition: color 0.4s;
}

.navbar.scrolled .nav-brand {
    color: var(--charcoal);
}

.nav-brand-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--coral);
    line-height: 1;
}

.nav-brand-name {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    transition: color 0.4s;
}

.navbar.scrolled .nav-link {
    color: var(--charcoal);
}

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

.nav-link:hover::after,
.nav-link:focus-visible::after {
    width: 100%;
}

.nav-link--cta {
    color: var(--coral);
    border: 1px solid var(--coral);
    padding: 0.5rem 1.25rem;
    transition: background 0.3s, color 0.3s;
}

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

.nav-link--cta:hover {
    background: var(--coral);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--white);
    transition: background 0.3s, transform 0.4s var(--ease-out);
    transform-origin: center;
}

.navbar.scrolled .hamburger {
    background: var(--charcoal);
}

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

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    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(
        135deg,
        rgba(26, 26, 26, 0.82) 0%,
        rgba(42, 42, 42, 0.70) 50%,
        rgba(26, 26, 26, 0.78) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

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

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

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    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, var(--coral), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    text-decoration: none;
}

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

.btn--primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 117, 131, 0.3);
}

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

.btn--outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

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

.btn--coral:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 117, 131, 0.3);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.2;
}

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

/* ============================================
   INTRO STRIP
   ============================================ */
.intro-strip {
    padding: 5rem 0;
    background: var(--white);
}

.intro-strip-inner {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.intro-divider {
    flex-shrink: 0;
    width: 1px;
    height: 60px;
    background: var(--coral);
    margin-top: 0.5rem;
}

.intro-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--charcoal);
    max-width: 780px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 7rem 0;
    background: var(--off-white);
}

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

.service-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.service-card-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.4s;
}

.service-card:hover .service-card-number {
    color: var(--coral);
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.service-card-desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.service-card-line {
    width: 30px;
    height: 1px;
    background: var(--coral);
    transition: width 0.4s var(--ease-out);
}

.service-card:hover .service-card-line {
    width: 50px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 7rem 0;
    background: var(--charcoal-deep);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(249, 117, 131, 0.06);
    pointer-events: none;
}

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--coral);
    opacity: 0.4;
    pointer-events: none;
}

.about-content {
    padding: 1rem 0;
}

.about-body {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--coral);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 7rem 0;
    background: var(--white);
}

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

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

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

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

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

.gallery-item--tall img {
    height: 100%;
    min-height: 500px;
}

.gallery-item--wide {
    grid-column: span 8;
}

.gallery-item--wide img {
    height: 250px;
}

/* ============================================
   TESTIMONIAL STRIP
   ============================================ */
.testimonial-strip {
    padding: 6rem 0;
    background: var(--charcoal);
}

.testimonial-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    margin: 0 auto 2rem;
    opacity: 0.6;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 2rem;
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
}

.testimonial-location {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 7rem 0;
    background: var(--charcoal-deep);
    position: relative;
}

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

.contact-info {
    padding: 1rem 0;
}

.contact-body {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--coral);
}

.contact-detail-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.3rem;
}

.contact-detail-value {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1.6;
}

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

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

/* Form */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.6rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--white);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

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

.form-select {
    cursor: pointer;
}

.form-select option {
    background: var(--charcoal);
    color: var(--white);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(249, 117, 131, 0.1);
    border: 1px solid rgba(249, 117, 131, 0.25);
    color: var(--coral);
    font-size: 0.85rem;
    font-weight: 400;
}

.form-success svg {
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 0;
    background: var(--charcoal-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-mark {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--coral);
}

.footer-name {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.7;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s;
}

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

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.nav-overlay {
    display: none;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@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);
    }

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

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

    .about-grid {
        gap: 3rem;
    }

    .gallery-item--tall {
        grid-column: span 6;
    }

    .gallery-item--tall img {
        min-height: 350px;
    }

    .gallery-item--wide {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--charcoal-deep);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease-out), visibility 0.4s;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 0.9rem;
        color: var(--white) !important;
    }

    .nav-toggle {
        display: flex;
    }

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

    .intro-strip-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .intro-divider {
        width: 40px;
        height: 1px;
        margin-top: 0;
    }

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

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

    .about-image-wrap {
        order: -1;
    }

    .about-image-wrap img {
        height: 350px;
    }

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

    .gallery-item--tall {
        grid-column: span 1;
    }

    .gallery-item--tall img {
        min-height: 300px;
    }

    .gallery-item--wide {
        grid-column: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrap {
        padding: 2rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-inner {
        padding: 1.25rem 1.25rem;
    }

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

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

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

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