/*-- Base Styles -->
/* ====================Base Styles====================================================================== */

/* ====================Base Styles====================================================================== */

  /* Variables */
  
/* Base Variables */
:root {
    /* Colors */
    --primary-color: #1a237e;
    --secondary-color: #0d6efd;
    --accent-color: #ffd700;
    --success-color: #10b981;
    --info-color: #3b82f6;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Heights */
    --header-height: 60px;
    --navbar-height: 65px;
    --total-header: calc(var(--header-height) + var(--navbar-height));
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
}

/* Reset & Base Styles */
body {
    font-family: system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Header Styles */
.site-header {
    background: var(--primary-color);
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1001;  /* Z-index lebih tinggi dari navbar */
}





/* Navbar Styles */
.main-navbar {
    background: white;
    height: var(--navbar-height);
    position: fixed;
    width: 100%;
    top: var(--header-height);  /* Awalnya tepat di bawah header */
    left: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Class untuk menggeser navbar ke atas saat scroll */
.main-navbar.sticky {
    transform: translateY(calc(-1 * var(--header-height)));  /* Geser ke atas sejauh tinggi header */
}
  /* Dark Mode */
  .dark .site-header {
    background: #1a1a1a;
  }

  /* Media Queries */
  @media (max-width: 768px) {
    :root {
      --header-height: 60px;
      --navbar-height: 60px;
    }

    .container {
      padding-left: 1rem;
      padding-right: 1rem;
    }
  }

  


/* ====================CSS Seting Style NAVBAR====================================================================== */

  /* Navbar Styles */
  .main-navbar {
    position: fixed;
    top: 60px; /* Sesuaikan dengan tinggi header */
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: white;
}

  .navbar-logo {
    height: 40px;
    width: auto;
  }

  .navbar-link {
    position: relative;
    height: 100%;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    transition: all 0.2s ease;
  }

  .navbar-link:hover {
    color: var(--secondary-color);
  }

  .navbar-link i {
    color: var(--secondary-color);
  }

  /* Dropdown Styles */
  .navbar-dropdown {
    position: relative;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
  }

  .navbar-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Dark Mode */
  .dark .main-navbar {
    background: #1f2937;
  }

  .dark .navbar-link {
    color: #e5e7eb;
  }

  .dark .dropdown-menu {
    background: #1f2937;
    border: 1px solid #374151;
  }

  /* Mobile Adjustments */
  @media (max-width: 1024px) {
    .desktop-menu {
      display: none;
    }
  }


/*-- CSS Seting Mobile Android Style NAVBAR -->

  /* Mobile Menu Styles */
  .offcanvas {
    transition: transform 0.3s ease-in-out !important;
  }

  .offcanvas-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .collapse {
    display: none;
    transition: all 0.2s ease-out;
  }

  .collapse.show {
    display: block;
  }

  .collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
  }

  /* Mobile Menu Animation */
  #programSubmenu {
    background: transparent;
  }

  #programSubmenu>div {
    transition: padding 0.2s ease;
  }

  /* Close Button Enhancement */
  .offcanvas-header .btn-close {
    background: none;
    opacity: 1;
  }

  /* Dark Mode for Mobile Menu */
  .dark .offcanvas {
    background-color: #111827;
    color: #fff;
  }

  .dark .offcanvas-header {
    border-bottom-color: #374151;
  }

  @media (max-width: 768px) {
    .offcanvas {
      width: 80% !important;
    }
  }



  /* ============================Footer Styles================================================================================== */


/* Footer Styles */
/* Simpan sebagai public/assets/css/style.css */

/* Footer Styles */
.site-footer {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 2.5rem 0 1.5rem 0; /* Reduced padding */
}

.footer-section {
    margin-bottom: 1.5rem; /* Reduced margin */
}

.footer-logo {
    max-height: 60px; /* Reduced size */
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-title {
    color: #fff;
    font-size: var(--text-base); /* Smaller font size */
    font-weight: 600;
    margin-bottom: 1rem; /* Reduced margin */
}

.footer-link {
    color: #9ca3af;
    font-size: var(--text-sm); /* Smaller font size */
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Social Media Icons with Colors */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.25rem; /* Slightly smaller */
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: #374151;
    color: #fff; /* Changed to white for better visibility */
    transition: all 0.3s ease;
    font-size: var(--text-sm);
}

/* Colored Social Icons */
.social-link.facebook {
    background-color: #1877f2;
}

.social-link.twitter {
    background-color: #1da1f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.youtube {
    background-color: #ff0000;
}

.social-link:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.footer-contact {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.75rem; /* Reduced margin */
    font-size: var(--text-sm);
}

.footer-contact i {
    color: var(--secondary-color); /* Colored icons */
    margin-top: 0.25rem;
}

/* Copyright Section */
.copyright-section {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: var(--text-xs);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --header-height: 55px;
        --navbar-height: 60px;
    }

    .site-footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Dark Mode */
.dark .site-header {
    background: #111827;
}

.dark .main-navbar {
    background: #1f2937;
}

.dark .site-footer {
    background-color: #111827;
}


/* ============================Main Content 1==================================================== */
/* Hero Section Styles */
/* Hero Banner Styles */
.hero-banner {
    position: relative;
    background-color: #000;
}

.info-panel {
    animation: fadeInLeft 0.8s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.welcome-text {
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

/* Weather Icon Animation */
#weather-icon {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#weather-icon.tw-animate-fade-in {
    opacity: 1;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading State */
.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-banner {
        min-height: 600px;
    }
    
    .welcome-text {
        margin-top: 2rem;
    }
}

/* ============================Marque Content 1==================================================== */
/* Marquee Styles */
.marquee-wrapper {
    position: relative;
    width: 100%;
}

.marquee-content {
    display: flex;
    width: max-content;
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Pause on hover */
.marquee-wrapper:hover .animate-marquee {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .animate-marquee {
        animation-duration: 20s;
    }
}
/* ============================Main Content 1==================================================== */

/* ============================Main News Slider Styles==================================================== */
/* News Slider Styles */
.news-slider {
    position: relative;
    overflow: hidden;
}

.slides-container {
    position: relative;
}

.news-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.news-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Hover effects */
.slider-btn {
    opacity: 0.7;
    transform: scale(0.9);
    transition: all 0.2s ease;
}

.slider-btn:hover {
    opacity: 1;
    transform: scale(1);
}

/* Dots animation */
.dot {
    transition: all 0.2s ease;
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Content fade in animation */
.news-slide.active .news-content {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Line clamp for title */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* ============================Main Content 1==================================================== */
/* ============================Main Gallery Styles1==================================================== */
/* Compact Gallery Styles */
/* Letakkan CSS ini di file style.css Anda */

/* Gallery base styles */
.gallery-section {
    background-color: transparent;
}

.gallery-item {
    transition: transform 0.2s ease;
}

/* Image styles */
.gallery-item img {
    transition: transform 0.3s ease;
}

/* Card hover effects */
.gallery-item:hover {
    transform: translateY(-2px);
}

/* Text truncation */
.tw-line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Modal styles */
.modal-dialog {
    margin: 1rem;
    max-width: 90%;
}

@media (min-width: 768px) {
    .modal-dialog {
        max-width: 700px;
        margin: 1.75rem auto;
    }
}

/* Loading state */
.gallery-item img[loading] {
    background-color: #f3f4f6;
}
/* ============================Main Content 1==================================================== */


/* ============================Main Carousel Styles=================================================== */
/* Carousel Styles */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    padding: 0 1rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Custom indicator styles */
.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #3b82f6;
    transform: scale(1.2);
}

/* Official image hover effect */
.carousel-item img {
    transition: transform 0.3s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

/* ============================Main Content 1==================================================== */

/* ============================Main Agenda Styles==================================================== */
/* Agenda Styles */
.agenda-item {
    transition: transform 0.2s ease;
}

.agenda-item:hover {
    transform: translateX(4px);
}

/* Date box animation */
.agenda-item .date-box {
    transition: all 0.3s ease;
}

.agenda-item:hover .date-box {
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Loading state */
.agenda-list.loading {
    opacity: 0.7;
}

/* Empty state animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.empty-state-icon {
    animation: pulse 2s infinite;
}
/* ============================Main Content 1==================================================== */
/* ============================Main Content 1==================================================== */
/* ============================Main Content 1==================================================== */
/* ============================Main Content 1==================================================== */