/**
 * CSS für die Girls-Übersichtsseite
 */

/* Layout der Girls-Seite */
.girls-page {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

/* Filter-Bereich */
.filter-section {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.filter-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Filter-Formulare */
.filter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-inputs input {
    width: 100%;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--light-text);
}

.range-inputs span {
    color: var(--silver-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.filter-actions .btn {
    flex: 1;
    padding: 10px 15px;
    text-align: center;
}

/* Girls Grid */
.girls-grid {
    flex: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    animation: fadeIn 0.6s ease forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
    /*opacity: 0;*/
}

/* Animation-Order für Girls */
.gallery-grid .gallery-item:nth-child(1) { --animation-order: 1; }
.gallery-grid .gallery-item:nth-child(2) { --animation-order: 2; }
.gallery-grid .gallery-item:nth-child(3) { --animation-order: 3; }
.gallery-grid .gallery-item:nth-child(4) { --animation-order: 4; }
.gallery-grid .gallery-item:nth-child(5) { --animation-order: 5; }
.gallery-grid .gallery-item:nth-child(6) { --animation-order: 6; }
.gallery-grid .gallery-item:nth-child(7) { --animation-order: 7; }
.gallery-grid .gallery-item:nth-child(8) { --animation-order: 8; }
.gallery-grid .gallery-item:nth-child(9) { --animation-order: 9; }
.gallery-grid .gallery-item:nth-child(10) { --animation-order: 10; }
.gallery-grid .gallery-item:nth-child(11) { --animation-order: 11; }
.gallery-grid .gallery-item:nth-child(12) { --animation-order: 12; }

/* Featured Styles */
.gallery-item.featured {
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.3);
    animation: borderGlow 3s infinite;
}

/* Verfügbarkeits-Styles */
.gallery-item.available::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #4CAF50;
    z-index: 3;
    box-shadow: 0 0 10px #4CAF50;
    animation: pulse 2s infinite;
}

.gallery-item.unavailable::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 3;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.no-results p {
    font-size: 18px;
    color: var(--silver-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .girls-page {
        grid-template-columns: 1fr;
    }
    
    .filter-section {
        position: static;
        margin-bottom: 30px;
    }
    
    .filter-form {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .filter-form {
        display: flex;
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-item {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
