/* CSS Reset and Variables - Clean approach without * selector */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #d3a778;
    --accent-color: #f7ede2;
    --text-color: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --bg-color: #fafafa;
    --ad-bg: #ffebee;
    --ad-text: #c62828;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body.body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1.logo-text, h2.section-title, h3.feature-title, h3.faq-question, h4.footer-title, p.hero-description, p.section-text, p.feature-text, p.testimonial-text, p.faq-answer, p.footer-text, p.copyright-text {
    margin: 0;
}

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

div.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

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

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

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

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

/* Top Ad Banner */
div.top-ad-banner {
    background-color: var(--ad-bg);
    color: var(--ad-text);
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

p.top-ad-text {
    margin: 0;
}

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

div.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a.logo-link {
    text-decoration: none;
    color: var(--primary-color);
}

h1.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

button.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

span.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

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

button.close-menu {
    display: none;
}

ul.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

li.nav-item {
    padding: 0;
    margin: 0;
}

a.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

a.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

a.cta-button:hover {
    background-color: #c0915d;
    transform: translateY(-2px);
}

a.nav-cta {
    margin-left: 30px;
}

/* Main Content */
main.main-content {
    min-height: calc(100vh - 300px);
}

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

/* Hero Section */
section.hero-section {
    background-color: var(--accent-color);
    padding: 60px 20px;
}

div.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

div.hero-text-content {
    flex: 1;
}

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

p.hero-description {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

ul.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

li.hero-feature-item {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

div.hero-image-content {
    flex: 1;
}

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

/* Generic Section Styles */
div.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

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

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

div.about-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

img.about-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

div.about-text-wrapper {
    flex: 1;
}

p.section-text {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

div.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

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

img.feature-icon-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

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

p.feature-text {
    color: var(--light-text);
}

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

div.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

div.testimonial-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

div.stars {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p.testimonial-text {
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

p.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

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

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

div.faq-item {
    border-bottom: 1px solid #eee;
    padding: 25px 0;
}

h3.faq-question {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

p.faq-answer {
    color: var(--light-text);
    line-height: 1.7;
}

/* Return Policy Section */
section.return-policy-section {
    background-color: var(--bg-color);
    border-top: 1px solid #eaeaea;
}

div.return-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Footer Section */
footer.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

div.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

h4.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

p.footer-text {
    margin-bottom: 10px;
    color: #cccccc;
    font-size: 0.95rem;
}

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

li.footer-link-item {
    margin-bottom: 10px;
}

a.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

div.footer-ad-note {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 15px;
    background-color: rgba(255,255,255,0.05);
    border-left: 4px solid var(--secondary-color);
}

p.footer-ad-text {
    font-size: 0.85rem;
    color: #aaaaaa;
    margin: 0;
    font-weight: 500;
}

div.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

p.copyright-text {
    color: #888888;
    font-size: 0.9rem;
}

/* Cookie Popup */
div.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

div.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

h3.cookie-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

p.cookie-text {
    margin: 0;
    color: var(--light-text);
    font-size: 0.9rem;
    flex: 1;
}

div.cookie-buttons {
    display: flex;
    gap: 15px;
}

button.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

button.accept-btn {
    background-color: var(--secondary-color);
    color: var(--white);
}

button.accept-btn:hover {
    background-color: #c0915d;
}

button.reject-btn {
    background-color: #eeeeee;
    color: var(--text-color);
}

button.reject-btn:hover {
    background-color: #dddddd;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    div.hero-container, div.about-grid {
        flex-direction: column;
    }
    
    div.hero-text-content {
        text-align: center;
    }
    
    div.features-grid, div.testimonials-grid, div.footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    div.cookie-container {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    button.hamburger-menu {
        display: block;
    }
    
    nav.nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1001;
    }
    
    nav.nav-menu.active {
        right: 0;
    }
    
    button.close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 2.5rem;
        color: var(--primary-color);
        cursor: pointer;
    }
    
    ul.nav-list {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 30px;
    }
    
    a.nav-cta {
        margin-left: 0;
    }
    
    div.features-grid, div.testimonials-grid, div.footer-columns {
        grid-template-columns: 1fr;
    }
    
    h2.hero-heading {
        font-size: 2.2rem;
    }
    
    img.feature-icon-img {
        height: auto;
    }
}
