/* Variables for requested color theme */
:root {
    --color-charcoal: #144270;
    --color-charcoal-dark: #1E2124;
    --color-brown: #5C3A21;
    --color-gold: #D4AF37;
    --color-cream: #FFFDD0;
    --color-white: #FFFFFF;
    --color-black: #000000;
}

/* Base resets without using the * selector */
html, body, div, span, h1, h2, h3, h4, p, a, ul, li, img, button, nav, header, footer, section {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.html-root {
    scroll-behavior: smooth;
}

.body-root {
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    overflow-x: hidden;
}

/* Animated Gradient Background */
.animated-bg {
    background: linear-gradient(-45deg, var(--color-cream), #f5f0db, #eae3c8, var(--color-cream));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Top Ad Bar */
.top-ad-bar {
    background-color: var(--color-charcoal-dark);
    text-align: center;
    padding: 8px;
}

.top-ad-text {
    color: var(--color-white);
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Header */
.main-header {
    background-color: var(--color-charcoal);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo-text {
    color: var(--color-gold);
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-cream);
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-gold);
}

/* Buttons */
.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-charcoal-dark);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    border: 2px solid var(--color-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-gold);
}

.btn-secondary {
    background-color: transparent;
    color: #D4AF37;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    border: 2px solid var(--color-charcoal);
    cursor: pointer;
    transition: all 0.3s ease;
}

.text-btn {
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.hamburger-btn, .close-menu-btn {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 28px;
    cursor: pointer;
    display: none;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-title {
    font-size: 48px;
    color: var(--color-charcoal-dark);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-brown);
    margin-bottom: 30px;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Original product image floating animation */
.float-animation {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Sections General */
.about-section, .features-section, .testimonials-section, .faq-section {
    padding: 60px 5%;
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: var(--color-brown);
    margin-bottom: 25px;
}

.section-text {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

.highlight-text {
    font-weight: bold;
    color: var(--color-charcoal);
}

/* Features Grid */
.features-grid, .testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-card, .testimonial-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover, .testimonial-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.feature-title {
    color: var(--color-charcoal-dark);
    margin-bottom: 10px;
}

.feature-text, .testimonial-text {
    color: var(--color-charcoal);
    line-height: 1.5;
}

/* Testimonials specific */
.testimonial-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px auto;
}

.testimonial-author {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: var(--color-brown);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: var(--color-white);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 5px;
    border-left: 5px solid var(--color-gold);
}

.faq-question {
    color: var(--color-charcoal-dark);
    margin-bottom: 10px;
}

.faq-answer {
    color: var(--color-charcoal);
    line-height: 1.5;
}

/* Footer */
.main-footer {
    background-color: var(--color-charcoal-dark);
    color: var(--color-white);
    padding: 50px 5% 20px 5%;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-heading {
    color: var(--color-gold);
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-text {
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-list {
    list-style: none;
}

.footer-list-item {
    margin-bottom: 10px;
}

.footer-link {
    color: var(--color-cream);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
}

.footer-link:hover {
    color: var(--color-gold);
}

.footer-disclaimer-box {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
    text-align: center;
    margin-bottom: 20px;
}

.footer-disclaimer-text {
    font-size: 11px;
    color: #999;
}

.footer-copyright {
    text-align: center;
}

/* Popups */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: var(--color-cream);
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    color: var(--color-charcoal);
}

.popup-title {
    color: var(--color-brown);
    margin-bottom: 20px;
}

.popup-text {
    margin-bottom: 10px;
    line-height: 1.5;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-charcoal);
}

/* Page Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-charcoal);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid var(--color-cream);
    border-top: 5px solid var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    color: var(--color-gold);
    font-size: 20px;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-charcoal-dark);
    color: var(--color-cream);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    font-size: 14px;
}

/* Responsive Design (Mobile) */
@media (max-width: 768px) {
    .header-btn {
        display: none; /* Hide standard shop btn on mobile header */
    }

    .hamburger-btn {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--color-charcoal-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-link {
        font-size: 22px;
    }

    .close-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 30px;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}