/* ============================================
   Nails By The B — Custom Styles
   Deep Navy + Warm Gold | Clean Minimalist
   ============================================ */

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

:root {
    --navy: #0a1628;
    --navy-light: #132240;
    --navy-mid: #1a2d4a;
    --gold: #b8860b;
    --gold-light: #d4a843;
    --gold-pale: #f5e6c8;
    --cream: #faf8f4;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #5a5a5a;
    --text-light: #8a8a8a;
    --line: rgba(10, 22, 40, 0.08);
    --line-dark: rgba(255, 255, 255, 0.08);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', 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-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 248, 244, 0.97);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.06);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.main-nav a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
}

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

.main-nav a:hover {
    color: var(--navy);
}

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

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--navy);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}

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

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

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

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

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 0.82rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Section shared
   ============================================ */
.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/7447131/pexels-photo-7447131.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    opacity: 0.35;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.7) 0%,
        rgba(10, 22, 40, 0.55) 50%,
        rgba(10, 22, 40, 0.8) 100%
    );
}

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

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ============================================
   Intro Strip
   ============================================ */
.intro-strip {
    padding: 5rem 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

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

.intro-text p {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.8;
}

.intro-text strong {
    color: var(--navy);
    font-weight: 500;
}

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

.services .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services .section-line {
    margin: 0 auto;
}

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

.service-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--line);
    transition: all var(--transition);
    position: relative;
    background: var(--white);
}

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

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 40px rgba(10, 22, 40, 0.08);
    transform: translateY(-4px);
}

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

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

.service-icon svg {
    stroke: var(--gold);
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

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

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

.about-image {
    position: relative;
}

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

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 1px solid var(--gold);
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: 1rem;
}

.about-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--navy);
}

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

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

.gallery .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery .section-line {
    margin: 0 auto;
}

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

.gallery-item {
    overflow: hidden;
    position: relative;
    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:nth-child(1) img,
.gallery-item:nth-child(3) img,
.gallery-item:nth-child(5) img {
    height: 500px;
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(4) img,
.gallery-item:nth-child(6) img {
    height: 300px;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0);
    transition: background var(--transition);
}

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

.gallery-item:hover::after {
    background: rgba(10, 22, 40, 0.15);
}

/* ============================================
   Experience Strip (CTA)
   ============================================ */
.experience-strip {
    padding: 7rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.experience-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(184, 134, 11, 0.1);
    border-radius: 50%;
}

.experience-strip::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(184, 134, 11, 0.08);
    border-radius: 50%;
}

.experience-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.experience-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.experience-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

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

/* ============================================
   Visit / Contact
   ============================================ */
.visit {
    padding: 7rem 0;
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.visit-info .section-title {
    margin-bottom: 1rem;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--gold);
}

.info-item strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.info-item span,
.info-item a {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
}

.info-item a:hover {
    color: var(--gold);
}

.map-container {
    border: 1px solid var(--line);
    overflow: hidden;
}

.map-container iframe {
    filter: grayscale(0.3);
}

/* Contact Form */
.visit-form-wrap {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--line);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--line);
    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(--gold);
}

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

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

.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.form-success svg {
    margin: 0 auto 1.5rem;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--navy);
    padding: 4rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line-dark);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

/* ============================================
   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);
    }
}

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

    .about-grid {
        gap: 3rem;
    }

    .about-image img {
        height: 500px;
    }

    .about-image::after {
        width: 40%;
        height: 40%;
        bottom: -15px;
        right: -15px;
    }
}

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

    /* Mobile nav */
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .main-nav .btn-gold {
        margin-top: 0.5rem;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

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

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

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 400px;
    }

    .about-image::after {
        display: none;
    }

    .about-stats {
        gap: 2rem;
    }

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

    .gallery-item:nth-child(1) img,
    .gallery-item:nth-child(3) img,
    .gallery-item:nth-child(5) img {
        height: 300px;
    }

    .gallery-item:nth-child(2) img,
    .gallery-item:nth-child(4) img,
    .gallery-item:nth-child(6) img {
        height: 200px;
    }

    /* Visit */
    .visit-grid {
        grid-template-columns: 1fr;
    }

    .visit-form-wrap {
        padding: 2rem;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .experience-actions {
        flex-direction: column;
        align-items: center;
    }

    .experience-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        height: 70px;
    }

    .main-nav {
        top: 70px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .intro-strip {
        padding: 3.5rem 0;
    }

    .services,
    .about,
    .gallery,
    .visit {
        padding: 4.5rem 0;
    }

    .experience-strip {
        padding: 4.5rem 0;
    }

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

    .gallery-item:nth-child(1) img,
    .gallery-item:nth-child(3) img,
    .gallery-item:nth-child(5) img {
        height: 350px;
    }

    .gallery-item:nth-child(2) img,
    .gallery-item:nth-child(4) img,
    .gallery-item:nth-child(6) img {
        height: 250px;
    }

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