/*
Theme Name: KG Südstädter Weiß-Gold
Theme URI: https://kg-suedstaedter.de
Author: KG Südstädter Weiß-Gold 1986 e.V.
Author URI: https://kg-suedstaedter.de
Description: Custom WordPress Theme für KG Südstädter Weiß-Gold 1986 e.V. - Ein modernes, responsives Theme in den Vereinsfarben Weiß und Gold.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kg-suedstaedter
Tags: custom, carnival, club, responsive, white, gold
*/

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

:root {
    --gold: #D4AF37;
    --gold-light: #F4E4B7;
    --gold-dark: #B8941E;
    --white: #FFFFFF;
    --dark: #1a1a1a;
    --gray: #666;
    --light-bg: #f8f8f8;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

/* Navigation */
nav {
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--gold);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    color: var(--gold-dark);
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover {
    color: var(--gold-dark);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay für bessere Lesbarkeit bei Hintergrundbild */
.hero[style*="background-image"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 175, 55, 0.7);
    z-index: 0;
}

/* Pattern nur wenn kein Hintergrundbild */
.hero:not([style*="background-image"])::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><text x="10" y="50" font-size="40" opacity="0.1">🎭</text></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--dark);
    color: var(--gold);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 0;
    font-weight: bold;
    transition: background 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: #2d2d2d;
}

/* Highlight Banner */
.highlight-banner {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    color: var(--white);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    border-top: 3px solid var(--gold-dark);
    border-bottom: 3px solid var(--gold-dark);
}

.highlight-banner span {
    color: var(--white);
}

/* Sections */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 2px;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: 0;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 4px solid var(--gold);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--gold-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--gray);
    line-height: 1.8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: var(--gold-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    background: var(--gold-light);
    padding: 1.5rem;
    border-radius: 0;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gold-dark);
}

.stat-label {
    color: var(--dark);
    font-weight: 500;
}

/* Events Section */
.events-bg {
    background: var(--light-bg);
}

/* Corps Section */
.corps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.corps-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.corps-header {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--black);
    padding: 2rem;
    text-align: center;
    font-size: 3rem;
}

.corps-header h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.corps-content {
    padding: 1.5rem;
}

.corps-content h3 {
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.corps-content p {
    color: var(--gray);
}

/* Calendar Cards */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.calendar-card {
    background: var(--white);
    display: flex;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--gold);
}

.calendar-date {
    background: var(--gold);
    color: var(--white);
    padding: 1.5rem 1rem;
    text-align: center;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.calendar-day {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.calendar-month {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.calendar-year {
    font-size: 0.9rem;
    opacity: 0.9;
}

.calendar-content {
    padding: 1.5rem;
    flex: 1;
}

.calendar-content h3 {
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.calendar-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.calendar-link {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: color 0.3s;
}

.calendar-link:hover {
    color: var(--gold);
}

/* Instagram Feed */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1;
    background: var(--gold-light);
    overflow: hidden;
    cursor: pointer;
}

.instagram-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--white) 100%);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--white);
    font-weight: bold;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    color: var(--dark);
    padding: 3rem 2rem 1rem;
    border-top: 3px solid var(--gold);
}

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

.footer-section h3 {
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--dark);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section a:hover {
    color: var(--gold-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-dark);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--gold-dark);
    color: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, white 0%, var(--gold-light) 100%);
        flex-direction: column;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 1rem 2rem;
        display: block;
        color: var(--dark);
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
    
    .nav-logo-img {
        width: 30px !important;
        height: 30px !important;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .calendar-card {
        flex-direction: column;
    }

    .calendar-date {
        min-width: 100%;
        padding: 1rem;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .calendar-day {
        font-size: 2rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
