/* ======================================================
    DESIGN SYSTEM (MODERN & PREMIUM)
====================================================== */
:root {
  --primary: #2f855a;
  --primary-dark: #1a4d32;
  --primary-light: #f0fdf4;
  --accent: #f6e05e;

  --text-dark: #1a202c;
  --text-muted: #64748b;
  --white: #ffffff;

  --radius-lg: 30px;
  --radius-md: 20px;

  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.05);
  --shadow-strong: 0 30px 60px rgba(0, 0, 0, 0.12);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================================================
    BASE & TYPOGRAPHY
====================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

section {
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* ======================================================
    NAVBAR – MODERN GLASS (HIJAU)
====================================================== */
.custom-navbar {
  background: rgba(47, 133, 90, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.navbar-brand {
  font-weight: 700;
  color: var(--white) !important;
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 42px;
  margin-right: 12px;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 8px 20px !important;
  border-radius: 999px;
  font-weight: 500;
  transition: var(--transition);
}

.navbar .nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white) !important;
}

/* ======================================================
    HERO SECTION (KANAN-KIRI)
====================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: radial-gradient(
      circle at 90% 10%,
      var(--primary-light) 0%,
      transparent 40%
    ),
    radial-gradient(circle at 10% 90%, var(--primary-light) 0%, transparent 40%);
  position: relative;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Teks 60%, Gambar 40% */
  gap: 60px;
  align-items: center;
  padding: 0 20px;
}

.hero-text {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  padding: 60px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
}

.hero-text h4 {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(47, 133, 90, 0.3);
  transition: var(--transition);
}

.hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(47, 133, 90, 0.4);
}

.hero-image img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ======================================================
    VISI & MISI SECTIONS
====================================================== */
.visi-section {
  background: var(--white);
}

.visi-section .container {
  background: var(--primary-light);
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(47, 133, 90, 0.1);
}

.visi-section {
  background: var(--white);
}

.misi-section .container {
  background: var(--primary-light);
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(47, 133, 90, 0.1);
}

/* ======================================================
    TUJUAN – DARK GREEN SECTION
====================================================== */
.tujuan-section {
  background-color: #038014;
  color: var(--white);
}

.tujuan-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
  transition: var(--transition);
}

.tujuan-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* ======================================================
    SAMBUTAN & KONTAK
====================================================== */
.sambutan-section {
  background: linear-gradient(180deg, #ffffff, #038014);
}

.sambutan-wrapper {
  background: #fff;

  padding: 80px;

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-soft);

  display: flex;

  gap: 60px;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;
}

.foto-kepsek-frame {
  width: 300px;

  aspect-ratio: 4 / 6;

  border-radius: 160px 160px 24px 24px;

  overflow: hidden;

  box-shadow: var(--shadow-soft);
}

.hubungi {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.swiper-wrapper {
  border-radius: 20px;
  overflow: hidden;
}

/* ======================================================
    RESPONSIVE DESIGN
====================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    padding: 40px 25px;
  }

  .hero-image {
    order: -1; /* Gambar di atas saat di HP */
  }

  .hubungi {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
}
