
/* WhatsApp floating button */
.fixed-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    z-index: 9999;
}

.fixed-whatsapp:before {
    content: "";
    background-repeat: no-repeat;
    background-size: 44px 44px;
    background-position: center center;
    width: 50px;
    height: 50px;
    background-image: url("data:image/svg+xml;charset=utf8,%3csvg viewBox='0 0 24 24' width='32' height='32' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='%23ffffff' d='M12 2A10 10 0 0 0 2 12c0 2 .57 3.8 1.55 5.35L2 22l4.65-1.55A10 10 0 1 0 12 2z'/%3e%3c/svg%3e");
    background-color: #028c3c;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    box-shadow: 0 1px 1.5px 0 rgba(0,0,0,.12),
                0 1px 1px 0 rgba(0,0,0,.24);
}

.fixed-whatsapp:after {
    content: "Hallo Sahabat Arafah, chat kami di sini yah!";
    width: 150px;
    padding: 5px 10px;
    position: absolute;
    bottom: 100%;
    margin-bottom: 10px;
    right: -150px;
    text-align: right;
    color: #555;
    border: 1px solid #dedede;
    background: rgba(255,255,255,.5);
    border-radius: 4px;
    opacity: 0;
    transition: all .4s ease-in-out;
    font-size: 90%;
    line-height: 1.1;
}

.fixed-whatsapp:hover:after {
    opacity: 1;
    right: -150px;
}

/* Top bar */
#topbar {
    background: rgb(50, 92, 55);
}

/* Promo gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    transition: transform .4s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .4s ease, opacity .4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: .9;
}

.animate {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp .7s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zoom-animate {
    animation: zoomIn .6s ease;
}

@keyframes zoomIn {
    0% {
        transform: scale(.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Promo detail gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
    cursor: pointer;
    transition: transform .3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    color: white;
    font-size: 18px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    transition: transform .4s ease;
    transform: scale(.8);
    opacity: 0;
}

.lightbox-img.show {
    transform: scale(1);
    opacity: 1;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background: rgba(0,0,0,.4);
    border-radius: 50%;
    padding: .5rem .8rem;
    cursor: pointer;
    user-select: none;
    z-index: 1051;
    transition: background .2s;
}

.modal-nav:hover {
    background: rgba(0,0,0,.7);
}

.modal-prev { left: 10px; }
.modal-next { right: 10px; }

/* Home page */
.hero-section {
    margin-top: 120px;
}

.testimonial-text {
    color: #000;
}

.text-arafah-green {
    color: rgb(50, 92, 55);
}

.modal-close-button {
    top: 10px;
    right: 10px;
}

.modal-close-icon {
    font-size: 2rem;
}
