/* ==========================================================================
   Sanggar Tari Sriwedari - Professional Main Stylesheet
   Theme: Royal Indonesian Cultural (Royal Crimson, Warm Gold, Champagne & Slate)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Design System --- */
:root {
  --primary: #800A1D;
  --primary-dark: #500612;
  --primary-light: #A3182E;
  --primary-gradient: linear-gradient(135deg, #800A1D 0%, #500612 100%);

  --gold: #D4AF37;
  --gold-light: #F5E6AB;
  --gold-dark: #A48118;
  --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #997A15 100%);

  --dark-bg: #0F1015;
  --dark-surface: #181A22;
  --dark-card: #222531;
  --dark-border: rgba(212, 175, 55, 0.2);

  --bg-light: #FDFBF7;
  --bg-subtle: #F6F2EA;
  --card-light: #FFFFFF;

  --text-dark: #1C1E24;
  --text-muted: #5A6275;
  --text-light: #F9FAFB;
  --text-gold: #E5C158;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(128, 10, 29, 0.12);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max-width: 1280px;
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 85px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Utility Classes --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.text-gold {
  color: var(--gold-dark);
}

.bg-primary {
  background: var(--primary-gradient);
  color: #fff;
}

.bg-dark {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.bg-subtle {
  background-color: var(--bg-subtle);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid var(--gold);
}

.badge-primary {
  background: rgba(128, 10, 29, 0.1);
  color: var(--primary);
  border: 1px solid rgba(128, 10, 29, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--dark-bg);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* --- Section Header Component --- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 0.75rem auto 0 auto;
  border-radius: var(--radius-full);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.bg-dark .section-title {
  color: #ffffff;
}

.bg-dark .section-desc {
  color: #A0A6B8;
}

/* --- Image Placeholder Styling (Clean & Replaceable) --- */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #2D1017 0%, #171922 100%);
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--gold-light);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.img-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.img-placeholder i,
.img-placeholder svg {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.img-placeholder span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.img-placeholder small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
  font-family: monospace;
}

.img-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-container:hover img {
  transform: scale(1.05);
}

/* --- Navbar Component --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 0.85rem 0;
  background: rgba(15, 16, 21, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled {
  padding: 0.65rem 0;
  background: rgba(10, 11, 15, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #ffffff;
  flex-shrink: 0;
}

.brand-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  padding: 2px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
  flex-shrink: 0;
  display: block;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-bg);
  font-size: 1.4rem;
  box-shadow: var(--shadow-gold);
}

.brand-text h1 {
  font-size: 1.22rem;
  color: #ffffff;
  letter-spacing: 0.5px;
  font-family: 'Playfair Display', serif;
  white-space: nowrap;
  margin: 0;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 340px;
  height: 100vh;
  background: var(--dark-surface);
  border-left: 1px solid var(--dark-border);
  z-index: 1100;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
}

.drawer-nav .nav-link {
  font-size: 1.1rem;
  display: block;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  background: linear-gradient(rgba(15, 16, 21, 0.78), rgba(15, 16, 21, 0.92)), radial-gradient(circle at 70% 30%, rgba(128, 10, 29, 0.4) 0%, transparent 60%);
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4.5rem;
  overflow: visible;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(#D4AF37 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  color: #ffffff;
  z-index: 2;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-content-center {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content-center .hero-subtitle {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content-center .hero-btns {
  justify-content: center;
}

.hero-preview {
  position: relative;
  z-index: 2;
}

.hero-card-frame {
  position: relative;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  max-width: 520px;
  margin: 0 auto;
}

.hero-card-img {
  height: 380px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.hero-badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--dark-surface);
  border: 1px solid var(--gold);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* --- Stats Counter Bar --- */
.stats-bar {
  background: var(--dark-surface);
  padding: 2.5rem 0;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: #A0A6B8;
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- Profil Sanggar Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(128, 10, 29, 0.2);
  margin-top: 1.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--primary);
}

.timeline-year {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.timeline-title {
  font-size: 1.15rem;
  margin: 0.2rem 0 0.5rem 0;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.vision-mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.vm-card {
  background: var(--card-light);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.vm-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(128, 10, 29, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Instructors / Pelatih Grid */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.instructor-card {
  background: var(--card-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.instructor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.instructor-img {
  height: 280px;
}

.instructor-img img {
  object-position: 50% 12% !important;
}

.instructor-info {
  padding: 1.5rem;
  text-align: center;
}

.instructor-role {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.instructor-name {
  font-size: 1.3rem;
  margin-bottom: 0;
}

.instructor-specialty {
  display: none !important;
}

/* --- Program & Kelas Tari Section --- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--card-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.class-card {
  background: var(--card-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.class-img {
  height: 220px;
  position: relative;
}

.class-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.class-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.class-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.class-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.class-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.class-price-tag {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.class-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.class-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Schedule Table */
.schedule-container {
  margin-top: 3.5rem;
  background: var(--card-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.table-responsive {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.schedule-table th,
.schedule-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.schedule-table th {
  background: var(--bg-subtle);
  color: var(--primary-dark);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}

.schedule-table tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

/* --- Galeri Section --- */
.gallery-search-bar {
  max-width: 480px;
  margin: 0 auto 2rem auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-gold);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 16, 21, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.gallery-tag {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* --- Berita dan Artikel Section --- */
.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  background: var(--card-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.news-featured-img {
  min-height: 320px;
}

.news-featured-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: var(--card-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  height: 200px;
}

.news-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.news-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* --- Prestasi Section --- */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.achievement-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.trophy-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--dark-bg);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.achievement-year {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.achievement-title {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.achievement-event {
  color: #A0A6B8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* --- Testimoni Section --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--card-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.testimonial-stars {
  color: var(--gold-dark);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Kontak Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(128, 10, 29, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--card-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #D1D5DB;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: #FAFAFA;
}

.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(128, 10, 29, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 3.5rem;
}

.faq-item {
  background: var(--card-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- Modals System --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 16, 21, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--card-light);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
}

.modal-title {
  font-size: 1.4rem;
  color: var(--primary-dark);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--dark-surface);
  border: 1px solid var(--gold);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer Component */
.footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-family: 'Playfair Display', serif;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gold-gradient);
  color: var(--dark-bg);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .about-grid,
  .contact-grid,
  .news-featured {
    grid-template-columns: 1fr;
  }

  .instructors-grid,
  .classes-grid,
  .gallery-grid,
  .news-grid,
  .achievements-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-card-img {
    height: 300px;
  }

  .instructors-grid,
  .classes-grid,
  .gallery-grid,
  .news-grid,
  .achievements-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .vision-mission-cards {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- High Performance Image Loading & Skeletons --- */
.img-container {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.05) 8%, rgba(255, 255, 255, 0.12) 18%, rgba(255, 255, 255, 0.05) 33%);
  background-size: 200% 100%;
}

.bg-subtle .img-container {
  background: linear-gradient(110deg, #eceff1 8%, #f5f7fa 18%, #eceff1 33%);
  background-size: 200% 100%;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  gap: 0.5rem;
}

.img-fluid.lazy-img {
  opacity: 0.95;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s ease;
}