/*
Theme Name: Khondokar Properties
Theme URI: https://khondokarproperties.com
Author: Khondokar Properties
Description: Premium Real Estate theme — exact match to Lovable design. Features hero slider, property listings, YouTube video tours, client testimonials, WhatsApp integration.
Version: 2.0.0
License: Private
Text Domain: khondokar-properties
*/

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --navy: hsl(220, 40%, 18%);
  --navy-dark: hsl(220, 40%, 14%);
  --navy-mid: hsl(220, 40%, 22%);
  --gold: hsl(42, 50%, 54%);
  --gold-light: hsl(42, 50%, 64%);
  --gold-dark: hsl(42, 50%, 44%);
  --foreground: hsl(220, 20%, 15%);
  --bg: hsl(0, 0%, 100%);
  --light-gray: hsl(210, 20%, 98%);
  --muted: hsl(215, 16%, 47%);
  --border: hsl(214, 32%, 91%);
  --card: hsl(0, 0%, 100%);
  --shadow-luxury: 0 10px 40px -10px hsla(220, 40%, 18%, 0.15);
  --radius: 0.5rem;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--foreground);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(135deg, hsl(220,40%,14%), hsl(220,40%,22%));
  backdrop-filter: blur(8px);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; max-width: 1200px; margin: 0 auto; padding: 0 1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
}
.nav-logo-main {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px; font-weight: 800;
  color: white; letter-spacing: 0.05em;
}
.nav-logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--gold); letter-spacing: 0.2em;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--gold);
}
.hamburger {
  display: none; background: none; border: none;
  color: white; cursor: pointer; padding: 4px;
}
.mobile-menu {
  display: none; flex-direction: column;
  background: linear-gradient(135deg, hsl(220,40%,14%), hsl(220,40%,22%));
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 1rem 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 10px 0; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ===== HERO SLIDER ===== */
.hero {
  position: relative; height: 100vh; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, hsla(220,40%,10%,0.65), hsla(220,40%,10%,0.45));
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 1rem;
}
.hero-inner { animation: fadeInUp 0.8s ease-out forwards; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--gold); letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700; color: white; line-height: 1.15;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 18px; color: rgba(255,255,255,0.8);
  margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: white;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px;
  padding: 16px 32px; border-radius: var(--radius); border: none; cursor: pointer;
  transition: all 0.3s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1.5px solid var(--gold); color: var(--gold);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px;
  padding: 15px 32px; border-radius: var(--radius); cursor: pointer;
  transition: all 0.3s;
}
.btn-outline-gold:hover { background: var(--gold); color: white; }
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px;
}
.hero-dot {
  width: 12px; height: 12px; border-radius: 6px;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active { background: var(--gold); width: 32px; }

/* ===== SECTIONS COMMON ===== */
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 500;
  color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; color: var(--foreground); margin-bottom: 0;
}
.section-header { text-align: center; margin-bottom: 48px; }

/* ===== FEATURED PROPERTIES ===== */
.properties-section { padding: 80px 0; background: var(--bg); }
.filter-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 22px; border-radius: 50px;
  border: 1.5px solid var(--border);
  background: white; color: var(--muted);
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold); color: white; border-color: var(--gold);
}
.properties-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.prop-card {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-luxury);
  transition: all 0.3s; border: 1px solid var(--border);
}
.prop-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -10px hsla(220,40%,18%,0.2); }
.prop-card.hidden { display: none; }
.prop-img { position: relative; overflow: hidden; height: 220px; }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.prop-card:hover .prop-img img { transform: scale(1.06); }
.prop-type-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: white;
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 50px; letter-spacing: 1px; text-transform: uppercase;
}
.prop-body { padding: 20px; }
.prop-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--gold); margin-bottom: 6px;
}
.prop-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--foreground);
  margin-bottom: 6px; line-height: 1.3;
}
.prop-location {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--muted); margin-bottom: 12px;
}
.prop-specs { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.prop-specs span {
  font-size: 12px; color: var(--muted);
  background: var(--light-gray); padding: 4px 10px; border-radius: 4px;
}
.prop-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.prop-actions { display: flex; gap: 10px; }
.btn-detail {
  flex: 1; text-align: center; padding: 10px;
  background: var(--navy); color: white;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  border-radius: var(--radius); transition: 0.2s;
}
.btn-detail:hover { background: var(--navy-mid); }
.btn-wa {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius);
  background: #25D366; color: white;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  transition: 0.2s;
}
.btn-wa:hover { background: #20ba5a; }
.view-all-center { text-align: center; margin-top: 40px; }

/* ===== WHY CHOOSE US / STATS ===== */
.why-section { padding: 80px 0; background: var(--light-gray); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-bottom: 64px; text-align: center; }
.stat-val {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 5vw, 52px); font-weight: 700; color: var(--gold);
  margin-bottom: 8px;
}
.stat-lbl { font-size: 14px; color: var(--muted); font-weight: 500; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.feature-card {
  background: var(--card); padding: 32px 28px;
  border-radius: var(--radius); box-shadow: var(--shadow-luxury); text-align: center;
}
.feature-icon {
  width: 56px; height: 56px;
  background: hsla(42,50%,54%,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.feature-icon svg { width: 28px; height: 28px; color: var(--gold); }
.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--foreground); margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ===== YOUTUBE VIDEOS ===== */
.videos-section { padding: 80px 0; background: var(--bg); }
.videos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.video-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-luxury);
}
.video-iframe-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-iframe-wrap iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.video-info {
  padding: 16px; background: var(--card);
}
.video-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--foreground);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 80px 0; background: var(--light-gray); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
.testi-card {
  background: var(--card); padding: 32px;
  border-radius: var(--radius); box-shadow: var(--shadow-luxury);
}
.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 16px; height: 16px; fill: var(--gold); color: var(--gold); }
.testi-quote {
  font-size: 14px; color: var(--muted);
  font-style: italic; line-height: 1.8; margin-bottom: 20px;
}
.testi-author strong {
  display: block; font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--foreground);
}
.testi-author span { font-size: 13px; color: var(--gold); }

/* ===== CTA BANNER ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, hsl(220,40%,14%), hsl(220,40%,22%));
  text-align: center;
}
.cta-title {
  font-family: 'Noto Sans Bengali', 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 40px); font-weight: 700;
  color: white; margin-bottom: 16px;
}
.cta-sub { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.3); color: white;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px;
  padding: 15px 32px; border-radius: var(--radius);
  background: transparent; cursor: pointer; transition: all 0.3s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, hsl(220,40%,14%), hsl(220,40%,22%));
  color: white;
}
.footer-top { padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1fr; gap: 40px; }
.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px; font-weight: 800; color: white; margin-bottom: 4px;
}
.footer-brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 500; color: var(--gold);
  letter-spacing: 0.2em; margin-bottom: 16px;
}
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span, .footer-contact-item a {
  font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5;
  transition: color 0.2s;
}
.footer-contact-item a:hover { color: var(--gold); }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s;
}
.social-icon:hover { background: var(--gold); border-color: var(--gold); color: white; }
.social-icon svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ===== FLOATING WHATSAPP ===== */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.float-wa svg { width: 28px; height: 28px; }
.float-tooltip {
  position: absolute; right: 70px;
  background: var(--navy); color: white;
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 6px;
  white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all 0.3s;
  pointer-events: none;
}
.float-wa:hover .float-tooltip { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .properties-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width:768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .properties-grid, .videos-grid, .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  .cta-buttons, .hero-buttons { flex-direction: column; align-items: center; }
}
