/* Color Theme Variables */
:root {
    --navy: #001F3F;
    --cream: #F5F5DC;
    --black: #111111;
    --white: #FFFFFF;
    --grey: #EEEEEE;
    --accent: #D4AF37;
}

/* Reset-like classes (No * selector) */
.body-reset {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-text {
    color: var(--cream);
    letter-spacing: 5px;
    font-size: 2rem;
    margin-bottom: 10px;
}

.loader-bar {
    height: 3px;
    width: 0;
    background-color: var(--accent);
    animation: load 1.5s infinite;
}

@keyframes load {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* Top Ad Bar */
.top-ad-bar {
    background-color: var(--grey);
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.ad-text {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

/* Header */
.main-header {
    background-color: var(--navy);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    color: var(--cream);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--accent);
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-cta-btn {
    background-color: var(--cream);
    color: var(--navy);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

/* Hamburger */
.hamburger-menu {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--cream);
    margin: 5px 0;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background-color: var(--navy);
    z-index: 2000;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-overlay.active {
    right: 0;
}

.mobile-menu-content {
    padding: 40px;
    position: relative;
}

.close-icon {
    font-size: 40px;
    color: var(--cream);
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 60px 0;
}

.mobile-nav-item {
    margin-bottom: 30px;
}

.mobile-nav-link {
    color: var(--cream);
    text-decoration: none;
    font-size: 20px;
    display: block;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-cta {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--navy);
    color: var(--cream);
    text-decoration: none;
    font-weight: bold;
    margin-top: 25px;
    border-radius: 5px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-cream {
    background-color: var(--cream);
}

.section-navy {
    background-color: var(--navy);
}

/* Update only this for the feedback section */
.testimonial-box .quote {
    color: var(--cream);
}

.testimonial-box .author {
    color: var(--cream);
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.text-navy {
    color: var(--navy);
}

.text-cream {
    color: var(--cream);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background-color: #f9f9f9;
    border-top: 4px solid var(--navy);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--black);
    color: var(--white);
    padding: 20px;
    z-index: 3000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-btn {
    padding: 8px 20px;
    margin-left: 10px;
    border: none;
    cursor: pointer;
}

.accept {
    background-color: var(--accent);
    color: var(--black);
}

.reject {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

/* Footer */
.main-footer {
    background-color: var(--black);
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-h {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--accent);
}

.f-link-list {
    list-style: none;
    padding: 0;
}

.footer-disclosure {
    border-top: 1px solid #333;
    padding: 20px 0;
    margin-top: 20px;
}

.disclosure-text {
    font-size: 13px;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
}

/* Impressum Modal */
.impressum-modal {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.impressum-modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.impressum-modal-title {
    color: var(--navy);
    margin-bottom: 20px;
    font-size: 28px;
}

.impressum-details p {
    color: var(--black);
    margin: 10px 0;
    line-height: 1.6;
}

.impressum-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.impressum-close:hover,
.impressum-close:focus {
    color: var(--navy);
}

.impressum-link {
    display: inline-block;
    cursor: pointer;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hero-title {
        font-size: 32px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btns {
        margin-top: 15px;
    }

    .impressum-modal-content {
        margin: 20% auto;
        padding: 30px;
        width: 95%;
    }

    .impressum-modal-title {
        font-size: 24px;
    }
}