/*
Theme Name: EZ Builder Child
Theme URI: https://humblecode.de
Author: Humble Code
Description: -
Template: ez-builder-theme
Version: 1.0
Text Domain: ez
*/

/* ==========================================================================
   Base Styles
   ========================================================================== */

:root {
    --primary-blue: #0051a5;
    --secondary-blue: #2176c7;
    --accent-blue: #4a9fd8;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --text-color: #333333;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-logo img {
    height: 80px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.site-title a {
    color: var(--white);
    text-decoration: none;
}

.site-description {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-navigation {
    margin-top: 20px;
    width: 100%;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(rgba(0, 81, 165, 0.8), rgba(33, 118, 199, 0.8)),
                url('images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Home Page Hero */
.hero-home {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-blue) 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 100px 20px;
}

.hero-content-home {
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.club-badge-large {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    }
}

.badge-inner {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-location {
    font-size: 1.2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    font-size: 1rem;
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Content Area
   ========================================================================== */

.content-area {
    padding: 60px 0;
}

.site-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

article {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.entry-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    border-bottom: 3px solid var(--primary-blue);
}

.entry-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.entry-title a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--secondary-blue);
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
}

.entry-content {
    padding: 30px;
    line-height: 1.8;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 5px;
    border-left: 4px solid var(--primary-blue);
}

.widget-title {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: var(--primary-blue);
}

/* ==========================================================================
   Match Schedule / Results
   ========================================================================== */

.match-schedule {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 15px 0;
    background: var(--light-gray);
    border-radius: 5px;
    border-left: 5px solid var(--primary-blue);
}

.match-teams {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
}

.match-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin: 0 20px;
}

.match-date {
    color: #666;
    font-size: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-blue);
}

.club-info {
    line-height: 1.8;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (min-width: 768px) {
    .site-main.has-sidebar {
        grid-template-columns: 2fr 1fr;
    }
}

@media (max-width: 767px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .site-branding {
        flex-direction: column;
    }

    .main-navigation ul {
        justify-content: center;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .match-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title-hero {
        font-size: 2.5rem;
    }

    .page-title-simple {
        font-size: 2rem;
    }

    .content-page-article {
        padding: 30px 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

/* ==========================================================================
   Welcome Section
   ========================================================================== */

.welcome-section {
    padding: 80px 20px;
    background: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.text-center .title-underline {
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 81, 165, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 81, 165, 0.2);
    border-color: var(--accent-blue);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   News Section
   ========================================================================== */

.news-section {
    padding: 80px 20px;
    background: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 81, 165, 0.2);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.date-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    margin-bottom: 12px;
}

.news-category {
    display: inline-block;
    padding: 5px 12px;
    background: var(--accent-blue);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-title a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-blue);
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.news-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.news-link:hover {
    gap: 10px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Info Cards Section
   ========================================================================== */

.info-cards-section {
    padding: 80px 20px;
    background: var(--white);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.info-card-white {
    background: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--primary-blue);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 81, 165, 0.3);
}

.info-card-icon {
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-card-blue h3 {
    color: var(--white);
}

.info-card-white h3 {
    color: var(--primary-blue);
}

.info-card p {
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.95;
}

.info-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease;
}

.info-card-white .info-link {
    color: var(--primary-blue);
}

.info-link:hover {
    transform: translateX(5px);
}

/* ==========================================================================
   Page Templates
   ========================================================================== */

.page-hero {
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    position: relative;
    text-align: center;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-title-hero {
    font-size: 3.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

.page-content-section {
    padding: 80px 20px;
}

.content-page-article {
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.page-header-simple {
    text-align: center;
    margin-bottom: 50px;
}

.page-title-simple {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-content-wrapper {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

/* Keep Dashicons from inheriting the 1.9 content line-height */
.page-content-wrapper .dashicons,
.page-content-wrapper .dashicons:before,
.page-content-wrapper .dashicons-before:before {
    line-height: 1;
    vertical-align: middle;
}

.page-content-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-blue);
}

.page-content-wrapper h3 {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content-wrapper p {
    margin-bottom: 20px;
}

.page-content-wrapper ul,
.page-content-wrapper ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content-wrapper li {
    margin-bottom: 10px;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.team-colors {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--primary-blue) 50%, var(--white) 50%);
    border: 1px solid var(--border-color);
}
