/* Reset and Base Styling */
html {
  scroll-behavior: smooth;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; background: #f4f4f4; color: #333; }

a { color: inherit; text-decoration: none; }

/* Header Section */
.header {
  background: url('img/zenith.jpg') no-repeat center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.header-content {
  background: rgba(0, 0, 0, 0.5);
  max-width: 1200px;
  width: 100%;
  border-radius: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
  color: #fff;
}

.header-left { flex: 1; min-width: 300px; }
.header-left h1 { font-size: 2.5rem; margin-bottom: 15px; }
.header-left h2, .header-left h3, .header-left h4 { margin: 10px 0; }

.header-form {
  flex: 1;
  min-width: 280px;
  background: #ffffffdd;
  padding: 25px;
  border-radius: 10px;
  color: #333;
}

.header-form h3 { text-align: center; margin-bottom: 15px; color: #011b10; }
.header-form form { display: flex; flex-direction: column; }
.header-form input, .header-form textarea, .header-form button {
  margin: 10px 0; padding: 12px; font-size: 1rem;
  border: 1px solid #ccc; border-radius: 6px;
}
.header-form button {
  background: #011b10; color: white; border: none;
  font-weight: bold; cursor: pointer;
}
.header-form button:hover { background: #00358a; }

/* Sections */
.section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}
.section h2 {
  margin-bottom: 30px; color: #011b10;
  border-left: 5px solid #f4b400; padding-left: 15px;
}

/* Split Section */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.split img {
  max-width: 100%; border-radius: 10px;
}
.split.reverse { flex-direction: row-reverse; }

/* Amenities & Gallery */
.amenities, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.amenities div, .gallery-grid img {
  background: white; padding: 20px;
  text-align: center; border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.amenities i {
  font-size: 24px; margin-bottom: 10px; color: #011b10;
}

/* Map */
.map-embed {
  width: 100%; height: 350px;
  border: none; border-radius: 8px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #011b10;
  color: white;
}

/* Slider */
.slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
}

.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.slider .prev { left: 10px; }
.slider .next { right: 10px; }

/* Navbar */
.nav-bar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  color: white;
}

.logo-container img {
  height: 60px;
  width: 120px;
  object-fit: contain;
  margin: auto;
}

.menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Enquire Section */
.enquire-section {
  background: url('img/ExpressZenith3.png') no-repeat center center/cover;
  padding: 80px 20px;
  color: white;
}

.enquire-box {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  max-width: 800px;
  margin: auto;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content { flex-direction: column; }
  .split.reverse { flex-direction: column; }
  .menu { display: none; }
  .nav-bar { justify-content: center; }
}

select[name="property_type"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  font-size: 16px;
  color: #333;
  appearance: none; /* Removes default arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  cursor: pointer;
}

select[name="property_type"]:focus {
  border-color: #007BFF;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
}

/* Mobile optimization */
@media (max-width: 600px) {
  select[name="property_type"] {
    font-size: 18px;   /* Bigger text for easier reading */
    padding: 14px;     /* Bigger tap area */
    background-position: right 16px center; /* Adjust arrow spacing */
    background-size: 20px 20px; /* Slightly bigger arrow */
  }
}

