/**
 * Red Rabbit Club - VIP Seite Zusätzliche Stile
 * 
 * Ergänzende und animierte Stile für die VIP-Seite
 */

/* Paket Hover-Effekte */
.vip-package {
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.vip-package.package-hover,
.vip-package:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(230, 0, 0, 0.2);
}

/* Dynamische Paket-Hervorhebung */
.vip-package.popular::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        transparent, 
        rgba(230, 0, 0, 0.1), 
        transparent
    );
    transform: rotate(-45deg);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% {
        transform: rotate(-45deg) translateX(-100%);
    }
    100% {
        transform: rotate(-45deg) translateX(100%);
    }
}

/* Verbesserte FAQ-Animationen */
.faq-item {
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.faq-question {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(230, 0, 0, 0.1);
}

.faq-question.active {
    background-color: rgba(230, 0, 0, 0.2);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: 
        max-height 0.4s ease-out, 
        opacity 0.4s ease-out;
    opacity: 0;
}

.faq-question.active + .faq-answer {
    max-height: 500px; /* Ausreichend für Antworten */
    opacity: 1;
}

/* Galerie-Hover-Effekte */
.gallery-item {
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Animationen */
.lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform-origin: center;
    transition: all 0.4s ease;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--light);
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--primary);
}

/* Formular-Validierungs-Effekte */
.form-control.is-invalid {
    border-color: var(--danger);
    animation: shake 0.4s linear;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .vip-packages {
        grid-template-columns: 1fr;
    }
    
    .vip-intro {
        grid-template-columns: 1fr;
    }
}

/* Zusätzliche Hover-Effekte für Interaktionselemente */
.package-btn,
.btn {
    position: relative;
    overflow: hidden;
}

.package-btn::before,
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transition: all 0.6s ease;
}

.package-btn:hover::before,
.btn:hover::before {
    left: 100%;
}

/* Zusätzliche Nuancen für VIP-Bereiche */
.vip-highlight-item {
    transition: transform 0.3s ease;
}

.vip-highlight-item:hover {
    transform: translateY(-10px);
}

/* Interaktive Zustände hervorheben */
:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
/* 
 * CSS für VIP-Seite Hero-Bereich und Platzhalter-Bilder
 * Diese Styles in vip.css einfügen
 */

/* Hero-Bereich mit <img>-Element */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 60vh; /* Höhe relativ zum Viewport */
    overflow: hidden;
}

/* Container für das Hintergrundbild */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Eigentliches Hintergrundbild mit object-fit */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wichtig: Bild abdeckend skalieren */
    object-position: center; /* Bildposition zentrieren */
}

/* Hero Content über dem Hintergrundbild */
.hero-content {
    position: relative;
    z-index: 2; /* Über dem Hintergrundbild anzeigen */
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

/* Dunkler Overlay für besseren Kontrast zum Text */
.hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dunkler Overlay */
    z-index: 1;
}

/* VIP-spezifische Hero-Styles */
.page-hero .hero-content h1 span {
    color: #ffc107; /* Gold-Akzent für VIP */
}

/* VIP Intro-Bild */
.vip-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Platzhalter für fehlende Gallery-Bilder */
.gallery-image.placeholder {
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
}

.gallery-image.placeholder::before {
    content: "\f03e"; /* Font Awesome Icon für Bild */
    font-family: "Font Awesome 5 Free";
    font-size: 3rem;
    color: #444;
}

/* Für die Platzhalter-Variante */
.page-hero.placeholder .hero-bg {
    background-color: #1a1a1a;
}

.page-hero.placeholder .hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #1a1a1a, #333, #1a1a1a);
    z-index: 0;
}

/* Responsive Anpassungen für mobile Geräte */
@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh; /* Kleinere Höhe auf Mobilgeräten */
    }
    
    .vip-intro-image {
        margin-top: 2rem;
    }
}