/* ============================================================
   PERBADANAN STADIUM DARUL MAKMUR — MAIN STYLESHEET
   ============================================================ */

:root {
  /* Modern, clean palette */
  --navy:       #0b2442;
  --navy-light: #183a66;
  --navy-dark:  #071a2f;
  --gold:       #d2a33c;
  --gold-light: #e8c06a;
  --gold-pale:  #fff6df;

  --white:      #ffffff;
  --off-white:  #f6f8fc;
  --gray-100:   #eef2f7;
  --gray-200:   #dde5ef;
  --gray-400:   #8aa0b6;
  --gray-600:   #445a70;
  --gray-700:   #2f4256;
  --gray-800:   #172a3c;
  --text:       #162739;
  --text-muted: #5b7088;

  --surface:    rgba(255,255,255,.82);
  --surface-2:  rgba(255,255,255,.92);

  --font-body:    'Roboto', sans-serif;
  --font-display: 'Montserrat', sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow:    0 8px 24px rgba(15, 23, 42, .10);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, .16);

  --transition: 0.28s cubic-bezier(.4,0,.2,1);

  --header-h: 84px;
  --topbar-h: 38px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
html {
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
address { font-style: normal; }

/* ── UTILITIES ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }
.mt-8 { margin-top: 48px; }


/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--navy);
  height: var(--topbar-h);
  font-size: .76rem;
  letter-spacing: .03em;
  color: rgba(255,255,255,.7);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.topbar-left {
  display: flex;
  gap: 24px;
}
.topbar-left span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.topbar-left i { color: var(--gold); font-size: .75rem; }
.topbar-right {
  display: flex;
  gap: 14px;
}
.topbar-right a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color var(--transition);
}
.topbar-right a:hover { color: var(--gold-light); }


/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  height: var(--header-h);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: none;
  transition: box-shadow var(--transition), border-bottom-color var(--transition), background var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(200,146,42,.2);
  box-shadow: 0 4px 20px rgba(11,36,66,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  height: 68px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img-footer {
  height: 60px;
}
.logo-icon {
  width: 61px;
  height: 61px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.716rem;
}
.logo-icon-sm {
  width: 51px;
  height: 51px;
  font-size: 1.452rem;
  border-radius: 8px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-title {
  font-size: 1.122rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.logo-subtitle {
  font-size: .950rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nav */
.nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: .851rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--gold);
  background: transparent;
}
.nav-arrow {
  font-size: .55rem;
  transition: transform var(--transition);
}
.nav-item.has-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 999;
}
.nav-item.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: .02em;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
  border-left: 3px solid transparent;
}
.dropdown li a:hover {
  background: var(--gold-pale);
  color: var(--navy);
  padding-left: 26px;
  border-left-color: var(--gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 12px);
  height: calc(100vh - var(--header-h) - var(--topbar-h));
  padding: 12px 0;
  background: var(--navy-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slider {
  width: min(1024px, calc(100% - 48px));
  margin: 0 auto;
  aspect-ratio: 1024 / 727;
  max-height: calc(100vh - var(--header-h) - var(--topbar-h) - 24px);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0d2b4e;
  box-shadow: var(--shadow-lg);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7,29,53,.82) 0%,
    rgba(7,29,53,.55) 50%,
    rgba(7,29,53,.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 48px;
  top: 50%;
  transform: translateY(-50%);
}
.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 18px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero-content h1 span { color: var(--gold-light); }
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Slider Controls */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px);
}
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
.hero-prev:hover,
.hero-next:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), width var(--transition);
  padding: 0;
}
.hero-dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--gold);
  border-color: var(--gold);
}


/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 18px 0;
  position: relative;
  z-index: 2;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 180px;
}
.stat-item > i {
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
}
.stat-item div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.stat-item strong {
  font-size: .98rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
}
.stat-item span {
  font-size: .73rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 6px 20px rgba(200,146,42,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-secondary {
  background: var(--gray-200);
  color: var(--gray-600);
  border-color: var(--gray-200);
}
.btn-secondary:hover {
  background: var(--gray-400);
  color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-sm { padding: 8px 18px; font-size: .78rem; }


/* ============================================================
   SECTIONS — BASE
   ============================================================ */
.section { padding: 60px 0; }
.section-light { background: var(--off-white); }
.section-white { background: var(--white); }
.section-navy {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}
@media (min-width: 769px) {
  .section-navy { background-attachment: fixed; }
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* ── Scroll reveal ─────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.section-tag {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 40px;
  margin-bottom: 12px;
  border: 1.5px solid var(--gold);
}
.tag-gold {
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-header-light .section-title { color: var(--white); }
.section-desc {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}
.section-header-light .section-desc { color: rgba(255,255,255,.65); }

/* ── Section header alignment variants ────────────────────────────────────── */
.section-header-left  { text-align: left; }
.section-header-left  .section-desc { margin: 0; max-width: 580px; }
.section-header-right { text-align: right; }
.section-header-right .section-desc { margin: 0 0 0 auto; max-width: 580px; }

/* Gold accent bar under title for directional headers */
.section-header-left  .section-title,
.section-header-right .section-title {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 16px;
}
.section-header-left .section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 2px;
}
.section-header-right .section-title::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 56px; height: 3px;
  background: linear-gradient(270deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 2px;
}
/* On navy background the lighter gold gradient shows better */
.section-header-light.section-header-right .section-title::after,
.section-header-light.section-header-left  .section-title::after {
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 100%);
  opacity: .9;
}


/* ============================================================
   JADUAL TEMPAHAN — booking_calendar wrapper
   ============================================================ */
.booking-calendar-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  overflow-x: auto;
}

/* Placeholder shown when plugin is not yet installed */
.booking-placeholder {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}
.booking-placeholder i {
  font-size: 3rem;
  color: var(--gray-400);
  margin-bottom: 16px;
  display: block;
}
.booking-placeholder p {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.booking-placeholder small {
  font-size: .82rem;
  color: var(--gray-400);
}
.booking-placeholder strong { color: var(--navy); }

/* Ensure the plugin calendar fills the container cleanly */
.booking-calendar-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.tempahan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.tempahan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tempahan-card:hover {
  box-shadow: var(--shadow-lg);
}
.tempahan-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold);
  font-size: 1.6rem;
}
.tempahan-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.tempahan-card p {
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}
.tempahan-status {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 40px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tempahan-status.available {
  background: #dcfce7;
  color: #15803d;
}
.tempahan-status.busy {
  background: #fee2e2;
  color: #dc2626;
}


/* ============================================================
   BERITA
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
}
.news-img-wrap { position: relative; }
.news-img-placeholder {
  height: 260px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  font-size: 4rem;
}
.news-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.news-body { padding: 24px; }
.news-date {
  font-size: .75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.news-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-body p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition), color var(--transition);
}
.news-link:hover { gap: 10px; color: var(--navy); }

/* Side small news */
.news-side { display: flex; flex-direction: column; gap: 16px; }
.news-card-sm {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card-sm:hover {
  box-shadow: var(--shadow);
}
.news-img-sm-placeholder {
  width: 80px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  font-size: 1.5rem;
}
.news-sm-body { flex: 1; min-width: 0; }
.news-sm-body h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  margin: 6px 0 8px;
  line-height: 1.4;
}


/* ============================================================
   IKLAN
   ============================================================ */
.iklan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.iklan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--navy);
}
.iklan-card:hover {
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
}
.iklan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.iklan-type {
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.iklan-type.tender { background: #dbeafe; color: #1d4ed8; }
.iklan-type.sebutharga { background: #fef9c3; color: #92400e; }
.iklan-date { font-size: .75rem; color: var(--text-muted); }
.iklan-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.45;
}
.iklan-card p {
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}
.iklan-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}
.iklan-deadline {
  font-size: .76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.iklan-deadline i { color: var(--gold); }


/* ============================================================
   PAUTAN LUAR
   ============================================================ */
.pautan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}
.pautan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  text-align: center;
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), color var(--transition);
}
.pautan-card:hover {
  background: rgba(200,146,42,.18);
  border-color: var(--gold);
  color: var(--gold-light);
}
.pautan-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold-light);
  transition: border-color var(--transition), background var(--transition);
}
.pautan-card:hover .pautan-icon {
  border-color: var(--gold);
  background: rgba(200,146,42,.2);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  color: var(--gray-600);
  font-size: .86rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 -4px 32px rgba(13,43,78,.07);
}
.footer-top { padding: 48px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-about p {
  line-height: 1.7;
  margin-bottom: 22px;
  color: var(--text-muted);
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: .85rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.footer-heading {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--gold);
  display: inline-block;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--gray-600);
  font-size: .84rem;
  transition: color var(--transition), padding-left var(--transition);
  display: flex;
  align-items: center;
  gap: 0;
}
.footer-links a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-right: 0;
  transition: width var(--transition), margin-right var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}
.footer-links a:hover::before {
  width: 12px;
  margin-right: 6px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .84rem;
  color: var(--gray-600);
  line-height: 1.5;
}
.contact-item i {
  color: var(--gold);
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item a {
  color: var(--gray-600);
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--gold); }

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding: 18px 0;
  background: var(--gray-100);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-muted);
}


/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--gold);
  cursor: pointer;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 800;
  box-shadow: var(--shadow);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(200,146,42,.4);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-link { padding: 8px 9px; font-size: .84rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 850;
    padding: 16px 0 32px;
    border-top: 1px solid var(--gray-200);
  }
  .nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0 16px; }
  .nav-link { padding: 13px 16px; font-size: 1.035rem; border-radius: var(--radius-sm); }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    margin: 4px 0 8px 12px;
    padding: 4px 0;
    display: none;
  }
  .nav-item.has-dropdown.open .dropdown { display: block; }
  .nav-arrow { margin-left: auto; }

  .news-grid { grid-template-columns: 1fr; }
  .news-side { display: grid; grid-template-columns: 1fr 1fr; }

  .stats-inner { justify-content: center; }
  .stat-divider { display: none; }
}

@media (max-width: 640px) {
  .topbar-left span:last-child { display: none; }
  .hero-content { padding: 0 24px; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-side { grid-template-columns: 1fr; }
  .pautan-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-prev, .hero-next { display: none; }
}


/* ============================================================
   BOOKING CALENDAR
   ============================================================ */
#booking-calendar {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* FullCalendar theme overrides */
.fc-toolbar-title {
  font-size: 1.1rem !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}
.fc-button-primary {
  background-color: var(--navy) !important;
  border-color: var(--navy) !important;
}
.fc-button-primary:hover {
  background-color: var(--navy-light) !important;
  border-color: var(--navy-light) !important;
}
.fc-button-primary:not(:disabled).fc-button-active {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--navy) !important;
}
.fc-col-header-cell { background: var(--navy); }
.fc-col-header-cell-cushion {
  color: var(--white) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.fc-daygrid-day-number {
  color: var(--gray-700) !important;
  text-decoration: none !important;
}
.fc-day-today { background: var(--gold-pale) !important; }
.fc-daygrid-event {
  background-color: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--white) !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  font-size: .78rem !important;
  cursor: pointer !important;
}
.fc-daygrid-event:hover {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--navy) !important;
}

/* Calendar event detail modal */
.cal-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cal-modal-overlay.open { display: flex; }
.cal-modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
}
.cal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--navy);
  color: var(--white);
}
.cal-modal-header h4 { margin: 0; font-size: 1rem; font-weight: 600; }
.cal-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color var(--transition);
}
.cal-modal-close:hover { color: var(--white); }
.cal-modal-body { padding: 20px; }
.cal-modal-body p { margin: 0 0 6px; font-size: .9rem; color: var(--gray-700); }
.cal-modal-body strong { color: var(--navy); }
.cal-divider { border: none; border-top: 1px solid var(--gray-200); margin: 14px 0; }
.cal-list { font-size: .85rem; color: var(--gray-600); margin-bottom: 10px; line-height: 1.9; }

/* ── Pautan Luar section (white bg) ─────────────────────────────────────── */
.pautan-section {
  border-top: 1px solid var(--gray-200);
}

/* ── Pautan Luar carousel ────────────────────────────────────────────────── */
.pautan-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.car-viewport {
  flex: 1;
  overflow: hidden;
}
.car-track {
  display: flex;
  transition: transform .45s ease;
}
.car-item {
  padding: 0 .5rem;
  box-sizing: border-box;
}
.pautan-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1rem .75rem;
  text-decoration: none;
  cursor: default;
  transition: background .2s, box-shadow .2s, border-color .2s;
  height: 130px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
}
a.pautan-logo-card { cursor: pointer; }
.pautan-logo-card:hover {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(13,43,78,.14);
}
.pautan-logo-card:hover span {
  color: var(--gold);
}
.pautan-logo-card img {
  height: 58px;
  width: 100%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.pautan-logo-card span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}
.car-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}
.car-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--white); }
.car-btn:disabled { opacity: .3; cursor: not-allowed; }

/* ── Equal 4-column news grid ────────────────────────────────────────────── */
.news-grid-equal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.news-card-eq {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card-eq:hover {
  box-shadow: 0 12px 36px rgba(13,43,78,.15);
  border-top-color: var(--navy);
}
.news-card-eq-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.news-card-eq-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .15);
  font-size: 2.5rem;
}
.news-card-eq-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-eq-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: .45rem 0 .55rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-eq-body p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.news-empty-state i {
  font-size: 3rem;
  color: var(--gray-300, #d1d5db);
  display: block;
  margin-bottom: 1rem;
}
.news-empty-state h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.news-empty-state p {
  font-size: .875rem;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .news-grid-equal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .news-grid-equal { grid-template-columns: 1fr 1fr; gap: .75rem; }
}

/* ── Advertisement grid (iklan posters) ───────────────────────────────────── */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.ads-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13, 43, 78, .1);
  border-top: 3px solid var(--gold);
  transition: transform .3s, box-shadow .3s;
}
.ads-card:hover {
  box-shadow: 0 12px 36px rgba(13, 43, 78, .2);
  border-top-color: var(--navy);
}
.ads-card a { display: block; }
.ads-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1229 / 1536;
}
.ads-card-title {
  padding: .65rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  border-top: 1px solid var(--gray-100);
}


/* ============================================================
   BERITA — ARTICLE DETAIL PAGE  (berita.php)
   ============================================================ */

/* Breadcrumb banner */
.article-banner {
  background: var(--navy);
  padding: 12px 0;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}
.article-breadcrumb a {
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.article-breadcrumb a:hover { color: var(--gold-light); }
.article-breadcrumb .sep { font-size: .55rem; color: rgba(255,255,255,.3); }
.article-breadcrumb .crumb-current {
  color: var(--gold-light);
  font-weight: 500;
}

/* Two-column layout: article + sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.article-layout-full {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
}
.article-main { min-width: 0; }

/* Meta row */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  color: var(--text-muted);
}
.article-date i { color: var(--gold); font-size: .7rem; }

/* Title */
.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}

/* Lead / excerpt */
.article-lead {
  font-size: 1.04rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

/* Featured image */
.article-img-wrap {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* Body text */
.article-content {
  font-size: .97rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 40px;
}
.article-content p {
  margin-bottom: 1.25em;
}
.article-content p:last-child { margin-bottom: 0; }

/* Back button row */
.article-footer-actions {
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

/* ── Sidebar ── */
.article-sidebar {
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + 24px);
}
.sidebar-heading {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sidebar-news-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.sidebar-news-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(210,163,60,.4);
}
.sidebar-news-card img {
  width: 76px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-news-placeholder {
  width: 76px;
  height: 62px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  font-size: 1.3rem;
}
.sidebar-news-body { flex: 1; min-width: 0; }
.sidebar-news-body h4 {
  font-size: .84rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 640px) {
  .article-title { font-size: 1.5rem; }
  .article-lead  { font-size: .95rem; }
}
@media (max-width: 900px) {
  .ads-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ads-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
}
