/* ===== Reset & Base Style ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}

/* Style Section Titles */
section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center; 
  color: #222;
}

/* Untuk tampilan desktop (lebih besar lagi) */
@media (min-width: 1024px) {
  section h2 {
    font-size: 2.8rem;
  }
}

/* ===== Container ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== Navbar ===== */
nav {
  background: #fff;
  color: #222;
  padding: 15px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.nav-list li a {
  text-decoration: none;
  color: #333;    
  font-weight: 500;
  font-weight: bold;
}

/* Style umum navbar link */
nav ul li a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

/* Efek underline animasi */
nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 0;
  background: #007bff; /* warna highlight (bisa diganti) */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* Saat hover */
nav ul li a:hover {
  color: #007bff;
}

nav ul li a:hover::after {
  width: 100%; /* garis muncul */
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #222;
  font-size: 30px;
  font-weight: bold;
}

.brand-logo {
  height: 60px;
  margin-right: 10px;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url("../src/images/hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 230px 0;
  text-align: center;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Buttons General */
.btn {
  background: #007bff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background: #27ae60;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #222;
}

/* ===== Services ===== */
.services-section {
  background: #f4f4f4;
  padding: 80px 20px;
  text-align: center;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  margin-bottom: 10px;
}

/* Tablet: jadi 2 kolom */
@media (max-width: 992px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* HP: jadi 1 kolom */
@media (max-width: 600px) {
  .services-container {
    grid-template-columns: 1fr;
  }
}

/* Booking Section */
.booking-section {
  padding: 65px 20px;
  background: #f5f7fa;
  display: flex;
  justify-content: center;
}

.booking-container {
  max-width: 600px;
  width: 100%;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.booking-container h2 {
  margin-bottom: 10px;
  font-size: 28px;
  color: #222;
}

.booking-container p {
  margin-bottom: 25px;
  color: #666;
  font-size: 14px;
}

/* Form Styling */
.booking-form .form-group {
  text-align: left;
  margin-bottom: 20px;
}

.booking-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

.booking-form textarea {
  resize: none;
  min-height: 100px;
}

/* Button */
.btn-submit {
  width: 100%;
  background: #007bff;
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-submit:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* WhatsApp Section */
.whatsapp-section {
  padding: 60px 0;
  text-align: center;
  background: #f4f4f4;
}

.whatsapp-section h1 {
  margin-bottom: 15px;
}

.whatsapp-section p {
  margin-bottom: 20px;
  font-size: 16px;
}

.whatsapp-section .btn {
  background: #25d366;
}

.whatsapp-section .btn:hover {
  background: #1ebe57;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.whatsapp-btn:hover {
  background: #1ebd5a;
}

/* ===== Map Section ===== */
.map-section {
  padding: 60px 0;
  text-align: center;
}

.map-container {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ===== Footer ===== */
footer {
  background: #222;
  color: #bbb;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

.footer-divider {
  border: 0;
  border-top: 1px solid #444;
  margin-bottom: 15px;
}

.policies a {
  color: #bbb;
  text-decoration: none;
  margin: 0 5px;
}

.policies a:hover {
  color: #fff;
}

/* ===== Responsive Navbar (Hamburger Menu) ===== */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #222;
  cursor: pointer;
}

/* Mobile view */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .nav-list.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* Efek hover pada card layanan */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Efek judul saat hover */
section h1 {
  transition: color 0.3s ease, transform 0.3s ease;
}

section h1:hover {
  color: #007bff;
  transform: scale(1.05);
}
