/* Hero Swiper Custom Styles */
.hero-swiper {
    width: 100%;
    height: 80vh;
    /* Adjusted to 80% as requested */
    position: relative;
    overflow: hidden;
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 33, 71, 0.4), rgba(0, 33, 71, 0.7));
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 2rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.swiper-slide-active .hero-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-content h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-slide-content p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-carousel-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Swiper Pagination & Navigation Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.25rem;
    font-weight: 900;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--white);
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero-swiper {
        height: 70vh;
    }

    .hero-slide-content {
        padding: 20px 1.25rem 0 !important;
    }

    /* Fix oversized heading text on mobile */
    .hero-slide-content h2 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
    }

    .hero-slide-content p {
        font-size: 0.9rem !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.5 !important;
    }

    .hero-carousel-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .hero-carousel-actions .btn,
    .hero-carousel-actions a {
        font-size: 0.9rem !important;
        padding: 0.65rem 1.5rem !important;
        width: auto !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 400px) {
    .hero-slide-content h2 {
        font-size: 1.3rem !important;
    }

    .hero-slide-content p {
        font-size: 0.82rem !important;
    }
}