/* =========================
   CONTAINER
========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   HERO
========================= */
.hero-galeri {
    padding: 40px 0 20px;
}

.hero-title {
    font-size: 36px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 15px;
    color: #6c757d;
    margin-top: 10px;
    margin-bottom: 10px;
}

.page-divider {
    width: 120px;
    height: 3px;
    background-color: #0992C2;
    margin-top: 12px;
    border-radius: 2px;
}

/* =========================
   SECTION WRAPPER
========================= */
.galeri-wrapper {
    padding: 50px 0 70px;
    background-color: #ffffff;
}

/* =========================
   ALBUM GRID
========================= */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* =========================
   ALBUM CARD
========================= */
.album-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.album-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

/* =========================
   ALBUM THUMB
========================= */
.album-thumb {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.album-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.album-card:hover .album-thumb img {
    transform: scale(1.05);
}

/* =========================
   ALBUM INFO
========================= */
.album-info {
    padding: 16px 18px;
    text-align: center;
}

.album-title {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.album-count {
    font-size: 14px;
    color: #6b7280;
}

/* =========================
   EMPTY STATE
========================= */
.empty-text {
    text-align: center;
    font-size: 15px;
    color: #6b7280;
    padding: 60px 0;
}

/* =========================
   SHOW GALERI (PER ALBUM)
========================= */
.foto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.foto-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f3f4f6;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.foto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

/* =========================
   FOTO THUMB
========================= */
.foto-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.foto-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.foto-card:hover .foto-thumb img {
    transform: scale(1.08);
}

/* =========================
   FOTO INFO
========================= */
.foto-info {
    padding: 14px 16px;
    text-align: center;
}

.foto-title {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.4;
}

/* =========================
   BACK LINK
========================= */
.back-link {
    display: inline-block;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .foto-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .album-thumb {
        height: 160px;
    }

    .foto-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .foto-thumb {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .foto-grid {
        grid-template-columns: 1fr;
    }

    .foto-thumb {
        height: 200px;
    }
}