/* =============================================
   ARMA EMLAK - MAIN STYLESHEET
   ============================================= */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

/* =============================================
   CSS VARIABLES - DESIGN SYSTEM
   ============================================= */
:root {
  --gold: #BEAF87;
  --dark-gold: #746649;
  --grey-900: #252526;
  --black: #121212;
  --grey-600: #727273;
  --white: #FFFFFF;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-gold: 0 4px 20px rgba(190, 175, 135, 0.3);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* =============================================
   RESET & BASE STYLES
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--grey-900);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-sm);
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title h2 {
  color: var(--grey-900);
  margin-bottom: var(--spacing-sm);
}

.section-title p {
  color: var(--grey-600);
  font-size: 1.125rem;
}

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

.text-gold {
  color: var(--gold);
}

.bg-light {
  background-color: #F9F9F9;
}

.bg-dark {
  background-color: var(--black);
  color: var(--white);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-base);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--dark-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-dark {
  background-color: var(--grey-900);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--black);
  box-shadow: var(--shadow-md);
}

/* =============================================
   PRELOADER
   ============================================= */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: var(--transition-base);
}

.header.scrolled {
  background-color: rgba(18, 18, 18, 0.98);
  box-shadow: var(--shadow-md);
}

.header .nav-link,
.header .logo {
  color: var(--white);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--grey-900);
  transition: var(--transition-base);
}

.logo span {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition-base);
  opacity: 0.85;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transform: translateX(-50%);
  transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.7rem;
  margin-left: 5px;
  transition: var(--transition-base);
  display: inline-block;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-base);
  z-index: 1000;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--grey-900);
  font-size: 0.9375rem;
  transition: var(--transition-base);
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: rgba(190, 175, 135, 0.1);
  color: var(--gold);
  padding-left: 2rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  transition: var(--transition-base);
  border-radius: 2px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  height: 780px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  margin-top: 70px;
  padding: var(--spacing-lg) 0;
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-contain {
  background-color: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-contain img {
  width: auto;
  max-width: 90%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

 .hero-slide-portrait {
  background-color: #0f0f0f;
}

.hero-slide-portrait img {
  object-fit: contain;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.7), rgba(37, 37, 38, 0.5));
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
  animation: fadeInUp 1s ease;
  max-width: 800px;
  padding: 0 var(--spacing-md);
  margin: 110px auto 0;
}

/* Right-bottom aligned variant for personal hero */
.hero-content.align-bottom-right {
  position: absolute;
  bottom: 40px;
  right: 40px;
  left: auto;
  margin: 0;
  max-width: 560px;
  text-align: right;
}

.hero-content.align-bottom-right h1 {
  font-size: 3rem;
}

.hero-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
}

.hero-description {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
}

@media screen and (max-width: 768px) {
  
  .hero-content {
    margin: 50px auto 0;
  }

  .hero-content.align-bottom-right {
    right: 20px;
    left: 20px;
    bottom: 20px;
    max-width: none;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }

  .search-box {
    margin-top: 20px;
  }
  
  .hero-dots {
    bottom: 100px;
  }
  
  .hero-navigation {
    display: none;
  }
  
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.9);
}

/* =============================================
   INTRO SECTION UNDER SLIDER
   ============================================= */
.intro-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.intro-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--grey-900);
}

.intro-subtitle {
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 600;
}

.intro-description {
  color: var(--grey-600);
  line-height: 1.8;
  font-size: 1rem;
}

@media screen and (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

/* =============================================
   SPOTLIGHT & ACCOLADES SECTION
   ============================================= */
.spotlight-section {
  padding: var(--spacing-xxl) 0;
  background: #F9F9F9;
}

.accolades-section {
  padding: var(--spacing-xxl) 0;
  background: var(--white);
}

.profile-spotlight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.spotlight-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.spotlight-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.spotlight-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--grey-900);
}

.spotlight-role {
  color: var(--gold);
  font-weight: 600;
}

.spotlight-bio {
  color: var(--grey-600);
  line-height: 1.8;
}

.spotlight-highlights {
  margin: var(--spacing-sm) 0 var(--spacing-md);
  padding-left: 1.25rem;
  color: var(--grey-600);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spotlight-highlights li strong {
  color: var(--grey-900);
}

.spotlight-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-sm);
}

.spotlight-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.spotlight-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grey-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.spotlight-social a:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}

.accolades-header { text-align: center; margin-bottom: var(--spacing-lg); }
.accolades-header h3 { font-size: 1.75rem; color: var(--grey-900); margin-bottom: var(--spacing-xs); }
.accolades-header p { color: var(--grey-600); }

.accolades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--spacing-lg);
}

.accolade-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.accolade-image {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
}

.accolade-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.accolade-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.accolade-icon-gold {
  background: rgba(190, 175, 135, 0.15);
  color: var(--gold);
}

.accolade-icon-dark {
  background: rgba(18, 18, 18, 0.1);
  color: var(--grey-900);
}

.accolade-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

@media screen and (max-width: 768px) {
  .profile-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .spotlight-highlights {
    padding-left: 0;
    list-style: none;
  }

  .spotlight-highlights li {
    list-style: none;
  }

  .spotlight-social {
    justify-content: center;
  }

  .spotlight-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .accolade-image {
    height: 120px;
  }

  .spotlight-avatar { margin: 0 auto; }
}

/* Search Box - Positioned at Bottom */
.search-box {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s ease 0.3s both;
  margin: 0 auto;
  width: 95%;
  max-width: 1200px;
  z-index: 2;
}

.search-form {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-end;
  flex-wrap: wrap;
}

.search-form .form-group {
  flex: 1;
  min-width: 180px;
}

.search-form button {
  flex-shrink: 0;
  padding: 0.75rem 2rem;
  height: 42px;
  white-space: nowrap;
}

/* Hero Navigation */
.hero-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--spacing-md);
  z-index: 3;
  pointer-events: none;
}

.hero-prev,
.hero-next {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-base);
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-prev {
  padding-right: 2px;
  padding-bottom: 6px;
}

.hero-next {
  padding-left: 2px;
  padding-bottom: 6px;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-base);
}

.hero-dot.active {
  background: var(--white);
  border-color: var(--white);
  width: 30px;
  border-radius: 6px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey-900);
}

.form-control {
  padding: 0.75rem;
  border: 1px solid #E0E0E0;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  transition: var(--transition-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(190, 175, 135, 0.1);
}

select.form-control {
  cursor: pointer;
  background-color: var(--white);
}

/* =============================================
   PROPERTY CARDS
   ============================================= */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.property-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.property-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

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

/* Disable animations for Featured Projects (properties-grid on homepage) */
.properties-grid .property-card,
.properties-grid .property-image img {
  transition: none !important;
}

.properties-grid .property-card:hover {
  transform: none !important;
  box-shadow: var(--shadow-sm) !important;
}

.properties-grid .property-card:hover .property-image img {
  transform: none !important;
}

.property-badge {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  background-color: var(--gold);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.property-list-card .property-badge {
  background-color: var(--gold);
  top: var(--spacing-md);
  left: var(--spacing-md);
}

.property-content {
  padding: var(--spacing-md);
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
}

.property-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--grey-900);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--grey-600);
  font-size: 0.9375rem;
  margin-bottom: var(--spacing-sm);
}

.property-features {
  display: flex;
  gap: var(--spacing-md);
  padding-top: var(--spacing-sm);
  border-top: 1px solid #E0E0E0;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--grey-600);
}

.property-feature svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

/* =============================================
   AGENTS SECTION
   ============================================= */
.agents-carousel {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: var(--spacing-md) 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #E0E0E0;
}

.agents-carousel::-webkit-scrollbar {
  height: 8px;
}

.agents-carousel::-webkit-scrollbar-track {
  background: #E0E0E0;
  border-radius: 10px;
}

.agents-carousel::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

.agent-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: block;
  cursor: pointer;
  color: inherit;
}

.agent-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.agent-card .agent-contact a {
  pointer-events: auto;
}

.agent-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.agent-info {
  padding: var(--spacing-md);
  text-align: center;
}

.agent-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--grey-900);
}

.agent-title {
  color: var(--grey-600);
  font-size: 0.9375rem;
  margin-bottom: var(--spacing-sm);
}

.agent-contact {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.agent-contact a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition-base);
  position: relative;
  z-index: 2;
}

.agent-contact a:hover {
  background-color: var(--dark-gold);
  transform: scale(1.1);
}

.agent-contact a svg {
  width: 18px;
  height: 18px;
}

/* =============================================
   BLOG CARDS
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.blog-image {
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: var(--spacing-md);
}

.blog-meta {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--grey-600);
}

.blog-category {
  color: var(--gold);
  font-weight: 600;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--grey-900);
}

.blog-excerpt {
  color: var(--grey-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.read-more {
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-base);
}

.read-more:hover {
  gap: 0.75rem;
}

/* =============================================
   WHY CHOOSE US - ICON BOXES
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.feature-box {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.feature-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background-color: rgba(190, 175, 135, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--gold);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--grey-900);
}

.feature-description {
  color: var(--grey-600);
  line-height: 1.7;
}

/* =============================================
   FEATURES SECTION (Two Column Layout)
   ============================================= */
.features-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--white);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(190, 175, 135, 0.03) 10px,
    rgba(190, 175, 135, 0.03) 20px
  );
  pointer-events: none;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
  margin-bottom: var(--spacing-xxl);
  position: relative;
  z-index: 1;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
  height: 100%;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.feature-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: var(--spacing-md);
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-600);
  margin-bottom: var(--spacing-sm);
}

.feature-image {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.feature-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   ABOUT BANNER SECTION
   ============================================= */
.about-banner-section {
  background-color: #D4C5A9;
  padding: var(--spacing-xxl) 0;
}

.about-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-banner-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--spacing-lg);
}

.about-banner-title .title-line {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.about-banner-text {
  max-width: 900px;
  margin: 0 auto;
}

.about-banner-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--white);
  opacity: 0.95;
}

/* =============================================
   AWARDS SECTION
   ============================================= */
.awards-grid,
.certificates-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.award-card,
.certificate-card,
.testimonial-card {
  background-color: var(--white);
  padding: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  text-align: center;
  overflow: hidden;
}

.award-card:hover,
.certificate-card:hover,
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.award-icon,
.certificate-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-icon svg,
.certificate-icon svg {
  width: 100%;
  height: 100%;
}

.certificate-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-card > h3,
.certificate-card > .certificate-year,
.certificate-card > .certificate-description {
  padding: 0 var(--spacing-lg) var(--spacing-md);
}

.certificate-card > .certificate-description {
  padding-bottom: var(--spacing-lg);
}

.award-card h3,
.certificate-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--spacing-sm);
  color: var(--grey-900);
}

.award-year,
.certificate-year {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.award-description,
.certificate-description {
  font-size: 0.9375rem;
  color: var(--grey-600);
  line-height: 1.7;
}

.award-card {
  padding: var(--spacing-lg);
}

.testimonial-card {
  padding: var(--spacing-lg);
}

/* Testimonials Specific Styles */
.testimonial-stars {
  color: #FFB800;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  font-style: italic;
}

.testimonial-author h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--grey-900);
}

.testimonial-author p {
  font-size: 0.875rem;
  color: var(--gold);
}

/* =============================================
   PHOTO & VIDEO GALLERY
   ============================================= */
.photo-gallery,
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.photo-item,
.video-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-base);
}

.photo-item:hover,
.video-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.photo-item img,
.video-thumbnail {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.video-thumbnail {
  position: relative;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
}

.photo-overlay,
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 18, 18, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
}

.photo-item:hover .photo-overlay,
.video-item:hover .video-overlay {
  opacity: 1;
}

.photo-view,
.video-play {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.video-item h3 {
  font-size: 1.25rem;
  margin: var(--spacing-md) 0 var(--spacing-sm);
  color: var(--grey-900);
  padding: 0 var(--spacing-sm);
}

.video-item p {
  font-size: 0.9375rem;
  color: var(--grey-600);
  padding: 0 var(--spacing-sm);
  padding-bottom: var(--spacing-md);
}

/* Lightbox Styles */
.photo-lightbox,
.video-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.photo-lightbox.active,
.video-lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.video-player {
  width: 90vw;
  max-width: 1200px;
  aspect-ratio: 16/9;
  position: relative;
}

.video-player iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: -60px;
  right: 0;
}

.lightbox-prev {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: var(--white);
  text-align: center;
  padding: var(--spacing-xxl) 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

.btn-cta {
  background-color: var(--white);
  color: var(--gold);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition-base);
}

.btn-cta:hover {
  background-color: var(--grey-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item.active {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: var(--spacing-lg);
  background-color: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--grey-900);
  transition: var(--transition-base);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question span:first-child {
  flex: 1;
  padding-right: var(--spacing-md);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(218, 165, 32, 0.1);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--gold);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--spacing-lg);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-600);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.footer-section {
  flex: 1;
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
  font-size: 1.125rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-base);
}

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

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xs);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(190, 175, 135, 0.2);
  border-radius: 50%;
  transition: var(--transition-base);
}

.social-links a:hover {
  background-color: var(--gold);
  transform: scale(1.1);
}

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

/* =============================================
   MOBILE STICKY CTA
   ============================================= */
.mobile-sticky-cta {
  display: none;
}

/* =============================================
   FLOATING ELEMENTS
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition-base);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: var(--transition-base);
  cursor: pointer;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--dark-gold);
  transform: translateY(-5px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll Animation Classes */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure section-title is always visible */
.section-title {
  opacity: 1 !important;
}

.section-title h2,
.section-title p {
  opacity: 1 !important;
}

.fade-in-left {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Ensure all text content is visible */
.fade-in-left,
.fade-in-right,
.fade-in p,
.fade-in h2,
.fade-in h3,
.fade-in h4,
.timeline-item,
.feature-box {
  opacity: 1 !important;
}

/* =============================================
   FILTER BAR (For Listings Page)
   ============================================= */
.filter-bar {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-lg);
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
  align-items: end;
}

/* =============================================
   LISTINGS PAGE LAYOUT
   ============================================= */
.listings-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--spacing-xl);
  width: 100%;
}

.listings-sidebar {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 100px;
  width: 100%;
  max-width: 320px;
}

.listings-sidebar h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--grey-900);
  font-size: 1.25rem;
}

.broker-info-card {
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--white);
  margin: var(--spacing-lg) 0;
}

.broker-avatar-large {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--spacing-md);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.broker-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.broker-info-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.broker-info-card p {
  font-size: 0.9375rem;
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.9);
}

.broker-contact p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.filter-form-vertical {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
}

.filter-form-vertical .form-group {
  width: 100%;
}

.filter-form-vertical input,
.filter-form-vertical select {
  width: 100%;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.price-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--spacing-xs);
  align-items: center;
}

.price-range span {
  color: var(--grey-600);
  font-weight: 500;
  padding: 0 var(--spacing-xs);
}

.price-range input {
  width: 100%;
  min-width: 0;
}

.listings-content {
  display: flex;
  flex-direction: column;
}

.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.listings-header h2 {
  margin: 0;
  color: var(--grey-900);
}

.sort-dropdown {
  display: flex;
  align-items: center;
}

.properties-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.property-list-card {
  display: flex;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.property-list-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.property-list-image {
  width: 350px;
  height: 250px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.property-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.property-list-card:hover .property-list-image img {
  transform: scale(1.05);
}

.property-list-content {
  flex: 1;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.property-list-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--grey-900);
}

.property-list-location {
  font-size: 0.9375rem;
  color: var(--grey-600);
  margin-bottom: var(--spacing-sm);
}

.property-list-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-heading);
}

.property-list-portfolio {
  font-size: 0.875rem;
  color: var(--grey-600);
  margin-bottom: var(--spacing-md);
}


/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E0E0E0;
  border-radius: var(--radius-sm);
  color: var(--grey-900);
  font-weight: 500;
  transition: var(--transition-base);
}

.pagination a:hover,
.pagination .active {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* =============================================
   IMAGE SLIDER (For Property Detail)
   ============================================= */
.property-slider {
  position: relative;
  height: 500px;
  background-color: var(--black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

.slider-images {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.slider-image {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 10;
}

.slider-btn:hover {
  background-color: var(--gold);
  color: var(--white);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-btn svg {
  width: 24px;
  height: 24px;
}

/* =============================================
   PROPERTY INFO TABLE
   ============================================= */
.property-info-table {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-lg);
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #E0E0E0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: var(--grey-900);
}

.info-value {
  color: var(--grey-600);
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* =============================================
   COUNTERS (For About Page)
   ============================================= */
.counters-section {
  background-color: var(--gold);
  color: var(--white);
  padding: var(--spacing-xxl) 0;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  text-align: center;
}

.counter-box {
  padding: var(--spacing-md);
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-sm);
}

.counter-label {
  font-size: 1.125rem;
  opacity: 0.95;
}

/* =============================================
   TIMELINE (For About Page)
   ============================================= */
.timeline {
  position: relative;
  padding: var(--spacing-lg) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--gold);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.timeline-content {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
}

/* =============================================
   TEAM GRID (For About Page)
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

/* =============================================
   AGENTS GRID 4 COLUMN
   ============================================= */
.agents-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  align-items: start;
}

@media (max-width: 1199px) {
  .agents-grid-3col {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

@media (max-width: 768px) {
  .agents-grid-3col {
    grid-template-columns: 1fr;
  }
}

/* New Clean Agents Grid */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

@media (min-width: 1200px) {
  .agents-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .agents-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .agents-grid {
    grid-template-columns: 1fr;
  }
}

.agent-card-vertical {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid #f0f0f0;
  position: relative;
}

.agent-card-vertical:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  border-color: var(--gold);
}

.agent-image-box {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #f5f5f5;
}

.agent-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.3s ease;
}

.agent-card-vertical:hover .agent-image {
  transform: scale(1.05);
}

.agent-content {
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.agent-role {
  font-size: 0.875rem;
  color: var(--grey-600);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.agent-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.agent-club {
  font-size: 0.9375rem;
  color: var(--grey-600);
  margin-bottom: 1rem;
}

.agent-badge-small {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 10;
}

.agent-badge-small span {
  position: relative;
  z-index: 1;
}

.agent-badge-gold {
  background: var(--gold);
  color: var(--black);
}

.agent-card-gold {
  border: 2px solid var(--gold);
}

/* =============================================
   PROPERTY REQUEST FORM
   ============================================= */
.request-form-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.property-request-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-section {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 2rem;
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--grey-700);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #d0d0d0;
  border-radius: var(--radius-base);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--grey-900);
  background: var(--white);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.phone-input-wrapper {
  display: flex;
  gap: 0.5rem;
}

.phone-code {
  flex-shrink: 0;
  width: 120px;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-label {
  font-size: 0.9375rem;
  color: var(--grey-700);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox-label strong {
  color: var(--grey-900);
}

.form-submit-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.form-note {
  font-size: 0.875rem;
  color: var(--grey-600);
  text-align: center;
}

.privacy-section {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: var(--radius-base);
  margin-top: 1rem;
}

.privacy-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 1rem;
}

.privacy-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-base);
  margin-bottom: 1rem;
}

.privacy-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.privacy-content h4:first-child {
  margin-top: 0;
}

.privacy-content p {
  font-size: 0.875rem;
  color: var(--grey-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Form Validation */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #dc3545;
}

.field-error {
  font-size: 0.8125rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

/* Alert Messages */
.alert {
  position: fixed;
  top: 100px;
  right: 2rem;
  z-index: 9999;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 300px;
  max-width: 500px;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
}

.alert.show {
  opacity: 1;
  transform: translateX(0);
}

.alert-success {
  border-left: 4px solid #28a745;
}

.alert-error {
  border-left: 4px solid #dc3545;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.alert-content svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.alert-success svg {
  color: #28a745;
}

.alert-error svg {
  color: #dc3545;
}

.alert-content span {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.agents-grid-3col-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 1199px) {
  .agents-grid-3col-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .agents-grid-3col-new {
    grid-template-columns: 1fr;
  }
}

.agent-card-grid {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #E0E0E0;
  transition: var(--transition-base);
  display: block;
  text-decoration: none;
  color: inherit;
}

.agent-card-grid:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--gold);
}

/* New Agent Card Layout */
.agent-card-grid-new {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid #E0E0E0;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  height: 150px;
}

.agent-card-grid-new:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.agent-photo-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.agent-details {
  flex: 1;
  padding: 0;
  min-width: 0;
}

.agent-label {
  font-size: 0.875rem;
  color: var(--grey-600);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.agent-name-large {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  word-wrap: break-word;
}

.agent-club {
  font-size: 0.875rem;
  color: var(--grey-600);
  margin: 0;
  word-wrap: break-word;
}

.agent-badge,
.agent-badge-gold {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-svg {
  width: 100%;
  height: 100%;
}

/* =============================================
   POPUP MODAL SYSTEM
   ============================================= */
.popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-modal.visible {
  opacity: 1;
  visibility: visible;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.popup-content {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  max-height: 90vh;
  width: 90%;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-modal.visible .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--grey-900);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-base);
}

.popup-close:hover {
  background-color: var(--gold);
  transform: rotate(90deg);
}

.popup-header {
  padding: 2rem;
  border-bottom: 1px solid #E0E0E0;
  text-align: center;
}

.popup-header h2 {
  margin-bottom: 0.5rem;
  color: var(--grey-900);
}

.popup-header p {
  color: var(--grey-600);
}

.popup-body {
  padding: 2rem;
}

.popup-footer {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  padding: 2rem;
  border-top: 1px solid #E0E0E0;
}

/* About Popup Styles */
.about-popup-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-section-popup h3 {
  color: var(--grey-900);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.about-section-popup p {
  color: var(--grey-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-stats-popup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  padding: 2rem 0;
  margin: 2rem 0;
  border-top: 1px solid #E0E0E0;
  border-bottom: 1px solid #E0E0E0;
}

.stat-item-popup {
  text-align: center;
}

.stat-number-popup {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.stat-label-popup {
  font-size: 0.875rem;
  color: var(--grey-600);
}

.values-popup h3 {
  color: var(--grey-900);
  margin-bottom: 1.5rem;
  text-align: center;
}

.values-grid-popup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.value-item-popup {
  text-align: center;
  padding: var(--spacing-md);
}

.value-item-popup h4 {
  color: var(--grey-900);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.value-item-popup p {
  color: var(--grey-600);
  line-height: 1.6;
}

/* Blog Popup Styles */
.blog-popup-content {
  max-width: 900px;
  margin: 0 auto;
}

.blog-grid-popup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: 2rem;
}

.blog-item-popup {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.blog-item-popup:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-item-popup img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content-popup {
  padding: var(--spacing-md);
}

.blog-date-popup {
  font-size: 0.875rem;
  color: var(--gold);
  font-weight: 600;
}

.blog-content-popup h3 {
  font-size: 1.125rem;
  color: var(--grey-900);
  margin: 0.5rem 0;
  line-height: 1.4;
}

.blog-content-popup p {
  color: var(--grey-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.read-more-popup {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more-popup:hover {
  gap: 0.5rem;
}

.team-member {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  text-align: center;
}

.team-member:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.team-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-info {
  padding: var(--spacing-md);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--grey-900);
}

.team-position {
  color: var(--grey-600);
  margin-bottom: var(--spacing-sm);
}

/* =============================================
   AGENT PROFILE PAGE
   ============================================= */
.agent-profile-hero {
  background: linear-gradient(135deg, var(--grey-900), var(--black));
  padding: var(--spacing-xxl) 0;
  padding-top: 140px;
}

.profile-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  color: var(--white);
}

.profile-image {
  position: relative;
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.profile-info h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.agent-position {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: var(--spacing-md);
}

.profile-stats {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.profile-contact-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.agent-about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  color: var(--grey-600);
  line-height: 1.8;
  font-size: 1.0625rem;
}

.about-text p {
  margin-bottom: var(--spacing-md);
}

.specialty-list {
  list-style: disc;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  color: var(--grey-600);
}

.specialty-list li {
  margin-bottom: 0.5rem;
}

/* =============================================
   MAP CONTAINER
   ============================================= */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   CONTACT INFO CARDS
   ============================================= */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.contact-card {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-base);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  background-color: rgba(190, 175, 135, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--gold);
}

.contact-card h4 {
  color: var(--grey-900);
  margin-bottom: var(--spacing-sm);
}

.contact-card p {
  color: var(--grey-600);
  margin-bottom: 0;
}

/* =============================================
   MULTI-STEP FORM (For Join Us Page)
   ============================================= */
.multi-step-form {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 700px;
  margin: 0 auto;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #E0E0E0;
  z-index: 0;
}

.progress-fill {
  position: absolute;
  top: 20px;
  left: 0;
  height: 2px;
  background-color: var(--gold);
  z-index: 1;
  transition: width 0.3s ease;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--grey-600);
  transition: var(--transition-base);
}

.step.active .step-number {
  background-color: var(--gold);
  color: var(--white);
}

.step.completed .step-number {
  background-color: var(--dark-gold);
  color: var(--white);
}

.step-label {
  font-size: 0.875rem;
  color: var(--grey-600);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-lg);
  gap: var(--spacing-sm);
}

/* =============================================
   LEGAL PAGES (Privacy, KVKK)
   ============================================= */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  line-height: 1.8;
}

.legal-content h1 {
  color: var(--grey-900);
  margin-bottom: var(--spacing-md);
}

.legal-content h2 {
  color: var(--grey-900);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  font-size: 1.75rem;
}

.legal-content h3 {
  color: var(--grey-900);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.legal-content p {
  color: var(--grey-600);
  margin-bottom: var(--spacing-md);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.legal-content li {
  color: var(--grey-600);
  margin-bottom: 0.5rem;
}

/* =============================================
   PROJECT GRID
   ============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--spacing-lg);
}

.project-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  cursor: pointer;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.project-image {
  height: 280px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: var(--spacing-md);
}

.project-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--grey-900);
}

.project-location {
  color: var(--grey-600);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-description {
  color: var(--grey-600);
  line-height: 1.7;
}

/* =============================================
   PROJECTS SHOWCASE GRID
   ============================================= */
.projects-showcase-section {
  background-color: #F9F9F9;
  position: relative;
  min-height: 600px;
}

.projects-showcase-section::before {
  content: '21';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 400px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.projects-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.projects-showcase-card {
  background-color: transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.projects-showcase-image {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.projects-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.projects-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
}

.projects-showcase-card:hover .projects-showcase-overlay {
  opacity: 1;
}

.projects-showcase-plus {
  font-size: 80px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

.projects-showcase-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--grey-900);
  text-align: center;
  margin: 0;
}

/* Project Detail Page Styles */
.project-hero-section {
  position: relative;
  height: 400px;
  overflow: hidden;
  margin-top: 80px;
}

.project-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.project-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 1;
}

.project-hero-section .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2rem;
}

.breadcrumb {
  color: var(--white);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--gold);
}

.project-detail-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
}

.project-detail-main {
  min-width: 0;
}

.project-detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 2rem;
}

.project-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--grey-700);
  margin-bottom: 3rem;
}

.project-intro p {
  margin-bottom: 1.5rem;
}

.project-section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.project-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-700);
  margin-bottom: 3rem;
}

.project-description p {
  margin-bottom: 1rem;
}

.project-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  padding: 3rem;
  background: var(--grey-50);
  border-radius: 12px;
}

.project-stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-gallery-section {
  margin-top: 4rem;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-size: 3rem;
  color: var(--white);
  font-weight: 300;
  line-height: 1;
}

.related-projects-section {
  margin-top: 4rem;
}

.related-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.related-project-card {
  text-decoration: none;
  transition: transform 0.3s ease;
}

.related-project-card:hover {
  transform: translateY(-5px);
}

.related-project-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.related-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-project-card:hover .related-project-image img {
  transform: scale(1.05);
}

.related-project-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-900);
  text-align: center;
  margin: 0;
}

/* Project Detail Sidebar */
.project-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-contact-card {
  background: var(--grey-50);
  padding: 2rem;
  border-radius: 12px;
}

.project-contact-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--grey-700);
}

.contact-info strong {
  color: var(--grey-900);
  font-weight: 600;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-outline {
  background: transparent;
  color: var(--grey-900);
  border: 2px solid var(--grey-900);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--grey-900);
  color: var(--white);
}

.broker-info-sidebar {
  background: var(--white);
  border: 2px solid var(--grey-200);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.broker-avatar-medium {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.broker-avatar-medium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.broker-info-sidebar h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 0.5rem;
}

.broker-info-sidebar p {
  color: var(--grey-600);
  margin-bottom: 1.5rem;
}

