/* Custom Properties (Variables) */
:root {
    --charcoal: #4d1f0d;
    --leather: #5c2e0e;
    --gold: #c5a059;
    --cream: #f5f5dc;
    --white: #ffffff;
    --light-grey: #e9e9e9;
    --overlay: rgba(0, 0, 0, 0.7);
}

/* Reset using specific tags instead of * */
html, body, div, span, h1, h2, h3, p, a, ul, li, nav, header, section, footer, button, img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.body-root {
    background: linear-gradient(-45deg, var(--cream), var(--light-grey), var(--cream));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--charcoal);
    line-height: 1.6;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Typography & Links */
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* Advertisement Banner */
.ad-banner {
    background-color: var(--light-grey);
    color: var(--charcoal);
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Header */
.main-header {
    background-color: var(--charcoal);
    color: var(--cream);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--cream);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

/* Buttons */
.btn-primary, .btn-gold {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--cream);
    color: var(--charcoal);
}

.btn-primary:hover {
    background-color: var(--gold);
    color: var(--white);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-gold:hover {
    background-color: var(--leather);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--cream);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--charcoal);
    z-index: 1000;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu {
    font-size: 2.5rem;
    color: var(--gold);
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 30px;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    color: var(--cream);
}

.mobile-nav-link:hover {
    color: var(--gold);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--leather);
    margin-bottom: 30px;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-product-img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.floating-animation {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Sections Common */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 30px;
}

.section-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #444;
}

.highlight-text {
    font-weight: bold;
    color: var(--leather);
}

/* Why Us Grid */
.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-heading {
    margin-bottom: 10px;
    color: var(--charcoal);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--charcoal);
    color: var(--cream);
}

.testimonials-section .section-title {
    color: var(--gold);
}

.testimonials-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.testimonial-card {
    background-color: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 500px;
    text-align: left;
}

.testimonial-avatar {
    background-color: var(--gold);
    color: var(--charcoal);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* FAQs */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 0;
    cursor: pointer;
    color: var(--charcoal);
    display: flex;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 200px;
}

.faq-text {
    padding-bottom: 15px;
    color: #555;
}

/* Footer */
.main-footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 50px 5% 20px 5%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-column {
    flex: 1;
}

.footer-heading {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-text, .footer-link, .footer-btn-link {
    color: var(--cream);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-link:hover, .footer-btn-link:hover {
    color: var(--gold);
}

.footer-btn-link {
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.footer-list {
    display: flex;
    flex-direction: column;
}

.footer-disclaimer {
    max-width: 1200px;
    margin: 30px auto 10px auto;
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* Modals */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    color: var(--charcoal);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--charcoal);
}

.modal-title {
    margin-bottom: 20px;
    color: var(--leather);
}

.modal-text {
    margin-bottom: 10px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--charcoal);
    color: var(--white);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-text {
    font-size: 0.9rem;
    max-width: 70%;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn.accept {
    background-color: var(--gold);
    color: var(--white);
}

.cookie-btn.reject {
    background-color: #555;
    color: var(--white);
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--charcoal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid var(--cream);
    border-top: 5px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Media Queries */
@media screen and (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .desktop-nav, .header-cta {
        display: none;
    }
    .hamburger-menu {
        display: flex;
    }
    .features-grid, .testimonials-grid, .footer-container {
        flex-direction: column;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .cookie-text {
        max-width: 100%;
    }
}