/*
Theme Name: The Property Experts (Kadence Child)
Theme URI: https://www.thepropertyexperts.co
Description: Custom Kadence child theme for The Property Experts - Luxury Real Estate in Gurugram. Fully compatible with Kadence Theme and Kadence Blocks.
Author: The Property Experts
Author URI: https://www.thepropertyexperts.co
Template: kadence
Version: 1.0.0
Text Domain: the-property-experts
*/

/* -------------------------------------------------------------------------- */
/* GLOBAL VARIABLES & COLOR PALETTE                                           */
/* -------------------------------------------------------------------------- */
:root {
  --primary: #0b1f33;       /* Deep Navy */
  --secondary: #c5a880;     /* Warm Gold */
  --accent: #d4af37;        /* Luxury Gold Accent */
  --bg-light: #f8fafc;      /* Clean Off-White */
  --bg-alt: #f1f5f9;        /* Soft Gray-Blue */
  --text-main: #1e293b;     /* Slate Dark Text */
  --text-muted: #64748b;    /* Muted Slate Text */
  --white: #ffffff;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 20px rgba(197, 168, 128, 0.3);
  --font-main: 'Poppins', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------------------- */
/* BASE TYPOGRAPHY & RESETS                                                   */
/* -------------------------------------------------------------------------- */
body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* -------------------------------------------------------------------------- */
/* BUTTONS & UI COMPONENTS                                                    */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, #b39368 100%);
  color: #0b1f33 !important;
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b39368 0%, var(--secondary) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #0b1f33 !important;
}

.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-whatsapp {
  background: #25d366 !important;
  color: #ffffff !important;
  border: none;
}

.btn-whatsapp:hover {
  background: #20ba5a !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-xl {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  display: inline-block;
}

/* -------------------------------------------------------------------------- */
/* HEADER & NAVIGATION (Custom / Customizer Style)                            */
/* -------------------------------------------------------------------------- */
.site-custom-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-custom-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-custom-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.site-custom-header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.site-custom-header .logo-img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.site-custom-header .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.site-custom-header .nav-links a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.site-custom-header .nav-links a:hover,
.site-custom-header .nav-links a.active {
  color: var(--secondary);
}

.site-custom-header .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/* FOOTER                                                                     */
/* -------------------------------------------------------------------------- */
.site-custom-footer {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 20px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* -------------------------------------------------------------------------- */
/* PROPERTY CARDS & GRID                                                      */
/* -------------------------------------------------------------------------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 168, 128, 0.4);
}

.property-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-card:hover .property-img {
  transform: scale(1.08);
}

.property-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(11, 31, 51, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.property-badge.featured {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}

.property-video-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.property-video-btn:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.15);
}

.property-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

.property-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.spec-item {
  text-align: center;
}

.spec-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-item strong {
  font-size: 0.9rem;
  color: var(--primary);
}

.property-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* -------------------------------------------------------------------------- */
/* FILTER BAR                                                                 */
/* -------------------------------------------------------------------------- */
.filters-bar {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 35px;
}

.filter-select {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:focus {
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
}

/* -------------------------------------------------------------------------- */
/* CALCULATORS STYLES                                                         */
/* -------------------------------------------------------------------------- */
.calc-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin: 30px auto;
}

.calc-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 35px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
  overflow-x: auto;
}

.calc-tab {
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--border);
  background: var(--bg-light);
  white-space: nowrap;
}

.calc-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-input-group {
  margin-bottom: 25px;
}

.calc-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-input-header label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

.calc-input-val {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.15rem;
}

.calc-range-slider {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
  margin: 12px 0;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--secondary);
}

.calc-result-box {
  background: var(--bg-alt);
  padding: 35px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}

.calc-result-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  margin: 15px 0;
}

/* -------------------------------------------------------------------------- */
/* TOP BUILDERS & TESTIMONIALS CAROUSEL                                       */
/* -------------------------------------------------------------------------- */
.builders-slider-wrap,
.testimonials-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 5px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.builder-item-card {
  flex: 0 0 160px;
  background: var(--white);
  padding: 24px 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.builder-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.builder-logo-badge {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.nav-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary);
}

.nav-carousel-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* -------------------------------------------------------------------------- */
/* SITE VISIT BOOKING BOX                                                     */
/* -------------------------------------------------------------------------- */
.site-visit-card {
  background: linear-gradient(135deg, var(--primary) 0%, #15324f 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.site-visit-form input[type="datetime-local"] {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 15px;
  outline: none;
}

/* -------------------------------------------------------------------------- */
/* SINGLE PROPERTY HERO & STATS                                               */
/* -------------------------------------------------------------------------- */
.property-single-hero {
  position: relative;
  min-height: 450px;
  background: var(--primary);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 60px 0;
  color: var(--white);
}

.property-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(11, 31, 51, 0.95) 0%, rgba(11, 31, 51, 0.4) 100%);
}

.single-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.single-stat-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 15px;
}

.single-stat-card i {
  font-size: 2rem;
  color: var(--secondary);
}

/* -------------------------------------------------------------------------- */
/* WHY BUY FROM US - NUMBERED STACK                                           */
/* -------------------------------------------------------------------------- */
.why-buy-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
}

.benefit-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.benefit-index {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  min-width: 40px;
}

/* -------------------------------------------------------------------------- */
/* FLOATING WHATSAPP & MOBILE STICKY BAR & POPUPS                             */
/* -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: var(--white) !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.sticky-enquire-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 10px 15px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  z-index: 998;
  gap: 10px;
}

.exit-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.exit-popup-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.close-exit {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE MEDIA QUERIES                                                   */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-buy-layout {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .site-visit-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-custom-header .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  .site-custom-header .nav-links.mobile-active {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .sticky-enquire-bar {
    display: flex;
  }
  .property-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    bottom: 80px;
  }
}
