/* ============================================
   Beauty Bar Salon and Spa — Styles
   Classic & Elegant | Forest Green + Off-White
   ============================================ */

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

:root {
    --color-forest: #1a3c2a;
    --color-forest-deep: #0f2519;
    --color-forest-light: #2d5a3f;
    --color-forest-muted: #3d7a54;
    --color-off-white: #f5f0e8;
    --color-cream: #faf7f2;
    --color-warm-white: #fefdfb;
    --color-sage: #8fa898;
    --color-sage-light: #b8c5bc;
    --color-gold: #c9a96e;
    --color-gold-light: #d4b87a;
    --color-text-dark: #1a1a1a;
    --color-text-medium: #3d3d3d;
    --color-text-light: #6b6b6b;
    --color-text-on-dark: #f5f0e8;
    --color-border: rgba(26, 60, 42, 0.12);
    --color-border-light: rgba(26, 60, 42, 0.06);

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;

    --nav-height: 80px;
    --container-max: 1200px;
    --container-padding: 24px;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-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 var(--container-padding);
}

/* ——— Typography ——— */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 560px;
    line-height: 1.8;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ——— Buttons ——— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-forest);
    color: var(--color-text-on-dark);
}

.btn-primary:hover {
    background-color: var(--color-forest-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(26, 60, 42, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-cream);
    border: 1px solid rgba(245, 240, 232, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(245, 240, 232, 0.1);
    border-color: rgba(245, 240, 232, 0.7);
}

.btn-large {
    padding: 20px 48px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* ——— Navigation ——— */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all var(--transition-medium);
}

.nav.scrolled {
    background-color: rgba(245, 240, 232, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav.scrolled .nav-logo-text {
    color: var(--color-forest);
}

.nav.scrolled .nav-link {
    color: var(--color-text-medium);
}

.nav.scrolled .nav-link:hover {
    color: var(--color-forest);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo-icon {
    font-size: 1.2rem;
    color: var(--color-gold);
    transition: color var(--transition-fast);
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-cream);
    letter-spacing: 0.02em;
    transition: color var(--transition-medium);
}

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

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.85);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

.nav-link:hover {
    color: var(--color-cream);
}

.nav-cta {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-forest);
    background-color: var(--color-gold);
    padding: 12px 24px;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-1px);
}

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

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--color-cream);
    transition: all var(--transition-fast);
}

.nav.scrolled .nav-toggle-bar {
    background-color: var(--color-forest);
}

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

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

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

/* ——— Hero Section ——— */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    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(15, 37, 25, 0.82) 0%,
        rgba(26, 60, 42, 0.72) 50%,
        rgba(15, 37, 25, 0.85) 100%
    );
    z-index: 1;
}

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

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

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    color: var(--color-cream);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline br {
    display: none;
}

.hero-subheadline {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(245, 240, 232, 0.8);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
}

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

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

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

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

/* ——— Services Section ——— */
.services {
    padding: 120px 0;
    background-color: var(--color-cream);
}

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

.service-card {
    background-color: var(--color-warm-white);
    padding: 48px 36px;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-medium);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-forest), var(--color-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 60, 42, 0.08);
    border-color: var(--color-border);
}

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

.service-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-forest);
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ——— About Section ——— */
.about {
    padding: 120px 0;
    background-color: var(--color-off-white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    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(--color-gold);
    z-index: -1;
}

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

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

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

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-forest);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.stat-divider {
    width: 1px;
    background-color: var(--color-border);
    align-self: stretch;
}

/* ——— Gallery Section ——— */
.gallery {
    padding: 120px 0;
    background-color: var(--color-cream);
}

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

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

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

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

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

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

.gallery-item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-cream);
}

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

/* ——— Testimonials Section ——— */
.testimonials {
    padding: 120px 0;
    background-color: var(--color-forest);
}

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

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

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

.testimonial-card {
    background-color: rgba(245, 240, 232, 0.05);
    border: 1px solid rgba(245, 240, 232, 0.08);
    padding: 48px 36px;
    position: relative;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-gold);
    position: absolute;
    top: 24px;
    left: 32px;
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(245, 240, 232, 0.85);
    line-height: 1.9;
    margin-bottom: 28px;
    font-style: italic;
    padding-top: 20px;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* ——— Contact Section ——— */
.contact {
    padding: 120px 0;
    background-color: var(--color-cream);
}

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

.contact-description {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    color: var(--color-forest);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.6;
}

.contact-link {
    color: var(--color-forest);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

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

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--color-warm-white);
    border: 1px solid var(--color-border-light);
    padding: 48px;
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-forest);
    margin-bottom: 32px;
}

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

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

.form-input {
    width: 100%;
    padding: 14px 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    outline: none;
    transition: border-color var(--transition-fast);
    -webkit-appearance: none;
    border-radius: 0;
}

.form-input::placeholder {
    color: var(--color-sage);
}

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

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

.form-select-wrapper {
    position: relative;
}

.form-select-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--color-forest);
    pointer-events: none;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

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

.success-icon {
    color: var(--color-forest);
    margin-bottom: 20px;
}

.success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-forest);
    margin-bottom: 12px;
}

.success-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ——— Map Section ——— */
.map-section {
    height: 400px;
    background-color: var(--color-off-white);
}

.map-section iframe {
    filter: grayscale(30%) contrast(1.05);
}

/* ——— Footer ——— */
.footer {
    background-color: var(--color-forest-deep);
    padding: 80px 0 0;
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    font-size: 1.2rem;
    color: var(--color-gold);
}

.footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-cream);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(245, 240, 232, 0.5);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color var(--transition-fast);
    letter-spacing: 0.05em;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(245, 240, 232, 0.6);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.35);
    letter-spacing: 0.05em;
}

/* ——— Scroll Reveal ——— */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

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

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

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-forest-deep);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: right var(--transition-medium);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu .nav-link {
        font-size: 1rem;
        color: rgba(245, 240, 232, 0.85);
    }

    .nav-menu .nav-cta {
        color: var(--color-forest-deep);
    }

    .hero-headline br {
        display: block;
    }

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

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

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

    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: 100%;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

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

    .gallery-item {
        height: 280px;
    }

    .gallery-item img {
        height: 100%;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

    .services,
    .about,
    .gallery,
    .testimonials,
    .contact {
        padding: 80px 0;
    }

    .service-card {
        padding: 36px 28px;
    }
}
