body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #d7f2fc;
}

.header {
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center;
  background-color: #ade5ff; /* same light blue background */
  padding: 20px;
  gap: 100px; /* space between logo and search */
  position: relative;
}

.logo {
  position: absolute;
  left: 40px; /* Stick logo to left */
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 1.2;
  color: #000;
}
.search-container {
  display: flex;
  align-items: center;
  background-color: #c6eaf8;
  border: 2px solid #00394f;
  border-radius: 30px;
  padding: 8px 240px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-container input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 1.4rem;
  font-weight: 600;
  color: #00394f;
  padding: 8px;
  width: 220px;
  text-align: center;
}

.search-container input::placeholder {
  color: #00394f;
}

.search-container button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  font-size: 1.2rem;
  color: #00394f;
}

.villa-hero {
  padding: 20px 40px;
  background-color: #c2e9f7;
  font-family: 'Segoe UI', sans-serif;
}

.villa-info h2 {
  font-size: 28px;
  margin-bottom: 5px;
  color: #003b5c;
}

.villa-info p {
  font-size: 16px;
  font-weight: bold;
  color: #003b5c;
}

.villa-images-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  column-gap: 150px;
}

/* Main Image */
.main-image img {
  width: 800px;
  height: 350px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Side Images */
.side-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative; /* needed for absolute positioning inside */
}

.side-images img {
  width: 260px;
  height: 165px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

/* Photo Stack */
.photo-stack {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 260px;
  height: 165px;
  cursor: pointer;
}

.photo-stack img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.photo-stack img:nth-child(2) { transform: rotate(-4deg); z-index: 1; }
.photo-stack img:nth-child(3) { transform: rotate(2deg); z-index: 2; }
.photo-stack img:nth-child(4) { transform: rotate(-1deg); z-index: 3; }

/* Stack Close Button */
.stack-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  color: #333;
  border-radius: 50%;
  padding: 4px 10px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 5;
  cursor: pointer;
}

/* Modal */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.gallery-modal.active {
  display: flex;
}

.gallery-content {
  background: white;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  max-width: 800px;
  width: 90%;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}




/* Shared Wrapper Styles */
/* Main Layout */
/* Layout */
.villa-layout {
  display: flex;
  padding: 40px;
  gap: 40px;
}

.villa-details {
  flex: 2;
  max-width: 700px;
}

.villa-right {
  flex: 1;
  min-width: 300px;
  background-color: #d8f2ff;
  border-radius: 10px;
  padding: 20px;
}

/* Headers */
.about-home h2,
.amenities h2,
.nearby h2 {
  font-size: 28px;
  color: #00394f;
  margin-bottom: 12px;
}

.about-home p {
  font-size: 20.5px;
  font-weight: 630;
  line-height: 1.6;
  text-align: justify;
  color: #00394f;
  margin-bottom: 30px;
}

/* Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 30px;
  margin-bottom: 45px;
}

/* Feature box layout */
.feature-box {
  display: flex;
  align-items: center;
  gap: 12px; /* Reduced gap for better alignment */
  margin-bottom: 10px;
  font-family: sans-serif;
  font-size: 16px;
}

/* Custom checkbox base */
.feature-box input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid #87cfe9;
  background-color: #e0f5ff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
}

/* Checked style */
.feature-box input[type="checkbox"]:checked {
  background-color: #009fe3;
  border-color: #009fe3;
}

/* Checkmark using ::before */
.feature-box input[type="checkbox"]:checked::before {
  content: '✔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%); /* Perfect vertical & horizontal center */
  color: white;
  font-size: 16px;
  font-weight: bold;
  pointer-events: none;
}

/* Label styling */
.feature-box label {
  font-size: 17px;
  font-weight: 500;
  color: #00394f;
  cursor: pointer;
}

.villa-left,
.villa-right {
  flex: 1;
}


/* FOOTER */

.site-footer {
  background-color: #223144; /* Dark blue background */
  color: white;
  padding: 3rem 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-column {
  min-width: 180px;
  flex: 1;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  color: #ffcc66; /* Gold-yellow heading */
}

.footer-column h4::after {
  content: "";
  display: block;
  width: 200px;
  height: 2px;
  background: #ffcc66;
  margin-top: 0.5rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.6rem;
}

.footer-column ul li a {
  text-decoration: none;
  color: #ddd;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

