/* Events Page Specific Styles */

/* Events Hero Section */
.events-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.events-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.events-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(221, 51, 51, 0.4) 100%);
    z-index: 2;
}

.events-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem 1rem;
}

.events-hero__label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.events-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.events-hero__subtitle {
    font-size: 1.375rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Events Introduction Section */
.events-intro {
    padding: 5rem 0;
}

.events-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.events-intro__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.events-intro__image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.events-intro__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Service Detail Section */
.event-services {
    background: #f8f9fa;
    padding: 5rem 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
    margin-bottom: 5rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail--reverse {
    direction: rtl;
}

.service-detail--reverse > * {
    direction: ltr;
}

.service-detail__image {
    height: 100%;
    min-height: 400px;
}

.service-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-detail__content {
    padding: 1.2rem;
}

.service-detail__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.25rem;
}

.service-detail__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.service-detail__subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-detail__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-detail__list li {
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.7;
    color: var(--text-light);
}

.service-detail__list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
}

.service-detail__applications {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 0;
}

/* Why Choose Us Section */
.why-choose__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-choose__item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.why-choose__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.why-choose__item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.why-choose__item p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn--outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .events-hero__title {
        font-size: 2.5rem;
    }

    .events-hero__subtitle {
        font-size: 1.125rem;
    }

    .events-intro__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-detail__image {
        min-height: 300px;
    }

    .service-detail__content {
        padding: 2rem;
    }

    .why-choose__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .events-hero {
        height: 60vh;
        min-height: 450px;
    }

    .events-hero__title {
        font-size: 2rem;
    }

    .events-hero__subtitle {
        font-size: 1rem;
    }

    .events-intro {
        padding: 3rem 0;
    }

    .event-services {
        padding: 3rem 0;
    }

    .service-detail {
        margin-bottom: 3rem;
    }

    .service-detail__content {
        padding: 1.5rem;
    }

    .service-detail__title {
        font-size: 1.5rem;
    }

    .why-choose__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-text {
        font-size: 1rem;
    }
}
