@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Harmonious Color Palette */
  --primary-color: #d4af37;       /* Metallic Gold */
  --primary-dark: #b48a1d;        /* Dark Gold */
  --primary-light: #fef08a;       /* Light Yellow */
  --secondary-color: #0f172a;     /* Slate 900 */
  --secondary-light: #1e293b;     /* Slate 800 */
  --bg-main: #f8fafc;             /* Slate 50 */
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;          /* Slate 500 */
  --text-light: #94a3b8;          /* Slate 400 */
  --border-color: #e2e8f0;        /* Slate 200 */
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --- RESET & GENERAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary-color);
}

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

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

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER / NAVBAR --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-normal);
}

header.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}

header.scrolled .logo,
header.scrolled nav a,
header.scrolled .contact-btn {
  color: #ffffff;
}

header.scrolled .contact-btn {
  border-color: rgba(255, 255, 255, 0.2);
}

header.scrolled .contact-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary-color);
}

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

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

nav a:hover {
  color: var(--primary-color) !important;
}

nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-btn {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.contact-btn:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.admin-btn-link {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.admin-btn-link:hover {
  background-color: var(--primary-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 3px;
  transition: var(--transition-normal);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 100px;
  padding-bottom: 80px;
  color: #ffffff;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 48px;
}

.hero-tag {
  background-color: rgba(214, 175, 55, 0.15);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  animation: fadeIn 1s ease;
}

.hero h1 {
  font-size: 56px;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
  animation: slideUp 1s ease;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

/* --- SEARCH BAR --- */
.search-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  max-width: 1000px;
  margin: 0 auto;
  color: var(--text-dark);
  animation: slideUp 1.2s ease;
}

.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.search-tab {
  background: none;
  border: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 18px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.search-tab.active {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: flex-end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.search-field select,
.search-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition-fast);
}

.search-field select:focus,
.search-field input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.search-btn {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-normal);
  height: 50px;
}

.search-btn:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- SECTION DECORATION --- */
.section {
  padding: 100px 0;
}

.section-bg {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

/* --- PROPERTY LISTINGS --- */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-tab {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--secondary-color);
  color: #ffffff;
  border-color: var(--secondary-color);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.listing-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212, 175, 55, 0.3);
}

.listing-img-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.listing-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.listing-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.badge-type {
  background-color: var(--secondary-color);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.badge-type.satilik {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.badge-category {
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.listing-price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background-color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.listing-price {
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-size: 16px;
}

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

.listing-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 12px;
}

.listing-location i {
  color: var(--primary-color);
}

.listing-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.35;
}

.listing-title a:hover {
  color: var(--primary-color);
}

.listing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
}

.feature-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- STATS / CTABANNER --- */
.cta-banner {
  background-image: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  color: #ffffff;
  padding: 80px 0;
  border-radius: var(--radius-lg);
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-left h2 {
  color: #ffffff;
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 800;
}

.cta-left p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-size: 17px;
}

.cta-btn-group {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: var(--transition-normal);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color);
  display: block;
}

.stat-lbl {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

/* --- MISSION SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-img-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-item.large {
  grid-row: span 2;
  height: 100%;
}

.about-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission-item {
  display: flex;
  gap: 16px;
}

.mission-icon {
  background-color: rgba(214, 175, 55, 0.1);
  color: var(--primary-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.mission-text h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

.mission-text p {
  font-size: 14px;
  margin-bottom: 0;
}

/* --- AGENTS SECTION --- */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.agent-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.agent-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.3);
}

.agent-avatar-frame {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-full);
  margin: 0 auto 24px auto;
  overflow: hidden;
  border: 4px solid var(--bg-main);
  box-shadow: var(--shadow-md);
}

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

.agent-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.agent-card p {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}

.agent-contact-details {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.agent-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.agent-meta-item i {
  color: var(--primary-color);
}

/* --- TESTIMONIALS --- */
.reviews-section {
  background-color: var(--bg-main);
}

.reviews-slider {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 40px;
  color: rgba(214, 175, 55, 0.2);
  margin-bottom: 24px;
}

.review-stars {
  color: var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.review-content {
  font-size: 18px;
  line-height: 1.7;
  color: var(--secondary-color);
  font-style: italic;
  margin-bottom: 30px;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.review-author-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.review-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-info {
  text-align: left;
}

.review-author-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--secondary-color);
}

.review-author-title {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- BLOG & NEWS --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212, 175, 55, 0.3);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.blog-card-content {
  padding: 24px;
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.blog-card-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-card-title a:hover {
  color: var(--primary-color);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.blog-card-link {
  font-weight: 700;
  font-size: 13px;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-link:hover {
  color: var(--primary-dark);
}

/* --- FOOTER --- */
footer {
  background-color: var(--secondary-color);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--primary-color);
}

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

.footer-col h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-fast);
}

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

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 14px;
}

.footer-links-list a:hover {
  color: var(--primary-color);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--primary-color);
  font-size: 16px;
  margin-top: 3px;
}

.footer-contact-item span {
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom span a {
  color: var(--primary-color);
  font-weight: 600;
}

/* --- INNER PAGES COMMON --- */
.page-header {
  background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../images/inner-header-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 140px 0 80px 0;
  color: #ffffff;
  text-align: center;
}

.page-header h1 {
  color: #ffffff;
  font-size: 40px;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

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

.inner-page-layout {
  padding: 80px 0;
}

/* --- CONTACT PAGE --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  background-color: rgba(214, 175, 55, 0.1);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card-info h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-card-info p {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-form-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-main);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  background-color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.alert {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert-warning {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.map-container {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 450px;
}

/* --- PROPERTY LISTINGS PAGE --- */
.listings-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.filter-sidebar {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.filter-sidebar h3 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.filter-btn-apply {
  background-color: var(--secondary-color);
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn-apply:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* --- DETAIL PAGES --- */
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.detail-main-img {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.detail-title-area h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.detail-price-area {
  text-align: right;
}

.detail-price-lbl {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.detail-features-bar {
  display: flex;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 40px;
  justify-content: space-around;
}

.detail-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-feature-icon {
  background-color: rgba(214, 175, 55, 0.1);
  color: var(--primary-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.detail-feature-info {
  display: flex;
  flex-direction: column;
}

.detail-feature-val {
  font-weight: 700;
  color: var(--secondary-color);
}

.detail-feature-lbl {
  font-size: 11px;
  color: var(--text-muted);
}

.detail-section {
  margin-bottom: 40px;
}

.detail-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.detail-desc {
  color: var(--text-muted);
  line-height: 1.8;
}

.detail-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail-spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.detail-spec-name {
  font-weight: 600;
  color: var(--text-muted);
}

.detail-spec-val {
  font-weight: 700;
  color: var(--secondary-color);
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.agent-widget {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.agent-widget-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.agent-widget-avatar {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

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

.agent-widget-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.agent-widget-info p {
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
}

.agent-widget-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.agent-widget-btn {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: block;
}

.agent-widget-btn:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
}

/* --- RECENT ARTICLES WIDGET --- */
.widget {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.widget-title {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recent-post-item {
  display: flex;
  gap: 12px;
}

.recent-post-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recent-post-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.recent-post-title a:hover {
  color: var(--primary-color);
}

.recent-post-date {
  font-size: 11px;
  color: var(--text-light);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 44px;
  }
  .search-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-btn {
    grid-column: span 2;
  }
  .listings-grid, .agents-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid, .cta-grid, .contact-layout, .detail-grid, .listings-page-layout {
    grid-template-columns: 1fr;
  }
  .listings-page-layout .filter-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  nav.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .header-right {
    margin-right: 16px;
  }

  .listings-grid, .agents-grid, .blog-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    gap: 30px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail-features-bar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
