/* =========================================================
   HOME PAGE PHOTO SLIDESHOW
   This file is ONLY for home.blade.php
   ========================================================= */

.photo-galleries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.photo-gallery {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.photo-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    user-select: none;
    -webkit-user-select: none;
}

.photo-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.photo-slide.active {
    display: block;
}

.photo-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    cursor: pointer;
}

.photo-prev,
.photo-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 100;
}

.photo-prev {
    left: 15px;
}

.photo-next {
    right: 15px;
}

.photo-prev:hover,
.photo-next:hover {
    background: rgba(0, 0, 0, 0.9);
}

.photo-dots {
    text-align: center;
    margin-top: 15px;
}

.photo-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.photo-dot.active {
    background: #333;
}

@media (max-width: 768px) {

    .photo-galleries {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .photo-slider {
        height: 300px;
    }
}
