/* ==================== GLOBAL ==================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: black;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) scale(0.3);
  background: white;
  color: black;
  border-radius: 40px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 1000;
}

.navbar.show {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.logo img {
  height: 35px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.nav-link {
  text-decoration: none;
  color: black;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background: #ccc;
}

.hamburger {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* ========== RESPONSIVE NAVBAR ========== */
@media (max-width: 1200px) {
  .navbar {
    width: 85%;
  }
}

@media (max-width: 992px) {
  .navbar {
    width: 90%;
    justify-content: space-between;
    padding: 10px 15px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    flex-direction: column;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .nav-link {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .navbar {
    width: 95%;
    border-radius: 25px;
  }

  .logo img {
    height: 28px;
  }

  .nav-link {
    font-size: 15px;
  }
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: #444;
  color: white;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.hero-content h1 {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.fotopanah {
  height: 40px;
  transform: rotate(180deg);
}

.arrow:hover {
  background: white;
  color: #444;
  transform: translateY(5px);
}

/* Hero Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .arrow {
    width: 40px;
    height: 40px;
  }
}

/* ==================== CONTENT ==================== */
.content {
  background: #fff;
  color: black;
  padding: 50px 20px;
}

/* ==================== SECTION ==================== */
.section {
  margin: 40px auto;
  max-width: 900px;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.section-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.section-header .main-image {
  width: 250px;
  border-radius: 10px;
}

.section-text {
  flex: 1;
}

.section-text h2 {
  margin: 0;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-text p {
  margin-top: 10px;
  color: #444;
  line-height: 1.5;
}

/* Section Responsive */
@media (max-width: 992px) {
  .section {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section-header .main-image {
    width: 80%;
  }

  .section-text h2 {
    font-size: 20px;
  }

  .section-text p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 20px 10px;
  }

  .section-header .main-image {
    width: 100%;
  }
}

/* ==================== PHOTO SCROLL ==================== */
.photo-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.photo-scroll::-webkit-scrollbar {
  height: 8px;
}

.photo-scroll::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 4px;
}

.photo-scroll img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Responsive scroll */
@media (max-width: 768px) {
  .photo-scroll img {
    width: 160px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .photo-scroll img {
    width: 130px;
    height: 100px;
  }
}

/* ==================== FOOTER ==================== */
.footer {
  background: #444;
  color: #fff;
  padding: 30px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #666;
  padding-bottom: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 180px;
}

.footer-slogan {
  font-size: 22px;
  margin: 0;
}

.footer-btn {
  background: #e74c3c;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-btn:hover {
  background: #c0392b;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

.footer-col h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-col a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: #ddd;
}

.contact-item i {
  margin-right: 10px;
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #e74c3c;
}

.contact-item p {
  margin: 0;
}

/* Footer Responsive */
@media (max-width: 992px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo img {
    height: 140px;
  }

  .footer-slogan {
    font-size: 18px;
  }

  .footer-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 20px 15px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==================== COPYRIGHT ==================== */
.copyright {
  background: #111;
  padding: 20px 40px;
}

.copyright p {
  color: #ccc;
  font-size: 14px;
  margin: 0;
  letter-spacing: 0.5px;
}

.copyright span {
  color: #fff;
  font-weight: 500;
}

/* Copyright Responsive */
@media (max-width: 992px) {
  .copyright p {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .copyright {
    padding: 12px 5px;
  }

  .copyright p {
    font-size: 12px;
    line-height: 1.5;
  }

  .copyright span {
    display: block;
    margin-top: 4px;
  }
}

/* ==================== ANIMASI ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-left.show {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-right.show {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.zoom-in.show {
  opacity: 1;
  transform: scale(1);
}

.photo-scroll img {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.photo-scroll img.show {
  opacity: 1;
  transform: translateY(0);
}
