/* Global Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
button,
input {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

/* Variables */
:root {
    --color-primary: #5D4037;
    /* Premium Dark Brown */
    --color-secondary: #8D6E63;
    /* Lighter Brown */
    --color-bg-light: #F9F7F2;
    /* Cream White */
    --color-bg-white: #FFFFFF;
    --color-text-main: #1A1A1A;
    --color-text-light: #F5F5F5;
    --color-accent: #A1887F;
    --font-stack: 'Outfit', sans-serif;
    --spacing-container: 2rem;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

.section {
    padding: 5rem 0;
}

/* Advertisement Banner Top */
.ad-banner-top {
    background-color: #f0f0f0;
    color: #666;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.ad-text {
    font-weight: 500;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.loader-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(93, 64, 55, 0.3);
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.site-header {
    background-color: var(--color-bg-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }

    .desktop-nav .nav-list {
        display: flex;
        gap: 2rem;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-main);
}

.nav-link:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: none;
    /* Hidden on mobile initially, shown on desktop */
}

@media (min-width: 768px) {
    .cta-button {
        display: inline-block;
    }
}

.cta-button:hover {
    background-color: var(--color-secondary);
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
}

@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 75%;
    height: 100%;
    background-color: var(--color-bg-white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.4s ease;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-primary);
    cursor: pointer;
    margin-bottom: 2rem;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.mobile-cta-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 1rem;
}

/* Hero Section */
.hero-section {
    padding: 3rem 0;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column-reverse;
    /* Image on top mobile, text bottom */
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        gap: 4rem;
        padding: 4rem var(--spacing-container);
    }

    .hero-content {
        flex: 1;
        text-align: left;
    }

    .hero-image-wrapper {
        flex: 1;
    }
}

.hero-content {
    text-align: center;
    padding: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(93, 64, 55, 0.3);
}

.hero-cta:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.hero-image {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: perspective(1000px) rotateY(0deg);
}

/* About Section */
.about-section {
    background-color: var(--color-bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 0 auto;
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .about-image-wrapper,
    .about-text-wrapper {
        flex: 1;
    }
}

.about-image {
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}

.about-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.about-text {
    margin-bottom: 1rem;
    color: #444;
}

/* Why Us */
.why-us-section {
    background-color: var(--color-bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--color-bg-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.95rem;
    color: #666;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--color-bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--color-bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #444;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.stars {
    color: #FBC02D;
}

/* FAQ */
.faq-section {
    background-color: var(--color-bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-bg-white);
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-main);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 200px;
}

/* Return Policy */
.return-policy-section {
    background-color: #fff;
    border-top: 1px solid #eee;
}

.return-policy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.policy-text {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 4rem 0 1rem;
}

.footer-container {
    padding: 0 var(--spacing-container);
}

.footer-ad-disclaimer {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 3rem;
    border-left: 3px solid var(--color-primary);
}

.footer-ad-disclaimer p {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-bg-light);
}

.footer-text {
    color: #aaa;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

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

.footer-link {
    color: #aaa;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
    color: #777;
    font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--color-bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(150%);
    transition: transform 0.5s ease;
    border: 1px solid #eee;
}

@media (min-width: 768px) {
    .cookie-banner {
        width: 400px;
        left: 20px;
        right: auto;
    }
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.cookie-btn.accept {
    background-color: var(--color-primary);
    color: #fff;
}

.cookie-btn.reject {
    background-color: #eee;
    color: #333;
}

.cookie-btn:hover {
    opacity: 0.9;
}

/* Helper for disabling scroll when menu open */
body.no-scroll {
    overflow: hidden;
}

/* Modal Styling */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    /* Black with opacity */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.modal h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.modal-body p {
    margin-bottom: 0.8rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}