/**
 * Red Rabbit Club - Ambiente Seite Zusätzliche Stile
 * 
 * Ergänzende und animierte Stile für die Ambiente-Seite
 */

/* Erweiterte Animationen für Sektionen */
.ambiente-intro,
.gallery-section,
.club-features-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ambiente-intro.animate,
.gallery-section.animate,
.club-features-section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Dynamische Hover-Effekte für Galerie-Elemente */
.gallery-item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.gallery-item::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);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Interaktive Kategoriefilter */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 15px;
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 0);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--light);
}

/* Club Features Animation */
.club-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.club-feature {
    transition: all 0.4s ease;
    will-change: transform, background-color;
}

.club-feature:hover {
    transform: translateY(-15px);
    background-color: rgba(230, 0, 0, 0.1);
}

.club-feature .feature-icon {
    transition: transform 0.3s ease;
}

.club-feature:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
}

/* CTA Sektion Zusatzeffekte */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::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);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.cta-section:hover::before {
    opacity: 1;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .club-features {
        grid-template-columns: 1fr;
    }
}

/* Zusätzliche Interaktivitäts-Effekte */
.interactive-element {
    transition: all 0.3s ease;
    cursor: pointer;
}

.interactive-element:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(230, 0, 0, 0.2);
}

/* Scroll-Animationen */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}
/* 
 * CSS für Platzhalterbilder
 * Hinzufügen zu ambiente.css 
 */

/* 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;
}

/* Hero-Platzhalter, wenn Bild fehlt */
.page-hero.placeholder {
    background-color: #1a1a1a;
    position: relative;
}

.page-hero.placeholder::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #1a1a1a, #333, #1a1a1a);
    opacity: 0.5;
}
.page-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

.hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
/* Lightbox Stile für ambiente.css */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.lightbox-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-height: 70vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.lightbox-caption {
    padding: 15px 10px 5px;
    color: #fff;
    text-align: center;
}

.lightbox-caption h3 {
    margin-bottom: 8px;
    color: var(--primary);
}

.lightbox-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1001;
}

.lightbox-prev,
.lightbox-next {
    background-color: rgba(20, 20, 20, 0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 15px;
    z-index: 1002;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
        padding: 10px;
    }
    
    .lightbox-image {
        max-height: 60vh;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 35px;
        height: 35px;
    }
    
    .lightbox-counter {
        font-size: 12px;
    }
}