/* 
 * FKK Point Bruchsal - About Page Styles
 * Extends the main styles with about-specific styling
 */

/* About Hero Section */
.about-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/about-hero.webp') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Accounts for fixed header */
}

.about-hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 30px;
}

.about-hero h1 {
    font-size: 3.5rem;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    color: var(--white);
}

.about-hero p {
    font-size: 1.5rem;
    color: var(--light-gold);
    max-width: 800px;
    margin: 0 auto;
}

/* Background circles for about hero */
.about-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: var(--primary-red);
    border-radius: 50%;
    opacity: 0.1;
    top: -100px;
    left: -100px;
    z-index: 1;
}

.about-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--gold);
    border-radius: 50%;
    opacity: 0.1;
    bottom: -100px;
    right: -50px;
    z-index: 1;
}

/* Section styles */
.about-history,
.about-values,
.about-team-intro,
.about-facilities,
.about-testimonials {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-history {
    background-color: var(--white);
    color: var(--black);
}

.about-values {
    background-color: var(--black);
    color: var(--white);
}

.about-team-intro {
    background-color: var(--light-gray);
    color: var(--black);
}

.about-facilities {
    background-color: var(--white);
    color: var(--black);
}

.about-testimonials {
    background-color: var(--black);
    color: var(--white);
}

/* Background circles for sections */
.about-history::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(209, 10, 16, 0.05);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    z-index: 1;
}

.about-history::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    z-index: 1;
}

.about-values::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: rgba(209, 10, 16, 0.1);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    z-index: 1;
}

.about-values::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    z-index: 1;
}

.about-facilities::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(209, 10, 16, 0.05);
    border-radius: 50%;
    bottom: -150px;
    right: -100px;
    z-index: 1;
}

/* Specific components */
.about-text {
    position: relative;
    z-index: 2;
}

.about-text h2 {
    color: var(--primary-red);
}

.about-text p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--gray);
}

.about-image {
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.value-card {
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.value-card p {
    color: var(--light-gray);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Girls preview */
.girls-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.girl-preview {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.girl-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.girl-preview-image {
    /*height: 300px;*/
    overflow: hidden;
}

.girl-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.girl-preview:hover .girl-preview-image img {
    transform: scale(1.1);
}

.girl-preview h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin: 15px 0 5px;
}

.girl-preview p {
    color: var(--gray);
    margin-bottom: 15px;
}

.view-all-link {
    text-align: center;
    margin-top: 40px;
}

/* Facilities */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.facility-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.facility-card:hover img {
    transform: scale(1.1);
}

.facility-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: var(--primary-red);
}

.facility-card p {
    padding: 0 20px 20px;
    color: var(--gray);
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: var(--gold);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    z-index: 1;
    padding-left: 30px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--gold);
    font-size: 1.1rem;
    text-align: right;
}

/* Loading state for dynamic content */
.loading {
    text-align: center;
    padding: 30px;
    color: var(--gold);
}

.loading::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .about-history, 
    .about-values, 
    .about-team-intro, 
    .about-facilities, 
    .about-testimonials {
        padding: 80px 0;
    }
}

@media (max-width: 992px) {
    .about-hero h1 {
        font-size: 3rem;
    }
    
    .about-hero p {
        font-size: 1.3rem;
    }
    
    .about-history, 
    .about-values, 
    .about-team-intro, 
    .about-facilities, 
    .about-testimonials {
        padding: 60px 0;
    }
    
    .facilities-grid,
    .girls-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 300px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .about-history, 
    .about-values, 
    .about-team-intro, 
    .about-facilities, 
    .about-testimonials {
        padding: 50px 0;
    }
    
    .values-grid,
    .facilities-grid,
    .girls-preview-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .facility-card img {
        height: 180px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .testimonial-card p {
        font-size: 1rem;
    }
}