/* Color Palette Variables */
:root {
    --sunset-orange: #fd5e53;
    --solar-yellow: #f9d71c;
    --cool-sky-blue: #87ceeb;
    --leaf-green: #4273ae;
    --header-brown: #b36b14;
    --dark-footer: #1a1a1a;
    --white: #ffffff;
    --text-dark: #333333;
    --light-bg: #f4f4f4;
}

/* General Reset & Typography */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    /* Animated Gradient Background */
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid var(--solar-yellow);
    border-top: 5px solid var(--sunset-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--header-brown);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Advertisement Banner */
.ad-banner {
    background-color: var(--light-bg);
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
    border-bottom: 1px solid #ddd;
}

.ad-text {
    color: #666;
}

/* Header */
.main-header {
    background-color: var(--header-brown);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.brand-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--solar-yellow);
}

.cta-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shop-btn {
    background-color: var(--solar-yellow);
    color: var(--header-brown);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
}

.shop-btn:hover {
    transform: scale(1.05);
    background-color: var(--white);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background-color: var(--white);
    z-index: 2000;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-content {
    padding: 20px;
}

.close-icon-wrapper {
    text-align: right;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--header-brown);
    margin-bottom: 30px;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    margin-bottom: 20px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-heading {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--header-brown);
}

.hero-subheading {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-btn {
    display: inline-block;
    background-color: var(--sunset-orange);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(253, 94, 83, 0.4);
}

.hero-btn:hover {
    background-color: #e04a40;
    transform: translateY(-3px);
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* Image Float Animation */
    animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Sections Common */
section {
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--header-brown);
}

/* About Section */
.about-section {
    background-color: var(--white);
    text-align: center;
}

.section-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* Why Us Section */
.why-us-section {
    background-color: #fafafa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--leaf-green);
    margin-bottom: 20px;
}

.feature-title {
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--cool-sky-blue);
    background-opacity: 0.1; /* Note: requires rgba background for opacity */
    background: linear-gradient(to bottom, #e3f2fd, #ffffff);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background-color: var(--sunset-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.customer-name {
    font-weight: bold;
    color: var(--header-brown);
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-question {
    font-size: 1.3rem;
    color: var(--header-brown);
    margin-bottom: 10px;
}

/* Footer */
.main-footer {
    background-color: var(--dark-footer);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    margin-bottom: 20px;
    color: var(--solar-yellow);
}

.footer-text, .footer-link, .footer-link-contact {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover, .footer-link-contact:hover {
    color: var(--solar-yellow);
}

.footer-btn {
    background: none;
    border: 1px solid #ccc;
    color: #ccc;
    padding: 8px 15px;
    margin-bottom: 10px;
    cursor: pointer;
    display: block;
    width: fit-content;
    transition: all 0.3s;
}

.footer-btn:hover {
    border-color: var(--solar-yellow);
    color: var(--solar-yellow);
}

.disclaimer-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #777;
    text-align: center;
}

.copyright-section {
    text-align: center;
    padding-top: 10px;
    font-size: 0.9rem;
    color: #999;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 5000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-title {
    color: var(--header-brown);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--solar-yellow);
    display: inline-block;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 4000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--header-brown);
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

.cookie-btn.accept {
    background-color: var(--leaf-green);
    color: var(--white);
}

.cookie-btn.reject {
    background-color: #ddd;
    color: #333;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-heading {
        font-size: 2.5rem;
    }
    
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        justify-content: center;
    }
}