/*
 * ====================================================================
 * AWAYGUESTS LANDING PAGE STYLES (awayguests_bl1_bs5.twig)
 * ====================================================================
 * Styles für die Auswärtsfahrer Landing Page
 */

/* Content Wrapper */
.awayguests-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Awayguests Hero Section */
.awayguests-hero {
    background-image: linear-gradient(135deg, var(--fm-dark) 0%, var(--fm-red) 100%);
    min-height: 400px;
}

/* Zuschauer-Statistik Hero */
.zuschauer-hero {
    background-image: linear-gradient(135deg, var(--fm-dark) 0%, var(--fm-blue) 100%);
    min-height: 400px;
}

/* Strafen Hero */
.strafen-hero {
    background-image: linear-gradient(135deg, #1a1a2e 0%, #8b0000 100%);
    min-height: 400px;
}

/* News Hero */
.news-hero {
    background-image: linear-gradient(135deg, var(--fm-dark) 0%, #2c3e50 100%);
    min-height: 400px;
}

/* Fankultur Hero */
.fankultur-hero {
    background-image: linear-gradient(135deg, var(--fm-dark) 0%, #1b5e20 100%);
    min-height: 400px;
}

/* Shop Hero */
.shop-hero {
    background-image: linear-gradient(135deg, var(--fm-dark) 0%, #b8860b 100%);
    min-height: 400px;
}

/* Vereine Hero */
.vereine-hero {
    min-height: 400px;
}

.hero-description {
    display: inline-block;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.4em 0.9em;
    border-radius: 6px;
    font-size: 1.1rem;
    color: var(--fm-white);
    margin-top: 0.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Category Sections */
.category-section {
    margin-bottom: 3rem;
}

.category-title {
    color: var(--fm-text-primary);
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--fm-gold);
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--fm-blue);
}

.category-title i {
    color: var(--fm-gold);
    font-size: 1.25rem;
}

/* Feature Cards */
.feature-card {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.feature-card:hover .card-image {
    transform: scale(1.05);
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    transition: background 0.4s ease;
}

.feature-card:hover .card-overlay {
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

/* Card Content */
.card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    z-index: 2;
}

.card-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.feature-card:hover .card-title {
    opacity: 0;
    transform: translateY(-10px);
}

.card-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    line-height: 1.4;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.feature-card:hover .card-description {
    opacity: 0;
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    color: var(--fm-gold);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease 0.1s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.feature-card:hover .card-icon {
    opacity: 1;
    transform: scale(1);
}

/* Card Link */
.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    text-decoration: none;
}

/* CTA Section */
.cta-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.cta-section .alert {
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, rgba(66, 139, 202, 0.1) 0%, rgba(66, 139, 202, 0.05) 100%);
    box-shadow: 0 4px 15px rgba(66, 139, 202, 0.1);
}

.cta-section .alert-heading {
    color: var(--fm-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

/* Alert Styling */
.alert-info {
    background-color: rgba(66, 139, 202, 0.1);
    border: 2px solid var(--fm-blue);
    color: var(--fm-text-primary);
    border-radius: 12px;
}

.alert-info .alert-heading {
    color: var(--fm-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Button Styling */
.btn-outline-primary {
    border-color: var(--fm-blue);
    color: var(--fm-blue);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--fm-blue);
    border-color: var(--fm-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 139, 202, 0.3);
}

/* Responsive Anpassungen */
@media (max-width: 1399px) {
    .awayguests-content-wrapper {
        padding: 1.5rem 0.75rem;
    }
}

@media (max-width: 1199px) {
    .awayguests-content-wrapper {
        padding: 1.5rem 0.75rem;
    }
    
    .feature-card {
        height: 260px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 991px) {
    .awayguests-content-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .feature-card {
        height: 240px;
    }
    
    .card-content {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .awayguests-content-wrapper {
        padding: 1rem 0.25rem;
    }
    
    .awayguests-hero {
        min-height: 350px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-top: 0.75rem;
    }
    
    .feature-card {
        height: 220px;
        margin-bottom: 1rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .card-description {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .card-icon {
        font-size: 1.5rem;
    }
    
    .category-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .category-section {
        margin-bottom: 2rem;
    }
    
    .cta-section .row {
        text-align: center;
    }
    
    .cta-section .btn {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .awayguests-content-wrapper {
        padding: 0.75rem 0.125rem;
    }
    
    .awayguests-hero {
        min-height: 300px;
    }
    
    .feature-card {
        height: 200px;
    }
    
    .card-content {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .card-description {
        font-size: 0.85rem;
        display: none; /* Hide on very small screens for cleaner look */
    }
    
    .card-icon {
        font-size: 1.25rem;
    }
    
    .category-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .category-title::after {
        width: 40px;
    }
    
    .alert-info {
        padding: 1rem;
    }
    
    .cta-section .alert-heading {
        font-size: 1rem;
    }
}

/* Hover Effects for Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .feature-card:hover .card-image {
        transform: none;
    }

    .feature-card .card-title,
    .feature-card .card-description {
        opacity: 1;
        transform: none;
    }

    .feature-card .card-icon {
        opacity: 0;
    }
    
    .btn-outline-primary:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .awayguests-content-wrapper {
        max-width: none;
        padding: 0;
    }
    
    .awayguests-hero {
        background: none;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .feature-card {
        break-inside: avoid;
        height: auto;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
        box-shadow: none;
    }
    
    .card-overlay {
        display: none;
    }
    
    .card-content {
        position: static;
        color: black;
        padding: 1rem;
    }
    
    .card-title,
    .card-description {
        color: black;
        text-shadow: none;
    }
    
    .card-description,
    .card-icon {
        opacity: 1;
        transform: none;
    }
    
    .alert,
    .btn {
        border: 1px solid #ccc;
    }
    
    .cta-section .btn {
        display: none;
    }
}