/* ==========================================
   VILLA LUXE - style.css (COMPLETE, RESPONSIVE)
   Luxury Black / Gold / White
========================================== */

/* ---------- 0) ROOT + RESET ---------- */
:root{
  --gold: #D4AF37;
  --gold-2: #b8942f;

  --black: #070707;
  --black-2: #0f0f0f;

  --panel: rgba(255,255,255,0.06);
  --panel-2: rgba(255,255,255,0.10);

  --text: #f5f5f5;
  --muted: rgba(255,255,255,0.72);
  --muted-2: rgba(255,255,255,0.55);

  --border: rgba(212,175,55,0.22);
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.35);

  --radius: 16px;
  --radius-sm: 12px;

  --font-heading: "Playfair Display", serif;
  --font-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --container: 1200px;

  /* tap-friendly sizing */
  --tap: 44px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(212,175,55,0.08), transparent 55%),
    radial-gradient(900px 600px at 80% 30%, rgba(255,255,255,0.05), transparent 60%),
    var(--black);
  color: var(--text);
  line-height: 1.65;
  overflow-x:hidden;
  min-height:100vh;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family: inherit; }
::selection{ background: rgba(212,175,55,0.28); }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section-padding{
  padding: clamp(64px, 7vw, 110px) 0;
}

.text-center{ text-align:center; }
.bg-dark{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ---------- 1) TYPOGRAPHY ---------- */
h1,h2,h3,h4,h5{
  font-family: var(--font-heading);
  letter-spacing: 0.2px;
}
.section-title{
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 18px;
}
.section-desc{
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

/* ---------- 2) NAVBAR (PHONE COMPATIBLE) ---------- */
.navbar{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 9999;
  padding: 14px 0;
  background: rgba(7,7,7,0.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.nav-container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  position: relative;
}

.logo{
  display:inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  white-space: nowrap;
}
.logo span{ color: var(--gold); }

.nav-links{
  display:flex;
  align-items:center;
  gap: 22px;
}

.nav-links a{
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding: 10px 0;
}
.nav-links a:hover,
.nav-links a.active{ color: var(--gold); }
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; bottom:6px;
  width:0%;
  height:1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.25s ease;
  opacity: 0.9;
}
.nav-links a:hover::after,
.nav-links a.active::after{ width: 100%; }

.lang-switch{
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  user-select:none;
}
.lang-switch button{
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  cursor:pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lang-switch button:hover{
  transform: translateY(-1px);
  border-color: rgba(212,175,55,0.35);
}
.lang-switch button.active-lang{
  color: var(--gold);
  border-color: rgba(212,175,55,0.55);
  background: rgba(212,175,55,0.10);
}

/* ---------- SLIDER (responsive, not too big) ---------- */
.slider-container{
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,0.03);

  /* Perfect luxury hero-like ratio on all devices */
  aspect-ratio: 16 / 9;
  max-height: 520px;
}

.slider-container img{
  width: 100%;
  height: 100%;
  object-fit: cover;      /* prevents stretching, fills nicely */
  object-position: center;
  transition: transform 0.6s ease, opacity 0.25s ease;
}

.slider-container:hover img{
  transform: scale(1.06); /* luxury hover zoom */
}

.slider-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,0.35);
  background: rgba(10,10,10,0.55);
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: 0.2s ease;
}
.slider-btn:hover{
  background: rgba(10,10,10,0.75);
  transform: translateY(-50%) scale(1.05);
}
.slider-btn.prev{ left: 14px; }
.slider-btn.next{ right: 14px; }

/* On phones, make it slightly taller and buttons easier */
@media (max-width: 600px){
  .slider-container{
    aspect-ratio: 4 / 3;
    max-height: 420px;
  }
  .slider-btn{
    width: 44px;
    height: 44px;
  }
}

.hamburger{
  display:none;
  width: var(--tap);
  height: var(--tap);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hamburger:hover{ transform: translateY(-1px); border-color: rgba(212,175,55,0.35); }
.hamburger i{ color: var(--gold); font-size: 1.2rem; }

@media (max-width: 900px){
  .hamburger{ display:flex; }

  .nav-links{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(10,10,10,0.92);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav-links.active{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a{
    padding: 12px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a::after{ display:none; }

  .lang-switch{
    justify-content:center;
    padding-top: 6px;
  }
}

/* ---------- 3) HERO (FULLSCREEN) ---------- */
.hero{
  min-height: 100vh;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  background:
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(7,7,7,0.95)),
    url("https://images.unsplash.com/photo-1613490908571-9ce224046a08?q=80&w=2400&auto=format&fit=crop")
    center/cover no-repeat;
}



.hero-overlay{ display:none; }

.hero-content{
  width: min(920px, calc(100% - 36px));
  padding-top: 90px; /* space for fixed navbar */
}

.hero h1{
  color: var(--gold);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.12;
  text-shadow: 0 18px 45px rgba(0,0,0,0.65);
  margin-bottom: 18px;
}

.hero p{
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin: 0 auto 28px;
  max-width: 760px;
}

/* ---------- 4) BUTTONS ---------- */
.btn-gold,
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  min-height: var(--tap);
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  will-change: transform;
}

.btn-gold{
  background: linear-gradient(180deg, var(--gold), #caa43a);
  color: #0a0a0a;
  border: 1px solid rgba(212,175,55,0.65);
  box-shadow: 0 14px 40px rgba(212,175,55,0.12);
}
.btn-gold:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(212,175,55,0.18);
}
.btn-gold:active{ transform: translateY(0px) scale(0.99); }

.btn-outline{
  background: rgba(255,255,255,0.03);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.45);
}
.btn-outline:hover{
  transform: translateY(-2px);
  background: rgba(212,175,55,0.10);
  border-color: rgba(212,175,55,0.75);
}
.btn-outline:active{ transform: translateY(0px) scale(0.99); }

.btn-large{
  padding: 14px 24px;
  border-radius: 16px;
}

/* ---------- 5) GRIDS ---------- */
.grid-2, .grid-3, .grid-4{
  display:grid;
  gap: 26px;
}
.grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4{ grid-template-columns: repeat(4, minmax(0,1fr)); }

@media (max-width: 1000px){
  .grid-4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

/* ---------- 6) VILLA CARDS ---------- */
.villa-card{
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.villa-card:hover{
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.35);
  box-shadow: var(--shadow);
}

.card-img{
  position: relative;
  height: 260px;
  overflow:hidden;
}
@media (max-width: 720px){
  .card-img{ height: 210px; }
}
.card-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.villa-card:hover .card-img img{ transform: scale(1.10); }

.card-content{
  padding: 22px 20px 24px;
}
.card-content h3{
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--text);
}
.card-content p{
  color: var(--muted);
  margin-bottom: 18px;
}

/* ---------- 7) FEATURES ---------- */
.feature-box{
  padding: 24px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  text-align:center;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.feature-box:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.35);
  background: rgba(255,255,255,0.06);
}
.feature-box i{
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.feature-box h4{
  font-size: 1.05rem;
  color: rgba(255,255,255,0.90);
  font-family: var(--font-body);
  font-weight: 600;
}

/* ---------- 8) TESTIMONIALS ---------- */
.review-card{
  padding: 24px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.review-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.30);
}
.stars{
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-card p{
  color: var(--muted);
  margin-bottom: 14px;
}
.review-card h5{
  font-family: var(--font-body);
  font-weight: 600;
  color: rgba(255,255,255,0)
  }


  .btn-google-maps {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #D4AF37, #b5942e);
  color: #0a0a0a;
  padding: 14px 28px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
  user-select: none;
  text-decoration: none;
}

.btn-google-maps i {
  font-size: 1.3rem;
}

.btn-google-maps:hover,
.btn-google-maps:focus {
  background: linear-gradient(180deg, #b5942e, #967d24);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.55);
  outline: none;
}