/* ===========================================
   Indie Estate - Main Stylesheet
   indieestate.online
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --primary: #1f2937;
  --accent: #d4af37;
  --accent-light: #f5e9a0;
  --text: #374151;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(31,41,55,0.08);
  --shadow-hover: 0 8px 40px rgba(31,41,55,0.15);
  --radius: 8px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

h1,h2,h3,h4,h5 { font-family: var(--font-serif); color: var(--primary); line-height: 1.25; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #374151; color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: var(--primary); }
.btn-accent:hover { background: #c9a227; color: var(--primary); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ---- Header / Nav ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 52px; width: auto; }
.logo-text { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--primary); }
.logo-text span { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: var(--bg-light); }
.main-nav .btn { margin-left: 8px; padding: 8px 20px; font-size: 14px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; transition: 0.3s; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #374151 60%, #1f2937 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1560184897-ae75f418493e?w=1400&q=80&auto=format&fit=crop') center/cover;
  opacity: 0.18;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Search Bar ---- */
.search-section {
  background: var(--white);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}
.search-bar {
  display: flex;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.search-bar select, .search-bar input {
  flex: 1;
  min-width: 160px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-light);
  outline: none;
  transition: border-color 0.2s;
}
.search-bar select:focus, .search-bar input:focus { border-color: var(--accent); }
.search-bar .btn { flex-shrink: 0; }

/* ---- Section Headers ---- */
.section { padding: 72px 24px; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-header p { color: var(--text-light); max-width: 560px; margin: 0 auto; font-size: 17px; }

/* ---- Property Cards ---- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.property-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border);
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.property-card-img { position: relative; overflow: hidden; height: 220px; }
.property-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.property-card:hover .property-card-img img { transform: scale(1.04); }
.prop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.prop-badge.rent { background: var(--primary); color: var(--white); }
.prop-badge.featured { background: #dc2626; color: var(--white); }
.property-card-body { padding: 20px; }
.prop-price { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.prop-title { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.prop-location { font-size: 13px; color: var(--text-light); display: flex; align-items: center; gap: 4px; margin-bottom: 14px; }
.prop-features { display: flex; gap: 16px; font-size: 13px; color: var(--text-light); border-top: 1px solid var(--border); padding-top: 14px; }
.prop-feat { display: flex; align-items: center; gap: 5px; }

/* ---- Stats ---- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stat-item { padding: 32px 20px; }
.stat-num { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 700; color: var(--accent); display: block; }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

/* ---- Why Us ---- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.why-card { background: var(--white); border-radius: 12px; padding: 32px 24px; border: 1px solid var(--border); text-align: center; }
.why-icon { width: 56px; height: 56px; background: var(--accent-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 24px; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-light); }

/* ---- Testimonials ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testimonial-card { background: var(--white); border-radius: 12px; padding: 28px; border: 1px solid var(--border); position: relative; }
.testimonial-card::before { content: '"'; font-family: var(--font-serif); font-size: 60px; color: var(--accent-light); position: absolute; top: 10px; left: 20px; line-height: 1; }
.testimonial-text { font-size: 15px; color: var(--text); margin-bottom: 18px; padding-top: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.author-name { font-weight: 600; font-size: 14px; }
.author-role { font-size: 12px; color: var(--text-light); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-accent { margin: 0 8px; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); margin: 0 8px; }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---- Footer ---- */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 60px 24px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1180px; margin: 0 auto; padding-bottom: 48px; }
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-sans); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-item { font-size: 14px; margin-bottom: 10px; display: flex; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 13px; max-width: 1180px; margin: 0 auto; }
.footer-bottom a { color: rgba(255,255,255,0.6); margin: 0 10px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---- Page Hero ---- */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 17px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a { color: var(--accent); }

/* ---- Filters Bar ---- */
.filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  position: sticky;
  top: 73px;
  z-index: 100;
}
.filters-inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filters-inner select, .filters-inner input {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-light);
  cursor: pointer;
}
.filter-label { font-size: 13px; font-weight: 600; color: var(--text-light); margin-right: 4px; }

/* ---- Property Detail ---- */
.property-detail-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 4px; border-radius: 12px; overflow: hidden; height: 420px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-side { display: grid; grid-rows: 1fr 1fr; gap: 4px; }
.gallery-side img { width: 100%; height: 208px; object-fit: cover; }

.property-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; margin-top: 40px; }
.detail-features { display: flex; gap: 24px; flex-wrap: wrap; padding: 24px; background: var(--bg-light); border-radius: var(--radius); margin-bottom: 28px; }
.detail-feat { text-align: center; }
.detail-feat-num { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--primary); }
.detail-feat-label { font-size: 12px; color: var(--text-light); }

.enquiry-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; position: sticky; top: 100px; }
.enquiry-card h3 { margin-bottom: 20px; font-size: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  background: var(--bg-light);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-hover); }
.about-img img { width: 100%; height: 420px; object-fit: cover; }
.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card { text-align: center; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--accent); }
.team-card h4 { margin-bottom: 4px; font-size: 16px; }
.team-card p { font-size: 13px; color: var(--text-light); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 36px; }
.contact-info-card { background: var(--primary); color: var(--white); border-radius: 12px; padding: 36px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-info-text h4 { color: var(--white); font-size: 15px; margin-bottom: 4px; font-family: var(--font-sans); }
.contact-info-text p, .contact-info-text a { color: rgba(255,255,255,0.8); font-size: 14px; }
.contact-info-text a:hover { color: var(--accent); }
.map-embed { border-radius: 12px; overflow: hidden; margin-top: 32px; border: 1px solid var(--border); }

/* ---- Policy Pages ---- */
.policy-content { max-width: 820px; margin: 0 auto; }
.policy-content h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.policy-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.policy-content p { color: var(--text-light); margin-bottom: 14px; }
.policy-content ul { padding-left: 24px; color: var(--text-light); margin-bottom: 14px; }
.policy-content ul li { margin-bottom: 6px; }

/* ---- Blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-3px); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px; }
.blog-cat { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.blog-card h3 { font-size: 17px; margin-bottom: 10px; }
.blog-card p { font-size: 14px; color: var(--text-light); margin-bottom: 14px; }
.blog-meta { font-size: 12px; color: var(--text-light); display: flex; gap: 12px; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-blue { background: #dbeafe; color: #1d4ed8; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .property-detail-grid { grid-template-columns: 1fr; }
  .property-detail-gallery { grid-template-columns: 1fr; height: 280px; }
  .gallery-side { display: none; }
}
@media (max-width: 640px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 16px; }
  .search-bar { flex-direction: column; }
}
