:root {
  --primary-color: #2d6a4f;
  --secondary-color: #40916c;
  --accent-color: #d8f3dc;
  --dark-color: #1b4332;
  --light-color: #f8f9fa;
  --text-color: #333333;
  --border-radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-image: url(image/saloka3.jpg);
  background-size: cover;
  background-position: center;
  line-height: 1.6;
}

/* --- Header & Navigasi --- */
header {
  background-color: #1b4332;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: yellowgreen;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: yellowgreen;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

/* Hamburger Menu (Tersembunyi di Desktop) */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: yellowgreen;
  transition: 0.4s;
}

/* --- Hero Section --- */
.hero {
  background:
    linear-gradient(rgba(27, 67, 50, 0.7), rgba(27, 67, 50, 0.7)),
    url(image/nebula.jpg);
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 10rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* --- Katalog & Booking --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}
.item-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: 0.3s;
}
.item-image {
  height: 250px;
  width: 100%;
  overflow: hidden;
}
.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item-details {
  padding: 1.5rem;
}

.booking-section {
  background-color: rgb(4, 161, 167);
  border-radius: var(--border-radius);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.summary-box {
  background-color: var(--accent-color);
  padding: 2rem;
  border-radius: var(--border-radius);
}
.btn-submit {
  width: 100%;
  background-color: #25d366;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* --- Footer --- */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 2rem;
  margin-top: 4rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

/* --- Responsive & Hamburger Menu --- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: #1b4332;
    width: 100%;
    height: 90vh;
    align-items: center;
    transition: 0.5s;
  }

  .nav-links.active {
    right: 0;
  }
  .nav-links li a {
    font-size: 1.5rem;
  }
  .nav-links li a:hover {
    transform: scale(1.2);
    color: #fff;
  }

  .hero h1 {
    font-size: 2rem;
  }
  .booking-section {
    grid-template-columns: 1fr;
  }
}

/* ============================================ */
/* LOGO HERO SECTION                            */
/* ============================================ */

.hero-logo {
    margin-bottom: 25px;
    animation: logoFadeIn 1s ease-out;
}

.hero-logo img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-logo img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 20px rgba(255, 107, 107, 0.5));
}

/* Animasi muncul dari atas */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .hero-logo img {
        width: 130px;
    }
}

/* Responsive: Mobile */
@media (max-width: 576px) {
    .hero-logo {
        margin-bottom: 18px;
    }
    .hero-logo img {
        width: 100px;
    }
}