/* ============================
   Gruppen & Events Page Styles
   ============================ */

/* Hero Section */
.ge-hero {
    position: relative;
    height: 65vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 8rem;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Background image with Ken Burns animation */
.ge-hero::after {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('../assets/Web_Quality/indisches-restaurant-sanjha-tadka-erfurt-gastraum.webp');
    background-size: cover;
    background-position: center 40%;
    z-index: 0;
    animation: geHeroKenBurns 25s ease-in-out infinite alternate, baseFadeIn 1.5s ease-in-out forwards;
    opacity: 0;
    will-change: transform;
}

@keyframes geHeroKenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08) translate(-1.5%, 1%);
    }
}

/* Overlay with subtle pulse */
.ge-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
    animation: geHeroPulse 6s ease-in-out infinite alternate, baseFadeIn 1.5s ease-in-out forwards;
    opacity: 0;
}

@keyframes geHeroPulse {
    0% {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.55) 100%);
    }

    100% {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.20) 60%, rgba(0, 0, 0, 0.50) 100%);
    }
}

/* Content fade-in + slide-up */
.ge-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    animation: geHeroContentReveal 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
}

@keyframes geHeroContentReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* H1 white shimmer effect */
.ge-hero-title {
    font-family: var(--bs-heading-font-family);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    background: linear-gradient(90deg,
            #ffffff 0%,
            #ffffff 40%,
            #F1860D 50%,
            #ffffff 60%,
            #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: geTextShimmer 6s ease-in-out infinite;
}

@keyframes geTextShimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.ge-hero-subtitle {
    font-family: var(--bs-body-font-family);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto;
}

/* ---- Intro Section ---- */
.ge-intro {
    padding: 6rem 0;
    background-color: var(--bs-light, #F9F5F0);
}

.ge-intro-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.ge-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--bs-secondary, #781235);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ge-intro p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
}

.ge-cta-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ge-btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--bs-primary, #F1860D);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(241, 134, 13, 0.3);
}

.ge-btn-primary:hover {
    background: #D97300;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(241, 134, 13, 0.4);
    color: #fff;
}

.ge-btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--bs-secondary, #781235);
    color: var(--bs-secondary, #781235);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

.ge-btn-outline:hover {
    background: var(--bs-secondary, #781235);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(120, 18, 53, 0.2);
}

/* ---- Restaurant Card Section ---- */
.ge-restaurant {
    padding: 5rem 0;
    background-color: #fff;
}

.ge-restaurant-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    max-width: 1100px;
    margin: 0 auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ge-restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.ge-restaurant-img {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.ge-restaurant-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(241, 134, 13, 0.15) 0%, transparent 60%);
}

.ge-restaurant-info {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ge-restaurant-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--bs-secondary, #781235);
    margin-bottom: 0.5rem;
}

.ge-restaurant-info .ge-location-tag {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--bs-primary, #F1860D);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.ge-restaurant-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

/* ---- Service Section ---- */
.ge-services {
    padding: 6rem 0;
    background-color: var(--bs-light, #F9F5F0);
    position: relative;
}

.ge-services-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ge-services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--bs-secondary, #781235);
    margin-bottom: 3rem;
}

.ge-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
    margin-bottom: 3rem;
}

.ge-service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ge-service-item:hover {
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.ge-service-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: var(--bs-primary, #F1860D);
}

.ge-service-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.ge-service-item p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* ---- Schools Section ---- */
.ge-schools {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bs-secondary, #781235) 0%, #5a0d28 100%);
    color: #fff;
    text-align: center;
}

.ge-schools-inner {
    max-width: 750px;
    margin: 0 auto;
}

.ge-schools h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--bs-primary, #F1860D);
    margin-bottom: 1rem;
}

.ge-schools p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.ge-schools .ge-btn-primary {
    background: var(--bs-primary, #F1860D);
}

.ge-schools .ge-btn-primary:hover {
    background: #fff;
    color: var(--bs-secondary, #781235);
}

/* ---- Stats Section ---- */
.ge-stats {
    padding: 4rem 0;
    background: #fff;
}

.ge-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.ge-stat-item {
    padding: 2rem 1rem;
}

.ge-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--bs-primary, #F1860D);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.ge-stat-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ---- Contact Section ---- */
.ge-contact {
    padding: 6rem 0;
    background-color: var(--bs-light, #F9F5F0);
}

.ge-contact-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.ge-contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--bs-secondary, #781235);
    margin-bottom: 1rem;
}

.ge-contact>.container>p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.ge-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.ge-contact-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.ge-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.ge-contact-card svg {
    width: 36px;
    height: 36px;
    color: var(--bs-primary, #F1860D);
    margin-bottom: 1rem;
}

.ge-contact-card .ge-contact-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.ge-contact-card .ge-contact-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #333;
    display: block;
    word-break: break-word;
}

/* ---- Decorative Elements ---- */
.ge-deco-line {
    width: 60px;
    height: 3px;
    background: var(--bs-primary, #F1860D);
    margin: 0 auto 2rem auto;
    border-radius: 3px;
}

.ge-section-icon {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem auto;
    color: var(--bs-primary, #F1860D);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .ge-restaurant-card {
        grid-template-columns: 1fr;
    }

    .ge-restaurant-img {
        min-height: 300px;
    }

    .ge-restaurant-info {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .ge-hero {
        height: 50vh;
    }

    .ge-hero-title {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
        word-wrap: break-word;
        hyphens: auto;
    }

    .ge-hero-subtitle {
        font-size: 1.1rem;
    }

    .ge-intro h2,
    .ge-services h2,
    .ge-schools h2,
    .ge-contact h2 {
        font-size: 2rem;
    }

    .ge-restaurant-info h3 {
        font-size: 1.8rem;
    }

    .ge-stat-number {
        font-size: 2.5rem;
    }

    .ge-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .ge-service-grid {
        grid-template-columns: 1fr;
    }

    .ge-contact-cards {
        grid-template-columns: 1fr;
    }

    .ge-restaurant-info {
        padding: 2rem 1.5rem;
    }
}
