/* ================================
   Global Styles
================================== */
body {
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

/* ================================
   Navbar
================================== */
.navbar {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: none;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 20px;
    text-transform: uppercase;
}

/* Dropdown Hover (Desktop) */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease-in-out;
    }
}

/* ================================
   Dropdown Menu
================================== */
.dropdown-menu {
    background-color: #111;
    border: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    margin-top: 8px;
    border-radius: 6px;
    min-width: 200px;
}

.dropdown-menu .dropdown-item {
    color: #fff;
    padding: 10px 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #0C297A;
    color: #fff;
}

/* ================================
   Hero Section
================================== */
.hero-section {
    height: 100vh;
    background: url('https://muaythai-bund-nrw.de/wp-content/uploads/2023/06/AdobeStock_159259974-scaled.jpeg') center center / cover no-repeat fixed;
    position: relative;
    padding: 0 15px;
}

.hero-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.hero-logo {
    max-width: 220px;
    animation: pulse 3.5s infinite;
}

.scroll-indicator .mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
    animation: bounce 2s infinite;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    animation: scrollWheel 1.2s infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    50% { top: 16px; opacity: 0.5; }
    100% { top: 8px; opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}


.section-divider {
    height: 80px;
    background: linear-gradient(to bottom right, #232323 50%, transparent 50%);
    transform: rotate(180deg);
    margin-top: -40px;
}


/* ================================
   Subhero Section
================================== */

.sub-hero {
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.9); /* Fallback */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.sub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
    z-index: 1;
}

.sub-hero > .container {
    position: relative;
    z-index: 2;
}

.sub-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.sub-hero p.lead {
    font-size: 1rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}


/* ================================
   Next Section
================================== */
#next-section {
    padding: 80px 20px;
    background-color: #232323;
    text-align: center;
}

#next-section h2 {
    font-weight: 700;
}

/* ================================
   Animations
================================== */
@keyframes fadeInDown {
    0% {
        transform: translateY(-40px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideWords {
    0%   { top: 0; }
    25%  { top: 0; }
    35%  { top: -1.2em; }
    60%  { top: -1.2em; }
    70%  { top: 0; }
    100% { top: 0; }
}

/* ================================
   Event Panel
================================== */
.event-panel {
    position: relative;
    margin-top: -90px;
    z-index: 10;
}

@media (max-width: 768px) {
    .event-panel {
        margin-top: -60px;
    }
}

.event-box {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ================================
   Benefits Section
================================== */
.benefits-section {
    position: relative;
    background: url('https://muaythai-bund-nrw.de/wp-content/uploads/2023/06/AdobeStock_527133039-scaled.jpeg') center center / cover no-repeat;
    padding: 100px 0;
    z-index: 1;
    overflow: hidden;
}

.benefits-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.benefits-section .container {
    z-index: 2;
    position: relative;
}

.benefits-section .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 3px solid #0C297A;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 40px;
}

.benefits-section ul li {
    margin-bottom: 12px;
    font-weight: 500;
    padding-left: 1.2em;
    position: relative;
}

.benefits-section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0C297A;
    font-weight: bold;
}

@media (max-width: 767.98px) {
    .benefits-section .section-title {
        font-size: 1.8rem;
    }

    .benefits-section ul {
        padding-left: 0;
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.headline-bg-text {
    display: block;
    font-size: 1.8rem;
    color: #0C297A;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.headline-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0C297A, #174ea6);
    border-radius: 2px;
    margin-top: 10px;
    animation: underlineGrow 1.2s ease-out;
}

@keyframes underlineGrow {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}


/* ================================
   Vereine Section
================================== */
.vereine-section {
    padding: 80px 20px;
    background-color: #232323;
    text-align: center;
}
#vereine-map .leaflet-control-zoom {
    right: 10px;
    bottom: 40px;
}
.vereine-map-header {
    padding-top: 40px;
    padding-bottom: 20px;
    color: #fff;
}
.vereine-map-header::before {
    content: "";
    background: url('/assets/img/nrw-schatten.svg') center no-repeat;
    background-size: 160px;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.05;
    width: 160px;
    height: 160px;
    z-index: 0;
}
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.vereine-map-header h2 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.headline-bg-text {
    display: block;
    font-size: 1.8rem;
    color: #0C297A;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.headline-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0C297A, #174ea6);
    border-radius: 2px;
    margin-top: 10px;
    animation: underlineGrow 1.2s ease-out;
}

@keyframes underlineGrow {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

.vereine-map-header p {
    margin-top: 10px;
    color: #ccc;
}


/* ================================
   Scroll to Top Button (Eckig)
================================== */
.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: none;
    padding: 0.6rem 0.9rem;
    font-size: 1.2rem;
    background-color: #0C297A; /* Deine Primärfarbe */
    color: #fff;
    border-radius: 0.375rem; /* Bootstrap rounded-md */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    border: none;
}

.btn-scroll-top i {
    margin-right: 4px;
    font-size: 1.1rem;
}

.btn-scroll-top:hover {
    background-color: #0a2163;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ================================
   Partner Section
================================== */
.footer-partner-box {
    background: #f8f9fa;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.partner-logo-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Slider für mobile Ansicht */
.partner-slider-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.partner-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.partner-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    min-width: max-content;
}

/* ================================
   Slide-Wort Animation
================================== */
.slide-container {
    display: inline-block;
    overflow: hidden;
    height: 1em;
    vertical-align: bottom;
    width: auto;
    position: relative;
}

#slide-word {
    display: inline-block;
    position: relative;
    animation: slideWords 6s infinite;
    white-space: nowrap;
}

/* ================================
   Content Container Shadow
================================== */
.content-container {
    position: relative;
    padding-top: 2%;
}
