/* ==============================
   General Page Styles
============================== */
body {
  background-image: url('bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  font-family: 'Poppins', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Subtle overlay for overall readability */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(3px);
  z-index: -1;
}

/* ==============================
   Navbar
============================== */
.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  color: #0077b6 !important;
  font-size: 1.6rem;
  font-weight: 600;
}

/* ==============================
   Headings
============================== */
h2, h3, h4 {
  color: #003049;
  font-weight: 700;
}

/* ==============================
   Cards
============================== */
.card {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card img {
  height: 230px;
  object-fit: cover;
}

.card-body h5 {
  font-weight: 600;
  color: #0077b6;
}

.card-body p {
  color: #555;
}

/* ==============================
   Buttons
============================== */
.btn-primary {
  background-color: #0077b6;
  border-color: #0077b6;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #005f8c;
  border-color: #005f8c;
  transform: scale(1.03);
}

/* ==============================
   Form Section (Resort Details)
============================== */
.form-section {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
  color: #222;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Labels and inputs */
.form-label {
  font-weight: 600;
  color: #003049;
}

.form-control, .form-select {
  background: rgba(255,255,255,0.85);
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #0077b6;
  box-shadow: 0 0 0 0.2rem rgba(0, 119, 182, 0.25);
}

/* ==============================
   Map
============================== */
#map {
  height: 260px;
  width: 100%;
  border-radius: 15px;
  margin-top: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ==============================
   Footer
============================== */
footer {
  background-color: rgba(255, 255, 255, 0.9);
  color: #555;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 3rem;
  border-top: 1px solid #ddd;
}

/* ==============================
   Responsive
============================== */
@media (max-width: 768px) {
  .form-section {
    padding: 1.2rem;
  }
  .card img {
    height: 180px;
  }
  h2 {
    font-size: 1.5rem;
  }
}
