/* Reset basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #222;
}

/* Header styling */
header {
  background: linear-gradient(90deg, #34edf3, #070f34);
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* Tajuk kiri, link kanan */
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #000;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
  font-size: 1rem;
}

nav ul li a:hover {
  color: #34edf3; /* warna biru */
}

/* Responsive: bila kecil, link jadi dropdown/stacked */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
  }
}

/* Footer styling */
footer {
  background: linear-gradient(90deg, #070f34, #34edf3);
  color: black;
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-top: 40px;
  border-top: 2px solid #184C88;
  position: sticky;
}

footer p {
  margin: 0;
}

/* ===== GLOBAL ===== */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fc;
  color: #333;
  line-height: 1.6;
}

/* Center semua section dengan spacing */
section {
  width: 90%;
  max-width: 1200px;
  margin: 60px auto;
}

/* ===== BANNER ===== */
.banner-section img {
  width: 100%;
  height: 500px;
  object-fit: fill;
  border-bottom: 5px solid #13274F;
}

/* ===== TITLE SECTION ===== */
.title-section {
  text-align: center;
  padding: 40px 20px;
}

.title-section h1 {
  font-size: 2.5rem;
  color: #184C88;
  margin-bottom: 20px;
}

.title-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}

/* ===== FEATURE SECTION ===== */
.feature-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.feature-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
}

.feature-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-item p {
  padding: 15px;
  background-color: #184C88;
  color: white;
  font-weight: 500;
  margin: 0;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.feature-item p:hover {
  background-color: #34edf3;
  color: #000;

}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-section h2 {
  text-align: center;
  color: #184C88;
  margin-bottom: 40px;
  font-size: 2rem;
}

.faq-item {
  margin-bottom: 25px;
}

.faq-item h3 {
  color: #13274F;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: #555;
  margin: 0;
}

.faq-item a {
  color: #184C88;
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .feature-section {
    flex-direction: column;
    align-items: center;
  }

  .banner-section img {
    height: 300px;
  }

  .title-section h1 {
    font-size: 2rem;
  }
}

/* ===== ATTRACTIONS PAGE ===== */
.attraction-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin: 60px auto;
  max-width: 1200px;
}

.attraction-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.attraction-info {
  padding: 20px;
  text-align: center;
}

.attraction-info h3 {
  color: #184C88;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.attraction-info p {
  color: #555;
  font-size: 1rem;
}

.attraction-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== BOOKING SECTION ===== */
.booking-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: #f0f5ff;
}

.booking-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-width: 600px;
  width: 100%;
}

.booking-form .form-group {
  margin-bottom: 20px;
}

.booking-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #184C88;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: #184C88;
  outline: none;
  box-shadow: 0 0 5px rgba(24,76,136,0.3);
}

.booking-form textarea {
  height: 100px;
  resize: none;
}

.btn-book {
  display: inline-block;
  background-color: #184C88;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.btn-book:hover {
  background-color: #13274F;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 600px) {
  .booking-form {
    padding: 30px 20px;
  }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: #f5f7ff;
  padding: 60px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact-info h2 {
  color: #184C88;
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.contact-info a {
  color: #184C88;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 20px;
}

.social-links img {
  width: 32px;
  margin-right: 10px;
  transition: transform 0.2s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

/* Contact Form */
.contact-form {
  flex: 1.2;
  min-width: 350px;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact-form h2 {
  color: #184C88;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #184C88;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #184C88;
  outline: none;
  box-shadow: 0 0 5px rgba(24,76,136,0.3);
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.btn-send {
  width: 100%;
  background-color: #184C88;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-send:hover {
  background-color: #13274F;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== ADMIN LOGIN ===== */
.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(to bottom right, #184C88, #4FA3F7);
  font-family: 'Poppins', sans-serif;
}

.login-box {
  background: white;
  padding: 40px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  text-align: center;
  width: 380px;
}

.login-box h1 {
  color: #184C88;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.login-box p {
  color: #555;
  margin-bottom: 30px;
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s;
}

.form-group input:focus {
  border-color: #184C88;
  outline: none;
  box-shadow: 0 0 5px rgba(24,76,136,0.3);
}

.btn-login {
  background-color: #184C88;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
  width: 100%;
}

.btn-login:hover {
  background-color: #34edf3;
  color:black;
}

.login-note {
  margin-top: 20px;
  font-size: 0.9rem;
}

.login-note a {
  color: #184C88;
  text-decoration: none;
  font-weight: 600;
}

.login-note a:hover {
  text-decoration: underline;
}

/* ===== ADMIN DASHBOARD ===== */
.admin-section {
  background: #f5f7ff;
  padding: 60px 20px;
  text-align: center;
}

.admin-container {
  max-width: 1200px;
  margin: auto;
}

.admin-section h1 {
  font-size: 2.2rem;
  color: #184C88;
  margin-bottom: 10px;
}

.admin-section p {
  color: #555;
  margin-bottom: 40px;
  font-size: 1rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.admin-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.admin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.admin-card img {
  width: 60px;
  margin-bottom: 15px;
}

.admin-card h3 {
  color: #184C88;
  margin-bottom: 10px;
}

.admin-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 20px;
}

.btn-admin {
  display: inline-block;
  background-color: #184C88;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-admin:hover {
  background-color: #13274F;
}

/* ===== CONFIRMATION PAGE ===== */
.confirmation-section {
  text-align: center;
  padding: 80px 20px;
}

.booking-details {
  background: white;
  padding: 30px;
  margin: 30px auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-width: 500px;
  text-align: left;
}

.booking-details p {
  font-size: 1.1rem;
  margin: 10px 0;
}

.btn-back {
  background: #184C88;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-back:hover {
  background: #132F5E;
}

/* ===== VIEW BOOKINGS ===== */
.view-booking-section {
  padding: 60px 20px;
  text-align: center;
}

.view-booking-section h1 {
  color: #184C88;
  margin-bottom: 10px;
}

.view-booking-section p {
  color: #555;
  margin-bottom: 30px;
}

.booking-table {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 15px;
  overflow: hidden;
}

.booking-table th, .booking-table td {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  font-size: 0.95rem;
}

.booking-table th {
  background: #184C88;
  color: white;
}

.booking-table tr:hover {
  background: #f0f6ff;
}

/*MESSAGES*/
.messages-section {
  width: 80%;
  margin: 50px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.messages-section h2 {
  text-align: center;
  color: #13274F;
  margin-bottom: 25px;
  font-size: 2em;
}

.message-table {
  width: 100%;
  border-collapse: collapse;
}

.message-table th, .message-table td {
  border-bottom: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}

.message-table th {
  background: #13274F;
  color: #fff;
}

.message-table tr:hover {
  background: #f5f7fa;
}

.view-btn, .delete-btn {
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.view-btn {
  background: #0077ff;
  color: white;
}

.view-btn:hover {
  background: #005fd4;
}

.delete-btn {
  background: #ff4d4d;
  color: white;
  margin-left: 8px;
}

.delete-btn:hover {
  background: #d93636;
}

/*MANAGE USER*/
.user-section {
  width: 80%;
  margin: 50px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.user-section h2 {
  text-align: center;
  color: #13274F;
  margin-bottom: 25px;
  font-size: 2em;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
}

.user-table th, .user-table td {
  border-bottom: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}

.user-table th {
  background: #13274F;
  color: #fff;
}

.user-table tr:hover {
  background: #f5f7fa;
}

/* Status badge */
.status {
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 600;
  color: white;
}

.status.active {
  background: #28a745;
}

.status.inactive {
  background: #dc3545;
}

/* Action buttons */
.edit-btn, .delete-btn {
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.edit-btn {
  background: #007bff;
  color: white;
}

.edit-btn:hover {
  background: #0056b3;
}

.delete-btn {
  background: #ff4d4d;
  color: white;
  margin-left: 8px;
}

.delete-btn:hover {
  background: #d93636;
}

.add-form {
  width: 50%;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #fff7e6;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.add-form label {
  font-weight: bold;
}

.add-form input, .add-form select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.add-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.add-btn:hover {
  background: #219150;
}

h1, h2, .logo {
    font-family: 'Cinzel', serif;
}

body, p, li {
    font-family: 'Lato', sans-serif;
    font-family: 'Noto Color Emoji', sans-serif;
}
