/* navbar */
.site-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: #6998AB;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* live chat */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

/* slider */
.hero {
    background: url('/img/masjid.jpg') center center / cover no-repeat;
    padding: 100px 0;
    position: relative;
    color: white;
    transition: all 0.3s ease;
}

#heroCarousel,
#carouselSliderContainer,
.carousel-item {
    height: 100%;
}

.hero .col-lg-5,
.hero .col-md-4 {
    height: 100%; 
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 44, 74, 0.6);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.slider-image-styled {
    height: 445px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero {
        padding: 80px 0;
    }

    .slider-image-styled {
        height: 350px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 60px 0;
        text-align: center;
    }

    .slider-image-styled {
        height: 250px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 40px 0;
    }

    .slider-image-styled {
        height: 200px;
    }
}


/* hadis and ayat */
.quran-quote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 10px;
    margin: 20px;
    color: #333;
    font-size: 1.2rem;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.quran-quote:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.quote-icon:hover {
    transform: scale(1.05);
}

.quote-icon img {
    max-width: 100%;
    max-height: 100%;
}

.quote-content {
    text-align: center;
}

.verse-reference {
    font-style: italic;
    margin-top: 20px;
    color: #777;
}

/* Responsive for hadis ayat */
@media (max-width: 767.98px) {
    .quran-quote {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

/* foto kegiatan */
.media-1 img {
    width: 100%;
    height: 300px;
    object-fit: cover; /* Memotong gambar agar sesuai dengan ukuran */
}

#fotoKegiatanModalImage {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

/* services */
.feature-1 {
    transition: all 0.3s ease;
}

.feature-1:hover {
    transform: translateY(-10px);
}

.feature-1 .display-4 {
    transition: color 0.3s ease;
}

.feature-1:hover .display-4 {
    color: #007bff;
}

.feature-img-bg {
    transition: transform 0.3s ease;
}

.feature-img-bg:hover {
    transform: scale(1.05);
}

/* Responsive for services */
@media (max-width: 991.98px) {
    .feature-1-wrap {
        flex-direction: column !important;
    }

    .feature-1 {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .col-lg-4.order-lg-1 {
        order: 1 !important;
    }

    .col-6.col-sm-6.col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* video kegiatan */
.responsive-iframe {
    width: 380px;
    height: 250px;
    transition: transform 0.3s ease;
}

.responsive-iframe:hover {
    transform: scale(1.02);
}

@media (max-width: 767.98px) {
    .responsive-iframe {
        width: 100% !important;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* foto kegiatan */
.media-1 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-1 img:hover {
    transform: scale(1.05);
}

#fotoKegiatanModalImage {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* harga paket */
.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    transition: color 0.3s ease;
}

.section-title:hover {
    color: #007bff;
}

.package-info {
    margin-top: 20px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.info-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.full-width {
    justify-content: start;
}

.two-columns {
    justify-content: space-between;
}

.three-columns {
    justify-content: space-between;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.price-text {
    font-size: 14px;
    font-weight: bold;
    color: #dc3545;
}

.price-amount {
    font-size: 24px;
    font-weight: bold;
    color: #222;
}

.book-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    background-color: #007bff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.book-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* cta section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.cta-section .btn {
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive for foto kegiatan */
@media (max-width: 991.98px) {
    .media-1 img {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .media-1 img {
        height: 200px;
    }
}

/* Responsive for harga paket */
@media (max-width: 767.98px) {
    .info-row {
        flex-direction: column;
        gap: 10px;
    }

    .price-amount {
        font-size: 20px;
    }

    .book-btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* Responsive for cta */
@media (max-width: 767.98px) {
    .cta-section .row {
        text-align: center;
    }

    .cta-section .col-12.col-sm-6.col-md-3 {
        margin-bottom: 10px;
    }
}


