/* CSS Variables */
:root {
    --primary-color: #8B4513;
    /* SaddleBrown */
    --secondary-color: #D2691E;
    /* Chocolate */
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --black: #000000;
    --modal-bg: rgba(0, 0, 0, 0.7);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* Reset & Base Styles (No Universal Selector) */
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,
textarea,
select {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

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

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.center-text {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
}

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

/* Ad Banner */
.ad-banner {
    background-color: var(--light-bg);
    color: var(--text-color);
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

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

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

.loader-content {
    text-align: center;
}

.loader-text {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-bg);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

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

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

.desktop-nav .nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
}

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

.header-cta {
    padding: 10px 25px;
    font-size: 14px;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 75%;
    height: 100%;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.close-menu {
    font-size: 30px;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: block;
}

.mobile-cta {
    display: block;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    margin-top: 20px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

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

.hero-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-direction: row-reverse;
}

.about-content {
    flex: 1;
}

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

.about-image {
    border-radius: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.section-text {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.stars {
    color: gold;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

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

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: #555;
    line-height: 1.6;
}

.faq-answer.show {
    display: block;
}

/* Footer */
.main-footer {
    background-color: #2c1e16;
    color: #eee;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: var(--white);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-text {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: #ccc;
}

.footer-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-disclaimer {
    background-color: #1a110d;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #aaa;
    text-align: center;
}

.footer-bottom {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    display: none;
    /* JS will toggle */
    z-index: 10000;
    max-width: 500px;
    margin: 0 auto;
}

.cookie-content {
    text-align: center;
}

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

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

.cookie-btn.reject {
    background-color: #ddd;
    color: var(--black);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--modal-bg);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    color: var(--text-color);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive Media Queries */
@media (max-width: 900px) {

    .hero-container,
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-container {
        flex-direction: column-reverse;
        /* Image on top on mobile */
    }

    .hero-content {
        margin-bottom: 40px;
    }
}

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

    .header-cta {
        display: none;
        /* Hide header CTA on mobile to save space */
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}