/* =========================================================================
   De Natura Aesthetics - Premium Design System
   ========================================================================= */

/* CSS Variables */
:root {
    /* Color Palette - Premium Soft Gold & Deep Green Aesthetic */
    --primary: #1F3F34; /* Deep, calming green */
    --primary-light: #2A5A4A;
    --secondary: #D4AF37; /* Soft gold */
    --secondary-light: #F3E5AB;
    --accent: #E8D3B9; /* Peach/Beige accent */
    
    /* Backgrounds & Text */
    --bg-color: #FAFAF8; /* Premium off-white */
    --bg-surface: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Effects */
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Layout */
    --max-width: 1200px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Button Component */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

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

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: #e5be3c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
}

.logo-text small {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--secondary);
    text-transform: uppercase;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
}

/* ── Mobile Responsive Navigation ── */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-container .btn {
        display: none;
    }

    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 1.5rem 2rem 2rem;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        width: 100%;
        color: var(--text-main) !important;
    }

    .nav-links a::after {
        display: none;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static !important;
        display: none;
        box-shadow: none !important;
        background: rgba(0,0,0,0.03) !important;
        border-radius: 8px !important;
        padding: 0.5rem 1rem !important;
        margin-top: 0.3rem;
        min-width: unset !important;
    }

    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 1.5rem 3rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid, .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    gap: 4rem;
}

/* Background Soft Gradients */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(31, 63, 52, 0.05), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: 600px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(31, 63, 52, 0.15);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.trust-badge {
    position: absolute;
    bottom: 50px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
}

.trust-badge i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.trust-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.trust-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Services Overview */
.services-overview {
    background-color: var(--bg-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-card {
    background: var(--bg-color);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: white;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.service-list {
    margin-bottom: 2.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    font-weight: 500;
}

.service-list i {
    color: var(--secondary);
    font-weight: bold;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    box-shadow: 10px 10px 0 var(--secondary);
}

.features-list {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-item i {
    font-size: 3rem;
    color: var(--secondary);
}

.feature-item h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
}

/* Reviews Section */
.reviews-section {
    background-color: var(--bg-surface);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.review-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.review-stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-author strong {
    color: var(--primary);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%231F3F34" width="100" height="100"/></svg>') no-repeat center center/cover;
    position: relative;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05); /* Glass over dark */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background-color: #11221C; /* Darker green */
    color: white;
    padding: 5rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto 4rem;
}

.footer-brand .logo-text {
    color: white;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .hero-image-wrapper {
        justify-content: center;
        width: 100%;
        margin-top: 2rem;
    }
    .trust-badge {
        left: 0;
        bottom: 20px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        padding: 2rem;
        box-shadow: var(--shadow-soft);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .navbar .btn {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cta-container {
        padding: 2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
}

/* Custom Logo Styling */
.custom-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.custom-logo .logo-icon {
    width: 38px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-logo .logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.custom-logo .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.custom-logo .logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.custom-logo .logo-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-top: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Hero Slider */
.hero { position: relative; overflow: hidden; background: none; }
.hero-content { position: relative; z-index: 2; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: fade 14s infinite; z-index: 0; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)); }
.slide-1 { background-image: url('../assets/hero.png'); animation-delay: 0s; }
.slide-2 { background-image: url('../assets/hero_hair.png'); animation-delay: 7s; }
@keyframes fade { 0%, 45% { opacity: 1; transform: scale(1.05); } 50%, 95% { opacity: 0; transform: scale(1); } 100% { opacity: 1; transform: scale(1.05); } }

/* Dropdown Menu */
.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); min-width: 250px; box-shadow: var(--shadow-soft); z-index: 30; border-radius: 12px; top: 100%; left: 0; padding: 0.5rem 0; }
.dropdown:hover .dropdown-content { display: block; animation: dropIn 0.2s ease forwards; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-content a { color: var(--text-color); padding: 12px 20px; text-decoration: none; display: block; font-size: 0.95rem; font-weight: 500; border-bottom: 1px solid rgba(0,0,0,0.05); }
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background-color: var(--primary); color: white; padding-left: 25px; transition: all 0.2s; }
.nav-links { display: flex; align-items: center; } /* Quick fix for flex alignment */

/* Marquee Slider */
.marquee-wrapper { overflow: hidden; width: 100%; padding: 2rem 0; margin-top: 2rem; }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: scrollMarquee 35s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 1rem)); } }
.marquee-item { width: 320px; height: 250px; flex-shrink: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); position: relative; cursor: pointer; transition: transform 0.3s; }
.marquee-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-strong); }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.marquee-item:hover img { transform: scale(1.1); }
.marquee-item h4 { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem 1rem 1rem; background: linear-gradient(transparent, rgba(31,63,52,0.9)); color: white; margin: 0; font-family: 'Playfair Display', serif; font-size: 1.5rem; text-align: left; }

/* Hero Nav Contrast Fix */
.navbar.hero-nav:not(.scrolled) .nav-links > a,
.navbar.hero-nav:not(.scrolled) .dropbtn {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.navbar.hero-nav:not(.scrolled) .nav-links > a:hover,
.navbar.hero-nav:not(.scrolled) .nav-links > a.active {
    color: var(--secondary);
}
.navbar.hero-nav:not(.scrolled) .dropdown-content a {
    color: var(--text-main);
    text-shadow: none;
}
.navbar.hero-nav:not(.scrolled) .dropdown-content a:hover {
    color: white;
}
/* Marquee Manual Controls */
.marquee-controls {
    display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem;
}
.marquee-btn {
    background: var(--primary); color: white; border: none; width: 45px; height: 45px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; box-shadow: var(--shadow-hover); z-index: 10;
}
.marquee-btn:hover { background: var(--secondary); transform: scale(1.1); }

.marquee-wrapper.interactive {
    overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none;
}
.marquee-wrapper.interactive::-webkit-scrollbar { display: none; }
.marquee-track.interactive {
    animation: none; /* Disable CSS animation */
}

/* ── WhatsApp Floating Action Button ── */
.wa-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #25D366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.55);
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}
.wa-fab img {
    width: 30px;
    height: 30px;
}
.wa-fab:hover {
    transform: scale(1.13);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.75);
}
@media (max-width: 768px) {
    .wa-fab {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }
    .wa-fab img {
        width: 26px;
        height: 26px;
    }
}
