/* ================= GLOBAL RESET ================= */
* {
  
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; 
}

/* Smooth modern font */
body {
  font-family: 'Poppins', sans-serif;
  background:white;
  width: 100%;
}

/* ================= HEADER ================= */
.header {
  position:fixed; /* sits on top of hero */
  margin-top: 0%;
  margin: 0%;
  width: 100%;
  height: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  z-index: 10; /* keeps it above overlay */
  color: black;
  background:white;
  top:0px;

 
}

.logo {
font-weight: 500;
font-size: 20px;
letter-spacing: 2px;
display: flex;
align-items: center;
justify-content: space-between;

 left:2%; position:absolute;
}

.logo span {
  color: #ff5a5f;
}

.phone{right:0px;
position: relative;
}
/* Hide nav on mobile */
.nav {
  background: black; height: auto;padding:10px; 
  width:100%; display:flex;flex-direction:ro; margin: 90px 0 0 0;position:absolute; left:0; align-items: center; justify-self: cen;
}

.nav ul {
    display:flex;flex-direction:row;gap:20px;margin: 6px auto;
}
.nav ul li a{
  text-decoration: none; color: white; 
  border: 1.8px solid rgb(126, 125, 125); border-radius: 50px;  padding: 6px 12px 6px 12px; background:none;
  
  letter-spacing: 5px; text-align: center; width: 60% ;  
}

/* .nav ul li a:hover{
  text-decoration: none; color: white; 
  border: 1.8px solid rgb(126, 125, 125); border-radius: 50px;  padding: 6px 12px 6px 12px; background:rgba(126, 125, 125, 0.693);
  
  letter-spacing: 5px; text-align: center; width: 60% ;  
} */
.nav ul li a::before{
  text-decoration: none; color: white; 
  border: 1.8px solid rgb(126, 125, 125); border-radius: 50px;  padding: 6px 12px 6px 12px; background:none;
  
  letter-spacing: 5px; text-align: center; width: 70% ;  
}

.nav a.active{
  text-decoration: none; color: white; 
  border: 1.8px solid rgb(126, 125, 125); border-radius: 50px;  padding: 6px 12px 6px 12px; background:rgb(126, 125, 125);}
/* .active{
  text-decoration: none; color: white; 
  border: 1.8px solid rgb(126, 125, 125); border-radius: 50px;  padding: 6px 12px 6px 12px; background:rgb(126, 125, 125);
  
  letter-spacing: 5px; text-align: center; width: 70% ;  
} */

/* .nav a:hover{
  text-decoration: none; margin-left: 20px; color: white; border: 1px solid rgb(126, 125, 125); border-radius: 50px; padding: 6px 12px 6px 12px; background:rgba(126, 125, 125, 0.693); letter-spacing: 5px; text-align: center; width: 30% ; margin: 0 auto;
} */

/* .nav ul li a:active{
  text-decoration: none; margin-left: 20px; color: white; border: 1px solid rgb(126, 125, 125); border-radius: 50px; padding: 6px 12px 6px 12px; background:rgba(126, 125, 125, 0.693); letter-spacing: 5px; text-align: center; width: 30% ; margin: 0 auto;
} */
/* .nav a.active{
  text-decoration: none; margin-left: 20px; color: white; border: 1px solid rgb(126, 125, 125); border-radius: 50px; padding: 6px 12px 6px 12px; background:rgba(126, 125, 125, 0.693); letter-spacing: 5px; text-align: center; width: 30% ; margin: 0 auto;
} */
/* .nav-link.active{
text-decoration: none; margin-left: 20px; color: white; border: 1px solid rgb(126, 125, 125); border-radius: 50px; padding: 6px 12px 6px 12px; background:rgba(126, 125, 125, 0.693); letter-spacing: 5px; text-align: center; width: 30% ; margin: 0 auto;
}
.nav-link{
  text-decoration: none; margin-left: 20px; color: white; border: 1px solid rgb(126, 125, 125); border-radius: 50px; padding: 6px 12px 6px 12px; background:none; letter-spacing: 5px; text-align: center; width: 30% ; margin: 0 auto;
} */

/* Mobile menu */
.menu-btn {
  font-size: 30px;
  cursor: pointer;
  font-weight: 20px;
  padding: 2px;
  display:none ;
}

/* ================= HERO SECTION ================= */
.hero {
  /* Full screen height */
  height: 120vh;

  /* 🔥 Background image + overlay in ONE line */
  background:
    linear-gradient(white, rgba(68, 69, 68, 0.6)),
    url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2') center/cover no-repeat;

  display: flex;
  align-items: center;
  padding: 20px;
  color: white;
}

.first-image{
width: 100%; height:auto;position: absolute; margin-top: 4em;
mask-image: linear-gradient(to top,transparent 20px, black 20) ;
    -webkit-mask-image:linear-gradient(to top, transparent 1px, black 20px); 
}
/* Alternative overlay (kept for flexibility if needed later) */
.overlay {
  display: none; /* disabled since we used gradient */
}

/* Content stays above background */
.hero-content {
  max-width: 500px;
  margin-top:6em;
  margin-top: 15em;
}

/* Typography hierarchy (important for UX) */
.hero h1 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 10px;
color: #8a6a14;
  text-shadow: 2px 2px 5px black;
}

.hero p {
  font-size: 17px;
  margin-bottom: 20px;
  opacity: 0.9;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  color:black;
  
  
}
.phone{
  right:4px;
}

/* ================= BUTTONS ================= */
.buttons {
  display: flex;
  gap: 10px;
}

.primary {
  background: black;
  border: none;
  padding: 12px 18px;
  border-radius: 25px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

/* UX improvement: hover feedback */
.primary:hover {
  transform: scale(1.05);
}

.secondary {
  background: transparent;
  border: 1px solid white;
  padding: 12px 18px;
  border-radius: 25px;
  color: white;
  cursor: pointer;
  z-index: 2;
}

/* ================= SEARCH ================= */
.search-container {
  display: flex;
  justify-content: center;
   margin-top: -220px;
}

/* Floating card effect */
.search-box {
  background: white;
  margin-top: -40px; /* pulls it into hero */
  width: 90%;
  padding: 15px;
  border-radius: 20px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  /* Soft shadow = modern UI */
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
   
}

.search-box input {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
   margin-top: 0%;
}

/* Focus effect (UX improvement) */
.search-box input:focus {
  border-color: #0f766e;
   margin-top: 0%;
}

.search-box button {
  background: #0f766e;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 0%;
}
.featured-properties {
  max-width: 100%;
  margin-top: 0px;
  top: 100px;
  
  /* margin: 80px auto 40px auto; */
  text-align: center;
  background:black;
  /* padding-bottom: 20px; */
  /* padding: 10px 10px 10px 10px; */
  position: relative;
  height:auto;
}
