/* ========================================
   Mbm Beauty Co — Classic & Elegant Styles
   Forest Green + Off-White Palette
======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-forest-dark: #1A3C34;
    --color-forest: #2D5A4B;
    --color-forest-light: #3D7A63;
    --color-forest-muted: #5A8F7A;
    --color-cream: #FAF8F5;
    --color-warm-white: #F5F0EB;
    --color-sand: #EDE6DD;
    --color-text-dark: #1A2E28;
    --color-text-body: #3D4F48;
    --color-text-muted: #6B7F76;
    --color-gold: #C4A265;
    --color-gold-light: #D4B87A;
    --color-white: #FFFFFF;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 3px rgba(26, 60, 52, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 60, 52, 0.10);
    --shadow-lg: 0 8px 32px rgba(26, 60, 52, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 60, 52, 0.14);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--color-forest-dark);
    border-color: var(--color-forest-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-forest-dark);
    border-color: var(--color-white);
}

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

.btn-dark:hover {
    background-color: var(--color-forest);
    border-color: var(--color-forest);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* ---------- Section Tags ---------- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: var(--space-sm);
    color: var(--color-forest-dark);
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

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

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 60, 52, 0.08);
    transition: all var(--transition);
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-forest-dark);
    letter-spacing: 0.02em;
}

.logo-accent {
    font-weight: 600;
    color: var(--color-forest);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--color-text-body);
    position: relative;
}

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

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

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

.nav-cta {
    background-color: var(--color-forest);
    color: var(--color-white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase;
    font-size: 0.8125rem !important;
}

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

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

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-forest-dark);
    padding: 0.5rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #1A3C34 0%,
        #2D5A4B 25%,
        #3D7A63 50%,
        #5A8F7A 75%,
        #2D5A4B 100%
    );
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/23349891/pexels-photo-23349891.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26, 60, 52, 0.88) 0%,
        rgba(45, 90, 75, 0.82) 50%,
        rgba(26, 60, 52, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

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

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

.hero-description {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.hero-address {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.03em;
}

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

.hero-scroll svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    transition: all var(--transition);
    border: 1px solid rgba(26, 60, 52, 0.06);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(45, 90, 75, 0.15);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-light) 100%);
    border-radius: 50%;
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-forest-dark);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* ---------- About ---------- */
.about {
    padding: var(--space-2xl) 0;
    background-color: var(--color-warm-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-images {
    position: relative;
    min-height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--color-warm-white);
}

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

.about-accent {
    position: absolute;
    top: 40%;
    left: 60%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}

.about-content {
    padding: var(--space-md) 0;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--color-text-body);
    line-height: 1.85;
    margin-bottom: var(--space-sm);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    font-weight: 400;
}

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

/* ---------- Gallery ---------- */
.gallery {
    padding: var(--space-2xl) 0 var(--space-lg);
    background-color: var(--color-cream);
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: auto;
}

.gallery-item:nth-child(1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(2) { aspect-ratio: 4/3; }
.gallery-item:nth-child(3) { aspect-ratio: 4/5; }
.gallery-item:nth-child(4) { aspect-ratio: 4/3; }
.gallery-item:nth-child(5) { aspect-ratio: 4/5; }
.gallery-item:nth-child(6) { aspect-ratio: 4/3; }

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

/* ---------- Testimonial ---------- */
.testimonial {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--color-forest-dark) 0%, var(--color-forest) 100%);
    text-align: center;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-mark {
    color: var(--color-gold);
    margin-bottom: var(--space-md);
    opacity: 0.7;
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    color: var(--color-white);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.testimonial-source {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-2xl) 0;
    background-color: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background-color: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(26, 60, 52, 0.06);
    transition: all var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 90, 75, 0.15);
}

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

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-forest-dark);
}

.contact-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-card a {
    color: var(--color-forest);
    font-weight: 700;
}

.contact-card a:hover {
    color: var(--color-forest-dark);
}

.hours-note {
    font-size: 0.8125rem !important;
    font-style: italic;
    color: var(--color-text-muted) !important;
}

.contact-cta {
    margin-top: var(--space-sm);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 450px;
    border: 1px solid rgba(26, 60, 52, 0.06);
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--color-forest-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand .logo {
    color: var(--color-white);
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.75;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
}

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

/* ---------- Mobile Menu Overlay ---------- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(26, 60, 52, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        z-index: 999;
        transition: right var(--transition);
        box-shadow: var(--shadow-xl);
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav a {
        font-size: 1.125rem;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 8vw, 2.75rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        min-height: 400px;
        margin-bottom: var(--space-md);
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        min-height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(even) {
        aspect-ratio: 4/3;
    }
    
    .gallery-item:nth-child(odd) {
        aspect-ratio: 4/3;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .hero-scroll svg {
        animation: none;
    }
}
