/* Base styles */
:root {
    --primary-bg: #1D1B2F;
    --secondary-bg: #2A2B3C;
    --accent-gold: #FDE68A;
    --accent-purple: #8B5CF6;
    --text-white: #FFFFFF;
    --text-light: #E5E7EB;
    --form-bg: #F3F4F6;
    --form-text: #000000;
}

/* Required styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
    opacity: 0.8;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container > h2, .container > p {
    text-align: center;
}

/* Button styles */
.btn {
    margin: auto;
    max-width: max-content;
    display: block;
    background-color: var(--accent-purple);
    color: var(--text-white);
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
}

/* Header */
header {
    background-color: var(--secondary-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text-white);
    font-size: 1.8rem;
    font-weight: 700;
}

/* Navigation */
.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: var(--text-white);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-10px);
}

.hamburger::after {
    transform: translateY(10px);
}

nav {
    transition: max-height 0.3s ease;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--text-white);
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(29, 27, 47, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Section styles */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent-gold);
}

section p {
    margin-bottom: 2rem;
}

/* Service section */
.services {
    background-color: var(--secondary-bg);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.service-card .btn {
    margin-top: 20px;
}

/* Benefits section */
.benefits {
    background-color: var(--primary-bg);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item h3 {
    color: var(--accent-gold);
    margin: 15px 0;
}

/* Why us section */
.why-us {
    background-color: var(--secondary-bg);
}

.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Testimonials */
.testimonials {
    background-color: var(--primary-bg);
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--accent-gold);
}

/* FAQ Section */
.faq {
    background-color: var(--secondary-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-checkbox {
    display: none;
}

.faq-question {
    display: block;
    padding: 15px 20px;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    color: var(--accent-gold);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-checkbox:checked ~ .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

/* Contact Form */
.contact {
    background-color: var(--primary-bg);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--form-bg);
    padding: 30px;
    border-radius: 15px;
    color: var(--form-text);
}

.form-container .checkbox-group label,
.form-container .checkbox-group label a {
    color: var(--form-text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

select.form-control option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    padding: 40px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-bg);
    color: var(--text-white);
    padding: 20px;
    border-radius: 10px;
    z-index: 9999;
    max-width: 90%;
    width: 400px;
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.accept-btn {
    background-color: var(--accent-purple);
    color: var(--text-white);
}

/* Thanks section */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Policy pages */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
}

.policy-content h2 {
    color: var(--accent-gold);
    margin: 30px 0 15px;
}

.policy-content h3 {
    color: var(--accent-purple);
    margin: 20px 0 10px;
}

.policy-content p, .policy-content ul {
    margin-bottom: 15px;
}

.policy-content ul {
    padding-left: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
    /* Header and navigation */
    .menu-toggle-label {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-bg);
        max-height: 0;
        overflow: hidden;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
    }

    /* Hero */
    .hero h1 {
        font-size: 2rem;
    }

    /* Grid layouts */
    .why-us-container {
        grid-template-columns: 1fr;
    }

    /* Cookie buttons */
    .cookie-buttons {
        flex-direction: column;
    }
    
    /* Thanks section */
    .thanks-section {
        height: auto;
    }
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}
