/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
 
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 600;
}

/* ===== HEADER ===== */
/* ===== HEADER ===== */
header {
  background: #0b3d91;
  color: white;
  padding: 8px 0;          /* smaller padding */
  position: sticky;
  top: 0;
  z-index: 1000;
}


/* Hamburger icon */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;         /* smaller logo */
  font-weight: 600;
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;         /* smaller menu text */
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #f4a261;
}
/* ===== HERO ===== */
.hero {
  background: url('images/f1.png') center/cover no-repeat;
  height: 90vh;
  position: relative;
}
/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
 
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 600;
}

/* ===== HEADER ===== */
/* ===== HEADER ===== */
header {
  background: #0b3d91;
  color: white;
  padding: 8px 0;          /* smaller padding */
  position: sticky;
  top: 0;
  z-index: 1000;
}


/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;         /* smaller logo */
  font-weight: 600;
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;         /* smaller menu text */
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #f4a261;
}
/* ===== HERO ===== */
.hero {
  background: url('images/f1.PNG') center/cover no-repeat;
  height: 90vh;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  text-align: center;
  color: white;
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 25px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: #f4a261;
  color: white;
  padding: 12px 25px;
  border: none;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
}

.btn-primary:hover {
  background: #e76f51;
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  padding: 12px 25px;
  color: white;
  border-radius: 5px;
  margin-left: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: white;
  color: black;
}

/* ===== SEARCH SECTION ===== */
/* Grid for inputs only */
.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

/* Inputs & select styles remain */
.search-form input,
.search-form select {
  padding: 15px 12px;       /* taller input */
  font-size: 16px;          /* bigger text */
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Make the button full width on new row */
.search-form button {
  grid-column: 1 / -1;  /* spans all columns */
  padding: 12px;
  background: #f4a261;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  justify-self: center;
}

.search-form button:hover {
  background: #e76f51;
}

/* ===== FEATURED PROPERTIES ===== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.property-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-info {
  padding: 20px;
}

.property-info h3 {
  margin-bottom: 10px;
}

.price {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  color: #0b3d91;
}

/* ===== WHY US ===== */
.why-us {
  background: #0b3d91;
  color: white;
  padding: 60px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.why-grid h3 {
  margin-bottom: 10px;
}

/* ===== ENQUIRY FORM ===== */
.enquiry form {
  max-width: 600px;
  margin: auto;
}

.enquiry input,
.enquiry select,
.enquiry textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.enquiry textarea {
  min-height: 120px;
  resize: none;
}

#formMessage {
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  color: green;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: white;
  padding: 40px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid a {
  color: white;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #f4a261;
}

footer .copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  /* Show hamburger on mobile */
.hamburger {
  display: flex;
}

/* Hide nav menu initially on mobile */
nav {
  width: 100%;
  display: none;
  margin-top: 10px;
}

nav.active {
  display: block;
}

nav ul {
  flex-direction: column;
  gap: 15px;
  text-align: center;
  margin: 0;
}

nav ul li {
  text-align: center;
}

.nav-container {
  display: flex;
  justify-content: space-between; /* logo left, hamburger right */
  align-items: center;
  flex-wrap: wrap;                /* allow nav to wrap */
}


  .hero-content h2 {
    font-size: 32px;
  }

  .search-section {
    margin-top: 0;
  }

}
/* ===== BUTTONS ===== */
.btn-primary {
  background: #f4a261;
  color: white;
  padding: 12px 25px;
  border: none;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
}

.btn-primary:hover {
  background: #e76f51;
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  padding: 12px 25px;
  color: white;
  border-radius: 5px;
  margin-left: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: white;
  color: black;
}

/* ===== SEARCH SECTION ===== */
/* Grid for inputs only */
.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

/* Inputs & select styles remain */
.search-form input,
.search-form select {
  padding: 15px 12px;       /* taller input */
  font-size: 16px;          /* bigger text */
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Make the button full width on new row */
.search-form button {
  grid-column: 1 / -1; /* button spans full width */
  justify-self: center;
  padding: 12px 0;
  font-size: 14px;
}

.search-form button:hover {
  background: #e76f51;
}

/* ===== FEATURED PROPERTIES ===== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.property-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-info {
  padding: 20px;
}

.property-info h3 {
  margin-bottom: 10px;
}

.price {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  color: #0b3d91;
}

/* ===== WHY US ===== */
.why-us {
  background: #0b3d91;
  color: white;
  padding: 60px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.why-grid h3 {
  margin-bottom: 10px;
}

/* ===== ENQUIRY FORM ===== */
.enquiry form {
  max-width: 600px;
  margin: auto;
}

.enquiry input,
.enquiry select,
.enquiry textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.enquiry textarea {
  min-height: 120px;
  resize: none;
}

#formMessage {
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  color: green;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: white;
  padding: 40px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid a {
  color: white;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #f4a261;
}

footer .copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  /* Show hamburger on mobile */
.hamburger {
  display: flex;
}

/* Hide nav menu initially on mobile */
nav {
  width: 100%;
  display: none;
  margin-top: 10px;
}

nav.active {
  display: block;
}

nav ul {
  flex-direction: column;
  gap: 15px;
  text-align: center;
  margin: 0;
}

nav ul li {
  text-align: center;
}

.nav-container {
  display: flex;
  justify-content: space-between; /* logo left, hamburger right */
  align-items: center;
  flex-wrap: wrap;                /* allow nav to wrap */
}

/* HERO MOBILE ADJUSTMENTS */
.hero-overlay {
  padding: 0 20px; /* prevent text touching edges */
  flex-direction: column; /* stack elements vertically */
  text-align: center;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  width: 100%;
}

.hero-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap; /* wrap buttons if screen is narrow */
}

.hero-buttons a {
  padding: 10px 20px;
  font-size: 14px;
}
  .search-section {
    margin-top: 0;
  }

}