:root {
  --bg: #FFFFFF;
  --bg-raised: #F8FAFC;
  --bg-dark: #0F172A;
  --ink: #0F172A;
  --ink-soft: #64748B;
  --clay: #2563EB;
  --clay-hover: #1D4ED8;
  --teal: #0284C7;
  --olive: #94A3B8;
  --amber: #F59E0B;
  --line: rgba(15, 23, 42, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 30px;
  --card-radius: 10px;
}

* { box-sizing: border-box; margin:0; padding:0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.mono { 
  font-family: 'JetBrains Mono', monospace; 
  letter-spacing: 0.04em; 
}

a { color: inherit; text-decoration: none; }
img { max-width:100%; display:block; }

.topo {
  position: absolute; inset:0;
  background-image:
    radial-gradient(circle at 20% 30%, transparent 38%, rgba(255,255,255,0.05) 39%, transparent 40%),
    radial-gradient(circle at 80% 70%, transparent 28%, rgba(255,255,255,0.05) 29%, transparent 30%);
  pointer-events: none;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--clay); color: #fff !important;
  padding: 12px 26px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border: none; cursor: pointer; border-radius: var(--radius);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.btn:hover { 
  background: var(--clay-hover); 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35); 
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 45vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 5%;
  overflow: hidden;
  color: #FFFFFF;
  background-color: var(--bg-dark);
}

.hero-bg {
  position: absolute; inset:0;
  background-image: url('../images/14.jpeg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute; inset:0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.hero-content {
  position: relative; z-index: 2; max-width: 800px;
}

.eyebrow {
  font-size: 13px; font-weight: 700; color: #60A5FA; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content:''; width: 24px; height: 2px; background: #60A5FA;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  color: #FFFFFF;
  text-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

.hero h1 em { font-style: normal; color: #60A5FA; }

.hero-sub {
  max-width: 500px; margin-top: 16px; color: rgba(255, 255, 255, 0.85); font-size: 16px;
}

/* GALLERY INTRO TEXT (REFERENSI GAMBAR 2) */
.gallery-intro-text {
  padding: 65px 5% 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-intro-text h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.gallery-intro-text .intro-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  margin-top: 10px;
  text-transform: uppercase;
}

/* GALLERY GRID & IMAGE CONTAINERS */
.gallery-section { 
  padding: 30px 5% 90px; 
}

.gallery-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  grid-auto-rows: 280px; 
  grid-auto-flow: dense;
  gap: 8px; 
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid .g-item { 
  position: relative; 
  border-radius: var(--card-radius); 
  grid-column: span 1; 
  grid-row: span 1; 
}

.gallery-grid .g-item.wide { grid-column: span 2; grid-row: span 1; }
.gallery-grid .g-item.tall { grid-column: span 1; grid-row: span 2; }
.gallery-grid .g-item.big  { grid-column: span 2; grid-row: span 2; }

.g-card {
  width: 100%; height: 100%;
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-raised);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.g-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

.g-img-holder {
  width: 100%; height: 100%;
  position: relative;
  background: var(--tone, var(--clay)) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%20FFFFFF" stroke-opacity="0.4" stroke-width="1.5"><rect x="3" y="3" width="18" height="18" rx="3"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="21 15l-5-5L5 21"/></svg>') center no-repeat;
  display: flex; align-items: flex-end;
}

.g-img-holder img {
  position: absolute; inset:0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}

.g-card:hover .g-img-holder img {
  transform: scale(1.06);
}

.g-overlay {
  position: absolute; inset:0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.75) 100%);
  pointer-events: none;
}

.g-caption {
  position: relative; z-index: 2;
  padding: 16px;
  color: #FFFFFF;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 900px){
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 240px;
    gap: 16px;
  }
}

@media (max-width: 600px){
  .gallery-grid { 
    grid-template-columns: 1fr; 
    grid-auto-rows: 260px; 
    gap: 16px; 
  }
  .gallery-grid .g-item.wide,
  .gallery-grid .g-item.tall,
  .gallery-grid .g-item.big { 
    grid-column: span 1; 
    grid-row: span 1; 
  }
}

/* DROPDOWN & NAVBAR FIXES */
#navbar-placeholder a.active,
#navbar-placeholder .active::after,
.nav-dd-menu a.active,
.dropdown-menu a.active,
.nav-dd-trigger.active,
.dropdown-toggle.active {
  border-bottom: none !important;
  box-shadow: none !important;
}

#navbar-placeholder a.active::after,
.nav-dd-trigger.active::after,
.dropdown-toggle.active::after,
.nav-dropdown.active > a::after {
  display: none !important;
  content: none !important;
}

#navbar-placeholder a.active,
#navbar-placeholder .active,
.nav-dd-menu a.active,
.dropdown-menu a.active,
.nav-dd-trigger.active,
.dropdown-toggle.active {
  color: var(--ink) !important;
  font-weight: 500 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

#navbar-placeholder a.active:hover,
.nav-dd-menu a.active:hover {
  color: var(--clay) !important;
}