/* ========== RESET DASAR ========== */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdfdfd;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* ========== NAVBAR ========== */
.navbar {
  background: linear-gradient(120deg, rgba(13,27,42,0.9), rgba(13,27,42,0.6));
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: background 0.5s ease;
}

.navbar-brand img {
  height: 60px;
  transition: transform 0.3s ease;
}
.navbar-brand img:hover {
  transform: scale(1.08);
}
.navbar-brand span {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  margin-left: 15px;
  position: relative;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link::after {
  content: '';
  height: 2px;
  width: 0;
  background-color: #ffc107;
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffc107;
}

.navbar-auth a {
  color: #ffffff;
  font-weight: 500;
}
.navbar-auth a:hover {
  color: #ffc107;
  text-decoration: underline;
}

.navbar.scrolled {
  background: #212529 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ========== HERO SECTION ========== */
.hero-section {
  height: 100vh;
  background-image: url('assets/bg1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}
.hero-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: slideUp 1s ease-out;
}
.hero-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
  animation: slideUp 1.4s ease-out;
}

/* ========== ANIMASI ========== */
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== FORM & BUTTON ========== */
form.bg-light {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
form.bg-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.btn-primary {
  background-color: #2563eb;
  border: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  background-color: #1e40af;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* ========== FOOTER ========== */
.footer {
  transition: background 0.5s ease;
}

.footer:hover {
  background: linear-gradient(135deg, #001d3d, #003366);
}


  .footer {
  background: linear-gradient(135deg, #003366, #001d3d);
}

.footer a {
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #00bfff;
}

.footer h5 {
  font-size: 1.2rem;
}

.footer p {
  font-size: 0.95rem;
}

.footer-credit {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.95rem;
  color: #00bfff;
  font-weight: 500;
  position: relative;
}

.footer-credit::before {
  content: "💡 ";
}

.footer-credit:hover {
  color: #ffcc00;
  transform: scale(1.05);
  transition: color 0.3s ease, transform 0.3s ease;
}

#footerBrand {
  font-size: 1.4rem;
  color: #00bfff;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  #footerBrand {
    justify-content: flex-start;
  }
}

#footerBrand i {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.tagline-footer {
  font-size: 0.95rem;
  color: #ccc;
}

.tagline-footer em {
  font-style: italic;
  letter-spacing: 0.5px;
}

.footer-info p {
  font-size: 0.95rem;
}

.footer-info i {
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ========== KARTU GALERI UMUM ========== */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
}

/* ========== GALERI DOKUMENTASI ZIGZAG ========== */
.zigzag-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
}
.zigzag-item.reverse {
  direction: rtl;
}
.zigzag-item.reverse .zigzag-text {
  direction: ltr;
}
.zigzag-image {
  width: 100%;
  max-width: 500px;
}
.zigzag-image .gallery-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.zigzag-image .gallery-img:hover {
  transform: scale(1.03);
}
.zigzag-text {
  max-width: 500px;
}
.zigzag-text h5 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.zigzag-text p {
  font-size: 1rem;
  color: #555;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero-section {
    padding: 100px 20px 60px;
  }
  .navbar-nav {
    text-align: center;
  }
  .navbar-nav .nav-link {
    margin-left: 0;
    margin-top: 10px;
  }
  .hero-section h1 {
    font-size: 2.2rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
  .zigzag-item,
  .zigzag-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }
  .zigzag-text {
    margin-top: 15px;
  }
  .zigzag-image .gallery-img {
    height: 220px;
  }
}

/* ========== KONTAK ========== */
.hero-kontak {
  background-image: url('assets/contact.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  position: relative;
}
.hero-kontak::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.hero-kontak div {
  position: relative;
  z-index: 1;
}
.contact-section {
  background-color: #f9fafb;
}
.contact-image img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border-radius: 8px;
}
