/* 
 * FKK Point Bruchsal - Services Page Styles
 * Extends the main styles with services-specific styling
 */

/* Services Hero Section */
.services-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/services-hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Accounts for fixed header */
}

.services-hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 30px;
}

.services-hero h1 {
    font-size: 3.5rem;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    color: var(--white);
}

.services-hero p {
    font-size: 1.5rem;
    color: var(--light-gold);
    max-width: 800px;
    margin: 0 auto;
}

/* Background circles for services hero */
.services-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;
}

.services-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;
}

/* Main Services Section */
.main-services {
    background-color: var(--white);
    color: var(--black);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background circles for main services */
.main-services::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(209, 10, 16, 0.05);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: 1;
}

.main-services::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    bottom: -150px;
    left: -100px;
    z-index: 1;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Service Card */
.service-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-red);
    text-align: center;
}

.service-card p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.service-card ul {
    text-align: left;
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--gray);
}

.service-card ul li {
    margin-bottom: 8px;
    position: relative;
}

.service-link {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
}

.service-link::after {
    content: ' →';
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--gold);
}

.service-link:hover::after {
    margin-left: 5px;
}

/* Extra Services Section */
.extra-services {
    background-color: var(--black);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background circles for extra services */
.extra-services::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: rgba(209, 10, 16, 0.1);
    border-radius: 50%;
    top: -175px;
    left: -175px;
    z-index: 1;
}

.extra-services::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    bottom: -125px;
    right: -125px;
    z-index: 1;
}

/* Extra Services Grid */
.extra-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Extra Service Card */
.extra-service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.extra-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.extra-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.extra-service-card p {
    color: var(--light-gray);
    margin-bottom: 20px;
    flex: 1;
}

/* Services Prices Section */
.services-prices {
    background-color: var(--light-gray);
    color: var(--black);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background circles for services prices */
.services-prices::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(209, 10, 16, 0.05);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    z-index: 1;
}

/* Prices Grid */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Price Card */
.price-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%;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.price-header {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    padding: 20px;
    color: var(--white);
    text-align: center;
}

.price-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.price-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 10px;
}

.price-period {
    color: var(--gray);
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
}

.price-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.price-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--gray);
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.price-card .cta-button {
    margin-top: auto;
}

/* Opening Hours Section */
.opening-hours {
    background-color: var(--white);
    color: var(--black);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background circles for opening hours */
.opening-hours::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;
}

/* Hours Grid */
.hours-grid {
    max-width: 600px;
    margin: 40px auto;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.hours-day:last-child {
    border-bottom: none;
}

.hours-day span:first-child {
    font-weight: 600;
    color: var(--primary-red);
}

.hours-note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: var(--gray);
    position: relative;
    z-index: 2;
}

/* Booking Hint Section */
.booking-hint {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Background circles for booking hint */
.booking-hint::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: 1;
}

.booking-hint::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -150px;
    left: -100px;
    z-index: 1;
}

.booking-hint h2 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.booking-hint p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.booking-hint .cta-button {
    background-color: var(--white);
    color: var(--primary-red);
    border: none;
    position: relative;
    z-index: 2;
}

.booking-hint .cta-button:hover {
    background-color: var(--gold);
    color: var(--black);
}

/* Loading state */
.loading {
    text-align: center;
    padding: 50px 0;
    color: var(--gray);
}

.loading::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(209, 10, 16, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-red);
    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) {
    .main-services,
    .extra-services,
    .services-prices,
    .opening-hours,
    .booking-hint {
        padding: 80px 0;
    }
    
    .services-grid,
    .extra-services-grid,
    .prices-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .services-hero h1 {
        font-size: 3rem;
    }
    
    .services-hero p {
        font-size: 1.3rem;
    }
    
    .main-services,
    .extra-services,
    .services-prices,
    .opening-hours,
    .booking-hint {
        padding: 60px 0;
    }
    
    .service-card,
    .extra-service-card,
    .price-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        min-height: 300px;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero p {
        font-size: 1.1rem;
    }
    
    .main-services,
    .extra-services,
    .services-prices,
    .opening-hours,
    .booking-hint {
        padding: 50px 0;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 25px;
    }
    
    .service-card h3,
    .extra-service-card h3,
    .price-header h3 {
        font-size: 1.3rem;
    }
    
    .hours-day {
        flex-direction: column;
        text-align: center;
    }
    
    .hours-day span:first-child {
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .extra-services-grid,
    .prices-grid {
        grid-template-columns: 1fr;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .booking-hint p {
        font-size: 1rem;
    }
}