* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #fafafa;
}

/* Global alert / toast styles used by contact.php and booking.php */
.alert {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
}
.alert-error {
  background-color: #f8d7da;
  color: #721c24;
}
.alert-success {
  background-color: #d4edda;
  color: #155724;
}

/* Toast (temporary popup) */
.toast {
  position: fixed;
  right: 20px;
  top: 20px;
  min-width: 260px;
  max-width: calc(100% - 40px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-10px) scale(0.98);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 2000;
}
.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.toast.hide {
  transform: translateY(-8px) scale(0.98);
  opacity: 0;
}

/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff; /* Pure white */
  padding: 12px 60px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-top: 4px solid #ffd54f; /* yellowish line above navbar */
}

/* Logo Styling */
.logo img {
  height: 80px; /* adjust size smaller */
  width: auto; /* keeps proportions */
  object-fit: contain; /* ensures it doesn’t stretch */
  display: block;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: #f2f2f2;
  color: #bd9100;
}

/* Admin SVG Icon */
.admin-logo svg {
  cursor: pointer;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.admin-logo svg:hover {
  transform: scale(1.1);
  stroke: #007bff;
}

/* Home Page content */
/* Banner Section */
.banner {
  width: 100%;
  height: 800px;
  background: url('images/banner_test.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* content stays on the left */
  position: relative;
  color: #fff;
}

/* Optional overlay for better text visibility */
.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay for contrast */
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: 80px;
}

.banner-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 500px;
}

.houses {
  background-color: #fafafa;
  padding: 80px 60px;
  text-align: center;
}

.houses h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
  font-weight: 600;
}

.house-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.house-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s ease;
}

.house-card:hover {
  transform: translateY(-10px);
}

.house-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.house-card h3 {
  font-size: 1.5rem;
  margin: 15px 0 5px;
  color: #444;
}

.house-card p {
  font-size: 1rem;
  color: #666;
  padding: 0 20px 20px;
}

.footer {
  background-color: #ffffff;
  border-top: 4px solid #fdd835; /* yellowish line */
  padding: 30px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #555;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 10px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
}

.view-house {
  background-color: #f5f5f5; /* Slightly darker so cards pop */
  padding: 80px 60px;
  font-family: 'Poppins', sans-serif;
}

.view-house h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 50px;
  color: #1a1a1a; /* darker for better visibility */
}

.house-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.house-item {
  display: flex;
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* deeper shadow */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.house-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.house-item img {
  width: 40%;
  object-fit: cover;
  filter: brightness(95%); /* softens too-bright images */
}

.house-info {
  padding: 30px 40px;
  text-align: left;
  flex: 1;
}

.house-info h2 {
  color: #111;
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.house-info p {
  color: #333; /* darker text */
  margin-bottom: 18px;
  line-height: 1.7;
}

.house-info ul {
  list-style: none;
  padding: 0;
  color: #444;
  font-weight: 500;
  margin-bottom: 20px;
}

.house-info li {
  margin-bottom: 6px;
}

.book-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #fdd835;
  color: #111;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.book-btn:hover {
  background-color: #ffe54c;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e6b800; /* warm yellow accent */
  margin-bottom: 10px;
}

/* Booking Page section lmao */

.booking-section {
  padding: 60px 20px;
  background-color: #fffaf3; /* soft cream */
  text-align: center;
}

.booking-section h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.booking-section p {
  color: #666;
  margin-bottom: 40px;
}

/* Booking Container (image + form side by side) */
.booking-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Image */
.booking-image {
  flex: 1;
  min-width: 300px;
}

.booking-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Form */
.booking-form {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.booking-form label {
  display: block;
  margin-top: 15px;
  color: #333;
  font-weight: 600;
}

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
}

.booking-form button {
  margin-top: 25px;
  background-color: #f4c542;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.booking-form button:hover {
  background-color: #e0ad2f;
}

/* Sini terletak contact kekeekeke */

.contact-section {
  background: url('images/banner_test.jpg') center/cover no-repeat;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 60px;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
  justify-content: center;
}

/* Left Info + Form */
.contact-info {
  flex: 1;
  min-width: 320px;
}

.contact-info h2 {
  font-size: 2.3em;
  margin-bottom: 15px;
}

.contact-info p {
  color: #444;
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #fafafa;
  font-family: 'Poppins', sans-serif;
}

.contact-form button {
  margin-top: 25px;
  background-color: #fdd835;
  border: none;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  color: #222;
}

/* OWNERS SECTION */
.owners {
  text-align: center;
  padding: 60px 20px;
  background-color: #fffefb;
}

.owners h3 {
  font-size: 1.8em;
  color: #333;
}

.owners p {
  color: #555;
  margin-bottom: 30px;
  font-size: 1em;
}

.owner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.owner {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.owner:hover {
  transform: translateY(-5px);
}

.owner img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.owner p {
  margin-top: 10px;
  font-weight: 500;
  color: #333;
}
