/* ============================================
   AREBI DPD BANTEN - MAIN STYLES
   ============================================ */

/* === CSS VARIABLES === */
:root {
  /* Colors */
  --primary-yellow: #FFD700;
  --primary-black: #000000;
  --primary-white: #FFFFFF;
  --accent-red: #E53935;
  --text-dark: #1A1A1A;
  --text-grey: #555555;
  --bg-light: #F5F5F5;
  --bg-offwhite: #FAFAFA;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-md: 0 5px 25px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 50px rgba(0,0,0,0.2);
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--primary-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary-yellow);
  color: var(--primary-black);
}

.btn-primary:hover {
  background: #E6C200;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--primary-black);
  color: var(--primary-white);
}

.btn-secondary:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--primary-white);
  color: var(--primary-black);
}

/* === HEADER & NAVIGATION === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-fast);
}

.header.scrolled {
  background: rgba(255,255,255,0.98);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

.header.scrolled .nav-link {
  color: var(--text-dark);
}

.header.scrolled .logo-text {
  color: var(--primary-black);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-white);
  transition: var(--transition-fast);
}

.logo-text span {
  color: var(--primary-yellow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--primary-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-yellow);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.header.scrolled .nav-toggle span {
  background: var(--primary-black);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.8) 0%,
    rgba(0,0,0,0.6) 50%,
    rgba(0,0,0,0.4) 100%
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--primary-white);
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,215,0,0.2);
  border: 1px solid var(--primary-yellow);
  color: var(--primary-yellow);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-title .highlight {
  color: var(--primary-yellow);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-white);
  text-align: center;
  animation: bounce 2s infinite;
}

.hero-scroll span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
}

/* === SECTION COMMON === */
.section {
  padding: var(--section-padding);
}

.section-dark {
  background: var(--primary-black);
  color: var(--primary-white);
}

.section-light {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  background: var(--primary-yellow);
  color: var(--primary-black);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 15px;
}

.section-title .highlight {
  color: var(--primary-yellow);
}

.section-desc {
  font-size: 17px;
  opacity: 0.8;
}

/* === KEUNGGULAN / BENEFITS === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--primary-white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition-fast);
  border: 1px solid #eee;
}

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

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFA500 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
}

.benefit-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.benefit-desc {
  font-size: 15px;
  color: var(--text-grey);
}

/* === ABOUT PREVIEW === */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-yellow);
  border-radius: 20px;
  z-index: -1;
}

.about-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
  font-size: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-yellow);
}

.stat-label {
  font-size: 13px;
  opacity: 0.8;
}

/* === KEGIATAN PREVIEW === */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.event-card {
  background: var(--primary-white);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-fast);
}

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

.event-image {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-yellow);
  color: var(--primary-black);
  padding: 8px 15px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
}

.event-content {
  padding: 25px;
}

.event-category {
  display: inline-block;
  background: rgba(255,215,0,0.2);
  color: var(--primary-black);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.event-title {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.event-excerpt {
  font-size: 14px;
  color: var(--text-grey);
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--primary-black) 0%, #222 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23FFD700" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 200px;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(24px, 4vw, 40px);
  color: var(--primary-white);
  margin-bottom: 15px;
}

.cta-title .highlight {
  color: var(--primary-yellow);
}

.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

/* === FOOTER === */
.footer {
  background: var(--primary-black);
  color: var(--primary-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.7;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-yellow);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-yellow);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-yellow);
  color: var(--primary-black);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  opacity: 0.6;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-7px);
  }
}

/* === SCROLL PROGRESS === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary-yellow);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s;
}

/* === PLACEHOLDER === */
.placeholder {
  background: linear-gradient(135deg, #ddd 0%, #eee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

.placeholder::before {
  content: 'Gambar Akan Ditambahkan';
}
