/* NAVBAR */
.navbar { background: white; box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: #64748b; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); font-weight: 600; }

:root {
--primary: #007bff;
--primary-dark: #0056b3;
--text-dark: #1a1a2e;
--text-gray: #71717a;
--bg-gray: #f7f7f7;
--white: #ffffff;
--border: #e5e5e5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
font-family: 'Poppins', sans-serif;
background: var(--bg-gray);
color: var(--text-dark);
}

/* Header */
.page-header {
background: var(--white);
padding: 1.5rem 2rem;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
position: sticky;
top: 0;
z-index: 100;
}

.header-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
display: flex;
align-items: center;
gap: 0.75rem;
text-decoration: none;
color: var(--text-dark);
}

.logo img { height: 40px; width: auto; }
.logo-text { font-size: 1.1rem; font-weight: 700; }

.back-link {
color: var(--primary);
text-decoration: none;
font-weight: 600;
display: flex;
align-items: center;
gap: 0.5rem;
}

.back-link:hover { color: var(--primary-dark); }

/* Hero Section */
.gallery-hero {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
padding: 4rem 2rem;
text-align: center;
}

.gallery-hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.gallery-hero p {
font-size: 1.1rem;
max-width: 700px;
margin: 0 auto;
opacity: 0.9;
}

/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 3rem 2rem;
}

.section-title {
font-size: 1.75rem;
font-weight: 700;
margin-bottom: 2rem;
text-align: center;
}

/* Gallery Grid */
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
}

.gallery-item {
border-radius: 12px;
overflow: hidden;
height: 280px;
position: relative;
cursor: pointer;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
background: var(--white);
}

.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

/* Overlay & Button (Muncul saat hover) */
.gallery-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
padding: 1.5rem;
color: white;
opacity: 0;
transform: translateY(10px);
transition: all 0.3s ease;
display: flex;
flex-direction: column;
justify-content: flex-end;
height: 100%;
pointer-events: none; /* Klik tembus ke gambar */   
}

.gallery-item:hover .gallery-overlay {
opacity: 1;
transform: translateY(0);
}

.gallery-overlay h4 {
font-size: 1.15rem;
margin-bottom: 0.5rem;
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.btn-view-package {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: var(--primary);
color: white;
padding: 0.6rem 1rem;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
width: fit-content;
transition: background 0.2s ease, transform 0.2s ease;
box-shadow: 0 4px 10px rgba(0,123,255,0.3);
pointer-events: auto; /* Tombol tetap bisa diklik */
}

.btn-view-package:hover {
background: var(--primary-dark);
transform: translateY(-2px);
}

/* Lightbox */
.lightbox {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.95);
z-index: 9999;
align-items: center;
justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-img {
max-width: 90%;
max-height: 90%;
object-fit: contain;
border-radius: 8px;
box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
position: absolute;
top: 20px; right: 40px;
background: rgba(255,255,255,0.2);
border: none;
color: white;
font-size: 2.5rem;
cursor: pointer;
width: 50px; height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.4); }



.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
}

.footer-section h3 {
margin-bottom: 1rem;
color: var(--text-dark);
}

.footer-section p {
color: var(--text-gray);
line-height: 1.8;
}

.footer-section a {
color: var(--text-dark) !important;
transition: color 0.3s ease;
}
.footer-section a:hover {
color: var(--primary) !important;
}

/* Animasi Hover Footer (Gerak ke kanan) */
.footer-section a {
    display: inline-block; /* Wajib agar transform bekerja */
    transition: all 0.3s ease; /* Transisi halus */
}

.footer-section a:hover {
    color: var(--primary) !important; /* Tetap biru saat hover */
    transform: translateX(8px); /* Gerak ke kanan sejauh 8px */
}

/* Tombol kembali mobile */
.back-link-mobile {
    display: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .back-link-mobile { display: flex; }
    .nav-links { display: none; }
    .nav-container { padding: 0.75rem 1rem; }
    .logo img { height: 32px; }
    .logo span { font-size: 0.9rem; }

    .gallery-hero { padding: 2.5rem 1rem; }
    .gallery-hero h1 { font-size: 1.5rem; }
    .gallery-hero p { font-size: 0.88rem; }

    .container { padding: 1.5rem 1rem; }
    .section-title { font-size: 1.3rem; }

    .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
    .gallery-item { height: 220px; }

    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .gallery-hero h1 { font-size: 1.3rem; }
    .gallery-item { height: 200px; }
}
/* GLOBAL */
html, body { overflow-x: hidden; max-width: 100%; }