/* ========================================
   🎱 Drachen Billiard - Ultra Responsive
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;900&display=swap');
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

:root {
  --drachen-black: #0a0a0a;
  --drachen-red: #b91c1c;
  --drachen-gold: #fbbf24;
  --drachen-gold-dark: #f59e0b;
  --drachen-gray: #d1d5db;
  --drachen-gray-dark: #9ca3af;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--drachen-black);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* Force prevent horizontal scroll */
.home-hero-section,
.about-intro-section,
.horizontal-card-section,
.partners-section,
.faq-section,
.contact-section,
section {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ========================================
   CONTAINER RESPONSIVE
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 576px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ========================================
   NAVBAR RESPONSIVE FIX
   ======================================== */
nav.navbar, 
header.app-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 15px !important;
  box-sizing: border-box;
}

.navbar-brand, 
.header-logo {
  flex-shrink: 0;
  max-width: 140px;
}

@media (max-width: 576px) {
  .navbar-brand,
  .header-logo {
    max-width: 120px;
  }
}

.navbar-brand img,
.header-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.navbar-nav, 
.header-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.navbar-toggler {
  padding: 8px;
  font-size: 1.25rem;
  border: none;
  background: transparent;
}

@media (max-width: 991px) {
  .navbar-collapse {
    width: 100%;
    margin-top: 15px;
  }
  
  .navbar-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-nav .nav-item {
    width: 100%;
    padding: 8px 0;
  }
  
  .navbar-nav .nav-link {
    width: 100%;
    padding: 10px 15px;
  }
}

/* ========================================
   🎯 HERO SECTION - MOBILE FIRST
   ======================================== */
.home-hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 15px 60px;
}

@media (max-width: 768px) {
  .home-hero-section {
    padding: 100px 15px 60px;
    min-height: 100svh;
  }
}

@media (max-width: 576px) {
  .home-hero-section {
    padding: 120px 10px 60px;
  }
}

/* Animated Background */
.hero-animated-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.animated-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  animation: float 20s infinite ease-in-out;
  will-change: transform;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--drachen-red);
  top: -10%;
  left: -10%;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: var(--drachen-gold);
  bottom: -10%;
  right: -10%;
  animation-delay: 7s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--drachen-red);
  top: 50%;
  left: 50%;
  animation-delay: 14s;
}

@media (max-width: 576px) {
  .shape-1 { width: 150px; height: 150px; }
  .shape-2 { width: 120px; height: 120px; }
  .shape-3 { width: 100px; height: 100px; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -30px) rotate(90deg); }
  50% { transform: translate(-30px, 30px) rotate(180deg); }
  75% { transform: translate(-50px, -20px) rotate(270deg); }
}

.hero-background-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-gradient {
  background: linear-gradient(135deg, 
    var(--drachen-black) 0%, 
    var(--drachen-red) 50%, 
    var(--drachen-black) 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(0, 0, 0, 0.5) 50%,
    rgba(10, 10, 10, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  padding: 0 15px;
}

@media (max-width: 576px) {
  .hero-content {
    padding: 0 10px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  color: var(--drachen-gold);
  margin-bottom: 20px;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .hero-badge {
    font-size: 12px;
    padding: 6px 15px;
  }
}

.home-hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .home-hero-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .home-hero-title {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .home-hero-title {
    font-size: 28px;
  }
}

@media (max-width: 400px) {
  .home-hero-title {
    font-size: 24px;
  }
}

.highlight-gold {
  color: var(--drachen-gold);
  display: inline-block;
}

.glitch {
  position: relative;
}

.home-hero-subtitle {
  font-size: 18px;
  color: var(--drachen-gray);
  line-height: 1.8;
  margin: 0 auto 30px;
  max-width: 600px;
}

@media (max-width: 768px) {
  .home-hero-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .home-hero-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }
}

.home-hero-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 576px) {
  .home-hero-cta-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cta-button {
    padding: 12px 24px;
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .cta-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }
}

.btn-drachen-primary {
  background: linear-gradient(135deg, var(--drachen-red), #991b1b);
  color: #fff;
  box-shadow: 0 10px 30px rgba(185, 28, 28, 0.3);
}

.btn-drachen-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(185, 28, 28, 0.5);
  color: #fff;
}

.btn-drachen-outline {
  border: 2px solid var(--drachen-gold);
  color: var(--drachen-gold);
  background: transparent;
}

.btn-drachen-outline:hover {
  background: var(--drachen-gold);
  color: var(--drachen-black);
  transform: translateY(-2px);
}

.btn-drachen-outline-white {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-drachen-outline-white:hover {
  background: #fff;
  color: var(--drachen-red);
}

/* ========================================
   SECTION UTILITIES - MOBILE FIRST
   ======================================== */
.section-padding {
  padding: 80px 0;
}

@media (max-width: 992px) {
  .section-padding {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 40px 0;
  }
}

.section-tagline {
  display: inline-flex;
  align-items: center;
  color: var(--drachen-gold);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 576px) {
  .section-tagline {
    font-size: 12px;
  }
}

.section-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .section-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 24px;
  }
}

.highlight-red {
  color: var(--drachen-red);
}

.section-description {
  font-size: 17px;
  line-height: 1.8;
  color: black;
}

@media (max-width: 768px) {
  .section-description {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .section-description {
    font-size: 14px;
  }
}

/* ========================================
   🎱 ABOUT SECTION
   ======================================== */
.about-intro-section {
  background: #ffffff;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
}

@media (max-width: 576px) {
  .feature-item {
    font-size: 14px;
  }
}

.feature-item i {
  color: var(--drachen-gold);
  font-size: 22px;
  flex-shrink: 0;
}

.feature-item span {
  color: #1a1a1a;
}

.image-showcase {
  position: relative;
  margin-top: 30px;
}

@media (max-width: 991px) {
  .image-showcase {
    margin-top: 40px;
  }
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.image-decoration {
  display: none;
}

@media (min-width: 992px) {
  .image-decoration {
    display: block;
    position: absolute;
    border-radius: 20px;
  }
  
  .decoration-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--drachen-red), transparent);
    top: -15px;
    left: -15px;
  }
  
  .decoration-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--drachen-gold), transparent);
    bottom: -15px;
    right: -15px;
  }
}

/* ========================================
   HORIZONTAL SCROLL - MOBILE OPTIMIZED
   ======================================== */
.horizontal-card-section {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  position: relative;
  gap: 15px;
}

@media (max-width: 768px) {
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.section-header-row .section-title {
  margin: 0;
  font-size: 32px;
}

@media (max-width: 768px) {
  .section-header-row .section-title {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .section-header-row .section-title {
    font-size: 22px;
  }
}

.btn-view-all {
  color: var(--drachen-gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border: 2px solid var(--drachen-gold);
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .btn-view-all {
    font-size: 13px;
    padding: 8px 16px;
  }
}

.btn-view-all:hover {
  background: var(--drachen-gold);
  color: var(--drachen-black);
  transform: translateY(-2px);
}

.btn-view-all.text-white {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-view-all.text-white:hover {
  background: #fff;
  color: var(--drachen-red);
  border-color: #fff;
}

.btn-view-all.text-dark {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.btn-view-all.text-dark:hover {
  background: #1a1a1a;
  color: #fff;
}

.horizontal-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 15px 0 25px;
  margin: 0 -15px;
  padding-left: 15px;
  padding-right: 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--drachen-red) rgba(255, 255, 255, 0.05);
}

@media (max-width: 576px) {
  .horizontal-scroll-container {
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

.horizontal-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
  background: var(--drachen-red);
  border-radius: 10px;
}

.scrollable-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  padding: 5px;
}

@media (max-width: 576px) {
  .scrollable-row {
    gap: 12px;
  }
}

/* ========================================
   ARTICLE CARD - MOBILE OPTIMIZED
   ======================================== */
.article-card {
  flex: 0 0 280px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1f1f1f, #1a1a1a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .article-card {
    flex: 0 0 260px;
  }
}

@media (max-width: 576px) {
  .article-card {
    flex: 0 0 240px;
  }
}

@media (max-width: 400px) {
  .article-card {
    flex: 0 0 220px;
  }
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: var(--drachen-gold);
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.2);
}

.card-link-wrapper {
  text-decoration: none;
  color: #fff;
  display: block;
}

.card-image-container {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #222;
}

@media (max-width: 576px) {
  .card-image-container {
    height: 160px;
  }
}

.card-image-container img,
.product-video-thumb,
.event-detail-img,
.gallery-image,
.gallery-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .card-image-container img {
  transform: scale(1.1);
}

.card-placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--drachen-red), var(--drachen-black));
  font-size: 50px;
  color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 576px) {
  .card-placeholder-image {
    font-size: 40px;
  }
}

.card-placeholder-product {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.card-content {
  padding: 18px;
  background: white;
}

@media (max-width: 576px) {
  .card-content {
    padding: 15px;
  }
}

.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .card-tag {
    font-size: 10px;
    padding: 5px 10px;
  }
}

.tag-voucher {
  background: linear-gradient(135deg, var(--drachen-gold), var(--drachen-gold-dark));
  color: var(--drachen-black);
}

.tag-event {
  background: linear-gradient(135deg, var(--drachen-red), #991b1b);
  color: #fff;
}

.bg-gold {
  background: linear-gradient(135deg, var(--drachen-gold), var(--drachen-gold-dark));
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 47px;
}

@media (max-width: 576px) {
  .card-title {
    font-size: 16px;
    height: 42px;
  }
}

.article-card:hover .card-title {
  color: var(--drachen-gold);
}

.card-description {
  font-size: 14px;
  color: #4a4a4a;
  margin-bottom: 12px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 42px;
}

@media (max-width: 576px) {
  .card-description {
    font-size: 13px;
    height: 39px;
  }
}

.text-muted {
  color: #6b7280 !important;
}

.card-date {
  font-size: 12px;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
}

@media (max-width: 576px) {
  .card-date {
    font-size: 11px;
    padding: 5px 10px;
  }
}

.text-secondary {
  color: #6b7280 !important;
}

/* ========================================
   GALLERY CARD
   ======================================== */
.article-card-gallery {
  flex: 0 0 220px;
  aspect-ratio: 1;
}

@media (max-width: 576px) {
  .article-card-gallery {
    flex: 0 0 180px;
  }
}

@media (max-width: 400px) {
  .article-card-gallery {
    flex: 0 0 160px;
  }
}

.article-card-gallery .card-image-container {
  height: 100%;
}

.gallery-zoom-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.85), rgba(251, 191, 36, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 45px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

@media (max-width: 576px) {
  .gallery-zoom-icon {
    font-size: 35px;
  }
}

.article-card-gallery:hover .gallery-zoom-icon {
  opacity: 1;
}

.gallery-video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #fff;
  background: rgba(185, 28, 28, 0.9);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

@media (max-width: 576px) {
  .gallery-video-icon {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}

/* ========================================
   PRODUCT SECTION
   ======================================== */
.intro-product-section {
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  padding: 40px 20px;
  border-radius: 20px;
  margin-bottom: 40px;
}

@media (max-width: 576px) {
  .intro-product-section {
    padding: 30px 15px;
  }
}

.intro-product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.z-index-2 {
  position: relative;
  z-index: 2;
}

.text-gold {
  color: var(--drachen-gold) !important;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.product-main-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .product-main-image {
    max-width: 70%;
    margin-top: 30px;
  }
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section {
  background: #ffffff;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
}

@media (max-width: 576px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
  }
}

.partner-logo {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  filter: grayscale(100%) opacity(0.6);
}

@media (max-width: 576px) {
  .partner-logo {
    padding: 15px;
  }
}

.partner-logo img,
.partner-logo-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-5px);
  border-color: var(--drachen-gold);
}

/* ========================================
   FAQ SECTION - BACKGROUND MERAH
   ======================================== */
.faq-section {
  background: linear-gradient(to bottom, var(--drachen-red) 0%, var(--drachen-black) 100%);
}

.faq-section .section-tagline,
.faq-section .section-title,
.faq-section .section-description {
  color: #fff !important;
}

.faq-section .highlight-gold {
  color: var(--drachen-gold) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--drachen-gold);
}

.faq-header {
  margin: 0;
}

.faq-button {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 18px 20px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .faq-button {
    font-size: 15px;
    padding: 15px 18px;
  }
}

@media (max-width: 576px) {
  .faq-button {
    font-size: 14px;
    padding: 14px 15px;
  }
}

.faq-button:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.faq-button::after {
  content: '\f282';
  font-family: 'bootstrap-icons';
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-size: 16px;
  color: var(--drachen-gold);
}

@media (max-width: 576px) {
  .faq-button::after {
    font-size: 14px;
  }
}

.faq-button:not(.collapsed)::after {
  transform: rotate(180deg);
  content: '\f286';
}

.faq-body {
  padding: 0 20px 18px 20px;
  color: var(--drachen-gray);
  line-height: 1.7;
  font-size: 15px;
}

@media (max-width: 768px) {
  .faq-body {
    font-size: 14px;
    padding: 0 18px 15px 18px;
  }
}

@media (max-width: 576px) {
  .faq-body {
    font-size: 13px;
    padding: 0 15px 14px 15px;
  }
}

.accordion-collapse.collapse {
  visibility: unset;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  background: #ffffff;
}

.contact-section .section-title {
  color: #1a1a1a !important;
}

.contact-section .section-description {
  color: #4a4a4a !important;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 576px) {
  .section-header {
    margin-bottom: 30px;
  }
}

.contact-info-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .contact-info-group {
    gap: 18px;
  }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.contact-info-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(185, 28, 28, 0.1);
  border: 1px solid rgba(185, 28, 28, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--drachen-red);
  font-size: 22px;
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .contact-info-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

.contact-info-item:hover .contact-info-icon {
  background: var(--drachen-red);
  color: #fff;
  transform: scale(1.1);
}

.contact-info-text h5 {
  font-weight: 700;
  font-size: 17px;
  color: #1a1a1a;
  margin-bottom: 5px;
}

@media (max-width: 576px) {
  .contact-info-text h5 {
    font-size: 16px;
  }
}

.contact-info-text p {
  color: #4a4a4a;
  margin: 0;
  font-size: 15px;
}

@media (max-width: 576px) {
  .contact-info-text p {
    font-size: 14px;
  }
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(185, 28, 28, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 450px;
  width: 100%;
}

@media (max-width: 768px) {
  .map-container {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .map-container {
    height: 300px;
  }
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ========================================
   BACKGROUND UTILITIES
   ======================================== */
.bg-drachen-red-gradient {
  background: linear-gradient(to bottom, var(--drachen-red) 0%, var(--drachen-black) 100%);
}

/* ========================================
   TEXT COLOR FIXES - CRITICAL
   ======================================== */
.text-dark,
.text-dark * {
  color: #1a1a1a !important;
}

.text-white,
.text-white * {
  color: #ffffff !important;
}

/* Pastikan semua text di card dengan background putih hitam */
.article-card .card-content {
  background: white;
}

.article-card .card-content .card-title {
  color: #1a1a1a !important;
}

.article-card .card-content .card-description {
  color: #4a4a4a !important;
}

.article-card .card-content .card-date {
  color: #6b7280 !important;
}

/* Text di section putih */
.about-intro-section .section-title,
.about-intro-section .section-description,
.about-intro-section .feature-item,
.about-intro-section .feature-item span {
  color: #1a1a1a !important;
}

.contact-section .section-title,
.contact-section .section-description,
.contact-section .contact-info-text h5,
.contact-section .contact-info-text p {
  color: #1a1a1a !important;
}

.contact-section .contact-info-text p {
  color: #4a4a4a !important;
}

/* ========================================
   BOOTSTRAP GRID SYSTEM
   ======================================== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col-lg-4,
.col-lg-6,
.col-lg-8 {
  position: relative;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 576px) {
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .col-lg-4,
  .col-lg-6,
  .col-lg-8 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

.align-items-center {
  align-items: center;
}

.g-5 {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

.g-5 > * {
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

@media (max-width: 768px) {
  .g-5 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }
}

@media (max-width: 576px) {
  .g-5 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }
}

/* ========================================
   SPACING UTILITIES
   ======================================== */
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

@media (max-width: 576px) {
  .mb-5 { margin-bottom: 2rem; }
  .mt-5 { margin-top: 2rem; }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
  text-align: center;
}

.position-relative {
  position: relative;
}

.rounded-3 {
  border-radius: 0.75rem;
}

.rounded-4 {
  border-radius: 1rem;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

/* ========================================
   LOADING ANIMATION
   ======================================== */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.article-card.loading {
  background: linear-gradient(
    90deg,
    #1a1a1a 0%,
    #252525 20%,
    #1a1a1a 40%,
    #1a1a1a 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
}

/* ========================================
   FADE IN ANIMATION
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   TYPING EFFECT
   ======================================== */
.typing-effect {
  position: relative;
  display: inline-block;
}

.typing-effect::after {
  content: '|';
  position: absolute;
  right: -10px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ========================================
   GLITCH EFFECTS (OPTIONAL)
   ======================================== */
.glitch {
  position: relative;
}

@media (min-width: 992px) {
  .glitch::before,
  .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
  }
  
  .glitch::before {
    animation: glitch-1 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
  }
  
  .glitch::after {
    animation: glitch-2 3s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translate(2px, 2px);
  }
}

@keyframes glitch-1 {
  0%, 100% { clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); }
  50% { clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%); }
}

@keyframes glitch-2 {
  0%, 100% { clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); }
  50% { clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%); }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .hero-animated-bg,
  .animated-shape,
  .hero-overlay,
  .cta-button,
  .btn-view-all,
  .navbar {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .section-title,
  .card-title {
    color: black !important;
  }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */
.cta-button:focus,
.btn-view-all:focus,
.faq-button:focus {
  outline: 3px solid var(--drachen-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   FIX UNTUK SAFARI iOS
   ======================================== */
@supports (-webkit-touch-callout: none) {
  .home-hero-section {
    min-height: -webkit-fill-available;
  }
  
  body {
    min-height: -webkit-fill-available;
  }
}

/* ========================================
   PREVENT TEXT SELECTION ON BUTTONS
   ======================================== */
.cta-button,
.btn-view-all,
.faq-button,
.card-tag {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* ========================================
   SMOOTH SCROLLING
   ======================================== */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   FORCE HARDWARE ACCELERATION
   ======================================== */
.article-card,
.cta-button,
.partner-logo,
.contact-info-icon {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

/* ========================================
   END OF CSS FILE
   ======================================== */