/* ============================================
   Wing Chun Spider-Style Website
   Color Palette: Red, Black, White, Silver, Gold
   ============================================ */

:root {
    --primary-red: #dc2626;
    --dark-red: #991b1b;
    --black: #1f2937;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --gray: #9ca3af;
    --gold: #fbbf24;
    --silver: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
	background: url('../assets/images/backgrounds/WCSS-BG.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
	z-index: 0; /* Damit der Inhalt immer oben bleibt */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);

}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 4px solid var(--primary-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-red);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-link:hover {
    color: var(--primary-red);
}

.navbar-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-phone {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-phone:hover {
    color: var(--dark-red);
}

.contact-whatsapp img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.contact-whatsapp:hover img {
    transform: scale(1.1);
}

/* Mobile Navigation Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #1f2937 0%, #7f1d1d 50%, #1f2937 100%);
    color: var(--white);
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

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

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

/* ============================================
   CONTAINER & SECTIONS
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 20px;
}

section h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--black);
}

/* ============================================
   TRAINING SECTION
   ============================================ */

.training {
    background-color: var(--white);
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
}

.training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.training-times, .training-options {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.training-times h3, .training-options h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--black);
}

.time-card, .option-card {
    background-color: #c0c0c0;
    border-left: 4px solid var(--primary-red);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.time-card strong, .option-card strong {
    color: var(--black);
    display: block;
    margin-bottom: 5px;
}

.time-card p, .option-card p {
    color: var(--black);
    font-size: 14px;
}

.note {
    font-size: 13px;
    color: var(--gray);
    margin-top: 20px;
    font-style: italic;
}

/* Location Section */
.location-section {
    background-color: #fef2f2;
    border: 2px solid var(--silver);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
}

.location-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--black);
}

.location-section p {
    margin-bottom: 20px;
    color: var(--black);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--primary-red);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* WhatsApp Section */
.whatsapp-section {
    text-align: center;
    margin: 40px 0;
}

.whatsapp-section p {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--black);
}

.whatsapp-section img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.whatsapp-section a:hover img {
    transform: scale(1.1);
}

/* Video Section */
.video-section {
    margin: 60px 0;
}

.video-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--black);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid var(--primary-red);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   PRINCIPLES SECTION
   ============================================ */

.principles {
    background-color: var(--light-gray);
}

/* Grid für Principles ersetzen durch Spalten untereinander */
.principles-cards {
    display: flex;
    flex-direction: column; /* Boxen untereinander */
    gap: 40px;
    margin-bottom: 40px;
	text-align: center;
}

/* Principles Card */
.principles-card {
    background-color: var(--white);
    border: 2px solid var(--silver);
    border-left: 4px solid var(--primary-red);
    padding: 30px;
    border-radius: 8px;
    color: #222; /* dunklere Schrift */
}

.principles-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--black);
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    margin-bottom: 10px; /* enger als vorher */
    line-height: 1.6;
    color: #333; /* dunkler für besseren Kontrast */
}

.rules-list strong {
    color: var(--primary-red);
    display: block;
    margin-bottom: 5px;
}

/* Wisdom Card */
.wisdom-card {
    background-color: var(--white);
    border: 2px solid var(--silver);
    border-left: 4px solid var(--primary-red);
    padding: 30px;
    border-radius: 8px;
    color: #222;
}

/* Wisdom Header */
.wisdom-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--black);
}

/* Wisdom Grid ersetzen durch Flex-Spalten */
.wisdom-list {
    display: flex;
    flex-direction: column; /* Boxen untereinander */
    gap: 15px;
}

.wisdom-list p {
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
}

.wisdom-list strong {
    color: var(--primary-red);
}


/* ============================================
   FORMS SECTION
   ============================================ */

.forms {
    background-color: transparent;
}

.form-card {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-red);
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.form-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--black);
}

.chinese {
    color: var(--primary-red);
    font-size: 20px;
    margin-left: 10px;
}

.form-card > p {
    color: var(--black);
    margin-bottom: 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.video-grid h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--black);
}

/* ============================================
   HISTORY SECTION
   ============================================ */

.history {
    background-color: var(--light-gray);
}

.history-content {
    max-width: 900px;
    margin: 0 auto;
}

.text-block {
    background-color: var(--white);
    border: 2px solid var(--silver);
    border-left: 4px solid var(--primary-red);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.text-block p {
    color: var(--black);
    line-height: 1.8;
    margin-bottom: 15px;
}

.text-block h3 {
    font-size: 20px;
    color: var(--black);
    margin-bottom: 15px;
}

.text-block a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.text-block a:hover {
    text-decoration: underline;
}

.text-block.with-image {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    align-items: start;
}

.image-wrapper {
    display: flex;
    justify-content: center;
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--primary-red);
}

/* Expandable Text */
.expandable {
    position: relative;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-red);
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
    padding: 0;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--dark-red);
}

.read-more-btn::before {
    content: "▼ ";
    margin-right: 5px;
}

.read-more-btn.expanded::before {
    content: "▲ ";
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background-color: var(--white);
}

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

.contact-card {
    background-color: #fef2f2;
    border: 2px solid var(--primary-red);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.2);
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--black);
}

.contact-card a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--dark-red);
}

.cta-section {
    text-align: center;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--black);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--black);
    color: var(--white);
    border-top: 4px solid var(--primary-red);
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--gold);
}

.footer-section p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

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

.social-links a img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.1);
}

/* Footer Donation */
.footer-donation {
    text-align: center;
    border-top: 2px solid var(--primary-red);
    padding: 20px 0;
    margin-bottom: 20px;
}

.footer-donation p {
    color: var(--gray);
    margin-bottom: 10px;
}

.footer-donation img {
    height: 40px;
    width: auto;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    border-top: 2px solid var(--primary-red);
    padding-top: 20px;
    color: var(--gray);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-red);
    text-decoration: none;
    margin-left: 20px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}



/* Impressum Style */

.impressum {
            background-color: var(--light-gray);
        }

        .impressum h1 {
            font-size: 36px;
            text-align: center;
            margin-bottom: 50px;
            color: var(--black);
        }

        .impressum h2 {
            font-size: 24px;
            color: var(--primary-red);
            margin-bottom: 15px;
            margin-top: 0;
        }

        .impressum h3 {
            font-size: 18px;
            color: var(--black);
            margin-top: 20px;
            margin-bottom: 10px;
        }

        .back-link {
            text-align: center;
            margin-top: 50px;
        }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        border-bottom: 2px solid var(--primary-red);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        border-bottom: 1px solid var(--silver);
    }

    .navbar-menu a {
        display: block;
        padding: 15px 20px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-contact {
        display: none;
    }

    .hero {
        flex-direction: column;
        padding: 60px 20px;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .training-grid {
        grid-template-columns: 1fr;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .wisdom-grid {
        grid-template-columns: 1fr;
    }

    .text-block.with-image {
        grid-template-columns: 1fr;
    }

    .image-wrapper {
        order: -1;
    }

    section {
        padding: 50px 20px;
    }

    section h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}