/* 
 * Anjaneyulu.in - Modern Vibrant Design System
 * Mobile-First, Eye-Catching Colors, Premium Experience
 */

/* ============================================
   1. FOUNDATION - CSS Variables & Reset
   ============================================ */

:root {
  --primary: #B11226;
  --primary-dark: #8E0E1E;
  --primary-light: #F9E5E7;
  --secondary: #D32F2F;
  --secondary-dark: #B71C1C;
  --secondary-light: #FDECEC;
  --accent: #F2B705;
  --accent-dark: #C49000;
  --accent-light: #FFF5CC;
  --success: #2E7D32;
  --success-dark: #1B5E20;
  --success-light: #E8F5E9;
  --warning: #ED6C02;
  --danger: #D32F2F;
  --gradient-primary: linear-gradient(135deg, #B11226 0%, #8E0E1E 100%);
  --gradient-secondary: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  --gradient-success: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  --gradient-warm: linear-gradient(135deg, #F2B705 0%, #ED6C02 100%);
  --gradient-cool: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --text-main: #1F1F1F;
  --text-muted: #5F5F5F;
  --text-light: #8C8C8C;
  --bg-body: #F7F7F7;
  --bg-surface: #FFFFFF;
  --border: #E6E6E6;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  /* Typography Scale - Refined for Premium Feel */
  --fs-h1-mobile: 1.875rem;
  /* 30px */
  --fs-h1-desktop: 3rem;
  /* 48px */
  --fs-h2-mobile: 1.5rem;
  /* 24px */
  --fs-h2-desktop: 2.25rem;
  /* 36px */
  --fs-h3-mobile: 1.25rem;
  /* 20px */
  --fs-h3-desktop: 1.75rem;
  /* 28px */
  --fs-h4-mobile: 1.125rem;
  /* 18px */
  --fs-h4-desktop: 1.25rem;
  /* 20px */
  --fs-body-mobile: 0.9375rem;
  /* 15px */
  --fs-body-desktop: 1rem;
  /* 16px */
  --fs-small-mobile: 0.8125rem;
  /* 13px */
  --fs-small-desktop: 0.875rem;
  /* 14px */
  --fs-caption-mobile: 0.75rem;
  /* 12px */
  --fs-caption-desktop: 0.8125rem;
  /* 13px */
  --fs-micro-mobile: 0.625rem;
  /* 10px */
  --fs-micro-desktop: 0.6875rem;
  /* 11px */

  --font-sans: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
  font-size: var(--fs-body-mobile);
}

@media (min-width: 1024px) {
  body {
    font-size: var(--fs-body-desktop);
  }
}

h1 {
  font-size: var(--fs-h1-mobile);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--fs-h2-mobile);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: var(--fs-h3-mobile);
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--fs-h1-desktop);
  }

  h2 {
    font-size: var(--fs-h2-desktop);
  }

  h3 {
    font-size: var(--fs-h3-desktop);
  }
}

/* Global Input Scaling for iOS */
input,
select,
textarea,
button {
  font-size: 16px !important;
  /* Prevents auto-zoom on mobile */
  font-family: inherit;
}

@media (min-width: 1024px) {

  input,
  select,
  textarea,
  button {
    font-size: 1rem !important;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   2. TYPOGRAPHY UTILITIES
   ============================================ */
.text-xs {
  font-size: var(--fs-caption-mobile);
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

@media (min-width: 1024px) {
  .text-xs {
    font-size: var(--fs-caption-desktop);
  }

  .md\:text-base {
    font-size: 1rem;
  }

  .md\:text-lg {
    font-size: 1.125rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
  }
}

/* Responsive Font Utilities */
.text-responsive-h1 {
  font-size: var(--fs-h1-mobile);
}

.text-responsive-h2 {
  font-size: var(--fs-h2-mobile);
}

.text-responsive-h3 {
  font-size: var(--fs-h3-mobile);
}

.text-responsive-h4 {
  font-size: var(--fs-h4-mobile);
}

.text-responsive-body {
  font-size: var(--fs-body-mobile);
}

.text-responsive-small {
  font-size: var(--fs-small-mobile);
}

.text-responsive-caption {
  font-size: var(--fs-caption-mobile);
}

.text-responsive-micro {
  font-size: var(--fs-micro-mobile);
}

@media (min-width: 1024px) {
  .text-responsive-h1 {
    font-size: var(--fs-h1-desktop);
  }

  .text-responsive-h2 {
    font-size: var(--fs-h2-desktop);
  }

  .text-responsive-h3 {
    font-size: var(--fs-h3-desktop);
  }

  .text-responsive-h4 {
    font-size: var(--fs-h4-desktop);
  }

  .text-responsive-body {
    font-size: var(--fs-body-desktop);
  }

  .text-responsive-small {
    font-size: var(--fs-small-desktop);
  }

  .text-responsive-caption {
    font-size: var(--fs-caption-desktop);
  }

  .text-responsive-micro {
    font-size: var(--fs-micro-desktop);
  }
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.leading-tight {
  line-height: 1.25;
}

.leading-snug {
  line-height: 1.375;
}

.leading-normal {
  line-height: 1.5;
}

.leading-relaxed {
  line-height: 1.625;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-normal {
  letter-spacing: 0em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

/* ============================================
   3. SPACING UTILITIES
   ============================================ */
.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   4. LAYOUT UTILITIES
   ============================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--text-muted);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.hidden {
  display: none;
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   3. HEADER & NAVIGATION
   ============================================ */

.main-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: none;
}

.nav-logo {
  font-size: 1.625rem;
  font-weight: 900;
  display: flex;
  gap: 0.125rem;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .nav-logo {
    font-size: 1.875rem;
  }
}

.nav-logo span:nth-child(1) {
  color: var(--primary);
}

.nav-logo span:nth-child(2) {
  color: var(--text-main);
}

.nav-logo span:nth-child(3) {
  color: var(--primary);
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

.desktop-nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.desktop-nav a:not(.btn):hover {
  color: var(--primary);
}

.desktop-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-header-controls {
    display: none;
  }

  .mobile-toggle {
    display: none;
  }
}

/* Mobile Header Controls */
.mobile-header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-account {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(177, 18, 38, 0.2);
}

.mobile-whatsapp {
  width: 40px;
  height: 40px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: none;
}

.mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
  font-size: 1.5rem;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu Drawer */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 200;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.mobile-menu-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.5rem;
}

.drawer-content {
  padding: 1rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-weight: 500;
}

.drawer-link:hover {
  background: var(--bg-body);
}

.drawer-link.active {
  background: var(--secondary-light);
  color: var(--secondary);
}

.drawer-link i {
  width: 24px;
  text-align: center;
}

/* ============================================
   4. BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  gap: 0.5rem;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.96);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: none;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--secondary);
  transform: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: #FFFFFF;
}

/* ============================================
   5. CARDS & CHIPS
   ============================================ */

.card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: none;
  border: 1px solid var(--border);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  box-shadow: none;
}

/* ============================================
   6. HERO SECTION
   ============================================ */

.hero {
  padding: 4rem 0;
  text-align: center;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: none;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.hero-title {
  font-size: var(--fs-h1-mobile);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary);
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--fs-h1-desktop);
  }

  .hero-subtitle {
    font-size: var(--fs-body-desktop);
  }
}

/* ============================================
   7. SERVICE SECTIONS
   ============================================ */

.service-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--secondary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--bg-surface);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text-main);
}

.service-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--secondary);
  background: var(--bg-surface);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: none;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: none;
  box-shadow: none;
}

.service-name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================
   8. REAL ESTATE SECTION
   ============================================ */

.real-estate-section {
  padding: 4rem 0;
  background: var(--bg-surface);
}

.real-estate-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: var(--transition);
}

.real-estate-card::before {
  content: none;
}

.real-estate-card:hover::before {
  opacity: 1;
}

.real-estate-card:hover {
  transform: none;
  box-shadow: none;
}

.real-estate-icon {
  width: 90px;
  height: 90px;
  background: var(--primary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #FFFFFF;
  margin: 0 auto 1.5rem;
  box-shadow: none;
  transition: var(--transition);
}

.real-estate-card:hover .real-estate-icon {
  transform: none;
  box-shadow: none;
}

/* ============================================
   9. PROPERTY CARDS
   ============================================ */

.property-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: none;
  transition: var(--transition);
  position: relative;
}

.property-card:hover {
  transform: none;
  box-shadow: none;
}

.property-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.property-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
  flex-wrap: wrap;
}

.property-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.property-tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

.tag {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.tag-primary {
  background: var(--gradient-primary);
}

.tag-success {
  background: var(--success);
}

/* ============================================
   10. GALLERY & AMENITIES
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 200px);
    height: 400px;
  }

  .gallery-main {
    grid-row: 1 / -1;
    height: 100%;
  }

  .gallery-sub {
    height: 100%;
  }
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-img:hover {
  transform: scale(1.02);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  gap: 0.5rem;
}

.amenity-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

/* ============================================
   11. FORMS
   ============================================ */

.input-group {
  margin-bottom: 1rem;
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: none;
}

/* ============================================
   12. SIDEBAR & FILTERS
   ============================================ */

.sidebar-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.sidebar {
  width: 300px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: none;
  position: sticky;
  top: 100px;
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
  }
}

.main-content {
  flex: 1;
  width: 100%;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.range-slider {
  width: 100%;
  margin: 1rem 0;
}

/* Mobile Filter Drawer */
.filter-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 200;
  transition: var(--transition);
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.filter-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   13. JOIN PAGE
   ============================================ */

.join-page {
  padding-top: 80px;
  padding-bottom: 100px;
}

.join-content {
  display: flex;
  justify-content: center;
}

.join-card {
  background: var(--bg-surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.join-card .icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.benefits-list li i {
  color: var(--success);
}

/* ============================================
   14. MOBILE NAVIGATION
   ============================================ */

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-evenly;
  padding: 0.5rem 0;
  z-index: 100;
  box-shadow: none;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 0.75rem;
  min-width: 60px;
  text-align: center;
}

.mobile-nav-item i {
  font-size: 1.25rem;
}

.mobile-nav-item:hover {
  color: var(--secondary);
}

.mobile-nav-item.active {
  color: var(--secondary);
}

.mobile-nav-item.active i {
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

/* ============================================
   15. FLOATING ACTION BUTTONS
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 64px;
  height: 64px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: none;
  z-index: 90;
  transition: var(--transition);
  animation: none;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

.whatsapp-float:hover {
  transform: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  .whatsapp-float {
    bottom: 30px;
  }
}

.post-property-fab {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  z-index: 95;
  text-decoration: none;
  transition: var(--transition);
  animation: none;
}

.post-property-fab:hover {
  transform: translateX(-50%);
  box-shadow: none;
  color: #FFFFFF;
}

/* ============================================
   16. ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

/* ============================================
   HEADER REDESIGN STYLES
   ============================================ */

/* Top Orange Bar */
.top-orange-bar {
  height: 6px;
  background: #FF6600;
  /* Use the orange from image, or somewhat close */
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 101;
}

/* Adjust Main Header Sticky Position */
.main-header {
  top: 6px;
  /* Below the orange bar */
  padding: 0.75rem 0;
  font-family: 'Inter', sans-serif;
}

/* Logo Tagline */
.logo-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: -2px;
}

/* Updated Desktop Nav */
.desktop-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  transition: all 0.2s;
  text-decoration: none;
  padding: 0.25rem 0;
}

.desktop-nav a:hover {
  color: #B11226;
  /* Primary Color */
}

@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
  }
}

/* Header Actions (Right Side) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.action-btn {
  background: none;
  border: none;
  color: #334155;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.action-btn:hover {
  color: #B11226;
}

.lang-btn {
  font-size: 0.9rem;
  font-weight: 600;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0F172A;
  /* Darker Blue */
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.login-btn:hover {
  color: #B11226;
  background: #F8FAFC;
}

.login-btn i {
  font-size: 1.2rem;
  color: #0F172A;
}

.login-btn:hover i {
  color: #B11226;
}


/* Hide Mobile Toggle on Desktop */
@media (min-width: 900px) {
  .mobile-toggle {
    display: none;
  }

  .header-actions .mobile-toggle {
    display: none;
  }
}

/* Mobile Adjustments */
@media (max-width: 899px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
    margin-left: 0.5rem;
  }

  .login-btn span {
    display: none;
    /* Hide text on mobile if needed, or keep it */
  }

  .login-btn {
    font-size: 0;
    /* Hide text visually but keep icon */
    padding: 0.25rem;
  }

  .login-btn i {
    font-size: 1.4rem;
    color: #B11226;
    /* Make it prominent on mobile */
  }

  .logo-tagline {
    font-size: 0.5rem;
  }

  .action-btn {
    display: none;
    /* Maybe hide search/lang on mobile for now or put in drawer */
  }

  /* Ensure Login and Toggle are visible */
  .header-actions .mobile-toggle {
    display: block;
  }

  .header-actions .login-btn {
    display: flex;
  }
}