/* Global Variables */
:root {
    --primary-color: #4A2C2A; /* Dark Brown/Cherry */
    --secondary-color: #F9F9F7; /* Off-white background */
    --accent-color: #D4A373; /* Lighter brown/gold accent */
    --text-color: #1A1A1A; /* Almost black */
    --white-color: #FFFFFF;
    --black-color: #000000;
    --light-gray: #E0E0E0;
    --transition-speed: 0.3s;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Reset & Base Styles - No universal selector used as requested */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family:inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--black-color);
}

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all var(--transition-speed);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

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

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

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

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid rgba(74, 44, 42, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header & Nav */
.ad-banner {
    background-color: var(--black-color);
    color: var(--white-color);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1001;
}

.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 20px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.nav-close, .mobile-only, .nav-toggle {
    display: none;
}

/* Mobile Menu */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--white-color);
        width: 75%; /* Requested 75% width */
        height: 100vh; /* Full viewport height */
        flex-direction: column;
        justify-content: center;
        align-items: center; /* Center items */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease-in-out;
        z-index: 1002;
        padding: 40px;
        box-sizing: border-box;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 25px;
        right: 30px;
        font-size: 2rem;
        color: var(--primary-color);
        cursor: pointer;
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        margin: 5px 0;
        border-radius: 2px;
    }
    
    .mobile-only {
        display: block;
    }

    .nav-cta {
        display: none; /* Hide desktop CTA in header content, show in menu if needed or rely on mobile-only link */
    }
}

/* Hero Section */
.hero {
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards 0.5s;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.hero-badges {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(74, 44, 42, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft 1s ease-out forwards 0.8s;
}

.hero-image {
    max-width: 120%; /* Slightly larger for impact */
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    transform: rotate(-10deg);
}

.hero-image-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.2) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

@keyframes fadeLeft {
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        margin: 0 auto;
    }

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

    .hero-badges {
        justify-content: center;
    }
}

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

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.about-image {
    width: 100%;
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
}

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

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 10px;
}

.about-text {
    font-size: 1.05rem;
    color: #444;
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
    }
}

/* Why Us Section */
.why-us {
    background-color: var(--secondary-color);
}

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

.feature-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

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

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

.testimonial-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(74, 44, 42, 0.1);
    font-family: var(--font-heading);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--black-color);
}

.verified-badge {
    font-size: 0.8rem;
    color: #27ae60;
    margin-top: 5px;
}

/* FAQ */
.faq {
    background-color: var(--secondary-color);
}

.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    background-color: var(--white-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--black-color);
    transition: background-color 0.2s;
}

.accordion-header:hover {
    background-color: rgba(0,0,0,0.02);
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.accordion-content p {
    padding: 20px 0;
    margin: 0;
    color: #555;
}

/* Footer */
.footer {
    background-color: #2b1b1a; /* Very dark brown/black */
    color: #d1d1d1;
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    color: var(--white-color);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white-color);
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.ad-disclaimer {
    margin-bottom: 15px;
    color: #aaa;
    font-size: 0.8rem;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Modals */
.modal-overlay, .cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content, .cookie-modal {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlideUp 0.4s ease-out;
}

.cookie-modal {
    max-width: 500px;
    margin-top: auto;
    margin-bottom: 20px;
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: var(--black-color);
}

.cookie-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Helper Class to Show Modal */
.modal-overlay.active, .cookie-overlay.active {
    display: flex;
}
