/*
Theme Name: Opulent Dwell
Theme URI: https://opulentdwell.com
Author: Opulent Dwell Team
Author URI: https://opulentdwell.com
Description: A premium WordPress theme for luxury property listings - Realtor-You Style
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: opulent-dwell
Tags: real-estate, properties, luxury, custom-post-types
*/

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  /* Brand Colors - New Opulent Dwell Palette */
  --color-primary: #1a4052;
  /* Dark Teal - Primary brand color */
  --color-secondary: #dba746;
  /* Gold - Secondary/accent color */
  --color-accent: #b3782a;
  /* Bronze - Tertiary accent */
  --color-dark: #0d0d0d;
  --color-light: #f5f1ed;
  --color-white: #ffffff;
  --color-beige: #f5f1ed;
  --color-beige-dark: #ebe5df;
  --color-cream: #faf8f6;
  --color-gray-100: #faf8f6;
  --color-gray-200: #f0ebe6;
  --color-gray-300: #d4cfc9;
  --color-gray-400: #a8a29e;
  --color-gray-500: #78716c;
  --color-gray-600: #57534e;
  --color-gray-700: #44403c;
  --color-gray-800: #292524;
  --color-gray-900: #1c1917;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px 0 rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: 2rem;
}

/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-primary);
  background-color: var(--color-beige);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-secondary);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: var(--text-6xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

p {
  color: var(--color-gray-600);
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-20) 0;
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: var(--space-8);
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.site-header {
  background: #f5f0e8;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 40px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: #5a4a3a;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo a {
  color: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo i {
  color: #8b7355;
  font-size: 24px;
}

.site-logo span {
  color: #8b7355;
}

/* Main Navigation */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul,
.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li,
.nav-menu li {
  position: relative;
}

.main-nav a,
.nav-menu a {
  font-size: 14px;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: #5a4a3a;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a:hover,
.nav-menu a:hover {
  color: #8b7355;
}

/* Dropdown indicator */
.menu-item-has-children>a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 4px;
}

/* Dropdown Menu */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li {
  padding: 0;
}

.sub-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: #5a4a3a;
}

.sub-menu a:hover {
  background: #f5f0e8;
  color: #8b7355;
}

/* Header Buttons */
.header-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-header {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-cart {
  background: #3d3d3d;
  color: white;
}

.btn-cart:hover {
  background: #2a2a2a;
  color: white;
}

.btn-cta {
  background: #8b7355;
  color: white;
}

.btn-cta:hover {
  background: #7a6348;
  color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #5a4a3a;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #f5f0e8;
  z-index: 999;
  transition: right 0.3s ease;
  padding: 80px 30px 30px;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  right: 0;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  color: #5a4a3a;
  font-size: 16px;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: #8b7355;
}

.mobile-nav-buttons {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-buttons .btn-header {
  text-align: center;
}

@media (max-width: 992px) {
  .header-buttons {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 0;
  }

  .site-logo {
    font-size: 18px;
  }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  background: #f9f6f1;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-image {
  position: relative;
  overflow: visible;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.hero-content {
  max-width: 520px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0;
  color: #2d2d2d;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.15;
  color: #2d2d2d;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 18px;
  color: #5a5a5a;
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

/* Hero Review Badge */
.hero-reviews {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-reviews .google-icon {
  width: 20px;
  height: 20px;
}

.hero-reviews .review-rating {
  font-weight: 600;
  color: #2d2d2d;
  font-size: 14px;
}

.hero-reviews .review-stars {
  color: #fbbf24;
  font-size: 14px;
}

.hero-reviews .review-count {
  color: #888;
  font-size: 14px;
}

/* Button Variants */
.btn-outline {
  background: transparent;
  color: #2d2d2d;
  border: 1px solid #d0d0d0;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #2d2d2d;
  border-color: #aaa;
}

.btn-light {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-gray-300);
}

.btn-light:hover {
  background: var(--color-gray-100);
  color: var(--color-primary);
}

.btn-dark {
  background: #3d3d3d;
  color: #fff;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
}

.btn-dark:hover {
  background: var(--color-gray-800);
  color: var(--color-white);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-image {
    order: -1;
    max-height: 400px;
  }

  .hero h1 {
    font-size: var(--text-4xl);
  }
}

/* ===========================
   PROPERTIES CAROUSEL
   =========================== */
.properties-carousel {
  padding: var(--space-12) 0;
  background: var(--color-beige);
}

.carousel-container {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-2);
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.carousel-card:hover img {
  transform: scale(1.05);
}

.carousel-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
}

/* ===========================
   FEATURED PROPERTIES CAROUSEL
   =========================== */
.featured-properties-section {
  background: linear-gradient(180deg, #faf8f5 0%, #f5f1eb 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.featured-properties-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 144, 90, 0.3), transparent);
}

.featured-properties-section .section-header-inline h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.featured-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 10px 0 40px;
}

.featured-carousel {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 30px 60px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.featured-carousel::-webkit-scrollbar {
  display: none;
}

.featured-property-card {
  flex: 0 0 560px;
  display: flex;
  gap: 32px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: rgba(184, 144, 90, 0.3);
}

.featured-property-link {
  display: flex;
  gap: 28px;
  text-decoration: none;
  width: 100%;
}

.featured-property-image {
  flex: 0 0 220px;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.featured-property-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.featured-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-property-card:hover .featured-property-image img {
  transform: scale(1.08);
}

.featured-property-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

.featured-property-price {
  font-size: 24px;
  font-weight: 600;
  color: #b8905a;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}

.featured-property-price::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #b8905a, transparent);
}

.featured-property-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.featured-property-card:hover .featured-property-title {
  color: #b8905a;
}

.featured-property-address {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.featured-property-address i {
  font-size: 11px;
  color: #b8905a;
  opacity: 0.8;
}

.featured-property-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: #555;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.featured-property-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.featured-property-meta i {
  font-size: 14px;
  color: #999;
  transition: color 0.3s ease;
}

.featured-property-card:hover .featured-property-meta i {
  color: #b8905a;
}

/* Carousel Navigation Buttons */
.carousel-nav-buttons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.carousel-nav-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #2a2a2a;
  background: #2a2a2a;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.carousel-nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #b8905a, #c9a66b);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50%;
}

.carousel-nav-btn:hover {
  border-color: #b8905a;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(184, 144, 90, 0.3);
}

.carousel-nav-btn:hover::before {
  opacity: 1;
}

.carousel-nav-btn i {
  font-size: 18px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.carousel-nav-btn:hover i {
  transform: scale(1.1);
}

.carousel-nav-btn.prev:hover i {
  animation: arrowLeft 0.5s ease infinite;
}

.carousel-nav-btn.next:hover i {
  animation: arrowRight 0.5s ease infinite;
}

@keyframes arrowLeft {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-3px);
  }
}

@keyframes arrowRight {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(3px);
  }
}

@media (max-width: 992px) {
  .featured-property-card {
    flex: 0 0 480px;
  }

  .featured-carousel {
    padding: 20px 40px;
  }
}

@media (max-width: 768px) {
  .featured-properties-section {
    padding: 60px 0 50px;
  }

  .featured-properties-section .section-header-inline h2 {
    font-size: 32px;
  }

  .featured-property-card {
    flex: 0 0 320px;
    padding: 16px;
    gap: 0;
  }

  .featured-property-link {
    flex-direction: column;
    gap: 20px;
  }

  .featured-property-image {
    flex: 0 0 200px;
    width: 100%;
    height: 200px;
  }

  .featured-property-title {
    font-size: 22px;
  }

  .featured-property-price {
    font-size: 20px;
  }

  .featured-carousel {
    padding: 20px 20px;
    gap: 20px;
  }

  .carousel-nav-btn {
    width: 48px;
    height: 48px;
  }
}

/* ===========================
   STORY SECTION
   =========================== */
.story-section {
  background: var(--color-beige);
  padding: var(--space-20) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.story-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.story-content h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
}

.story-content p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.signature {
  margin-top: var(--space-8);
}

.signature-text {
  font-family: 'Brush Script MT', cursive;
  font-size: var(--text-3xl);
  color: var(--color-primary);
}

@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
  background: var(--color-beige);
  padding: var(--space-16) 0;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

@media (max-width: 768px) {
  .stats-grid {
    flex-wrap: wrap;
    gap: var(--space-8);
    justify-content: center;
  }

  .stat-item {
    flex: 0 0 45%;
  }
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  color: var(--color-gray-500);
  font-size: var(--text-lg);
}

.section-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}

.see-all-link {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-500);
  border-bottom: 1px solid currentColor;
}

.see-all-link:hover {
  color: var(--color-secondary);
}

/* ===========================
   TABS
   =========================== */
.tabs-container {
  display: flex;
  justify-content: center;
}

.tab-buttons {
  display: flex;
  gap: var(--space-4);
  background: var(--color-white);
  padding: var(--space-2);
  border-radius: var(--radius-full);
}

.tab-btn {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--color-gray-600);
  transition: all var(--transition-base);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Tab Content */
.tab-content-area {
  margin-top: var(--space-10);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.tab-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tab-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tab-text h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.tab-text p {
  color: var(--color-gray-600);
  line-height: 1.8;
}

@media (max-width: 992px) {
  .tab-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
}

/* ===========================
   PROPERTY CARDS
   =========================== */
.property-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base);
}

.property-card:hover {
  transform: translateY(-4px);
}

.property-card-link {
  display: block;
  color: inherit;
}

.property-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.property-card:hover .property-card-image img {
  transform: scale(1.05);
}

.property-card-content {
  padding: var(--space-5);
}

.property-price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-secondary);
  margin-bottom: var(--space-3);
}

.property-title {
  font-size: var(--text-2xl);
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.property-address {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.property-address::before {
  content: "📍";
}

.property-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

.property-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* Featured Properties Carousel */
.featured-carousel-wrapper {
  position: relative;
}

.featured-carousel {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-4) 0;
}

.featured-carousel::-webkit-scrollbar {
  display: none;
}

.featured-property-card {
  flex: 0 0 calc(50% - var(--space-3));
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.featured-property-card:hover {
  box-shadow: var(--shadow-md);
}

.featured-property-image {
  height: 100%;
  min-height: 300px;
}

.featured-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-property-content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  bottom: -60px;
  left: 0;
  display: flex;
  gap: var(--space-3);
}

.carousel-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.carousel-nav-btn:hover {
  background: var(--color-gray-800);
}

@media (max-width: 992px) {
  .featured-property-card {
    flex: 0 0 100%;
    grid-template-columns: 1fr;
  }

  .featured-property-image {
    min-height: 200px;
  }
}

/* ===========================
   LOCATION CARDS
   =========================== */
.location-card {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  min-height: 200px;
}

.location-card:hover {
  box-shadow: var(--shadow-md);
}

.location-card-image {
  position: relative;
  overflow: hidden;
}

.location-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-card-content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-card-content h3 {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  margin-bottom: var(--space-3);
  color: var(--color-primary);
}

.location-card-content p {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  margin-bottom: var(--space-4);
}

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-primary);
  text-transform: lowercase;
}

.explore-link::after {
  content: "→";
  transition: transform var(--transition-base);
}

.location-card:hover .explore-link::after {
  transform: translateX(4px);
}

/* ===========================
   FEATURE CARDS
   =========================== */
.feature-card {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--color-beige);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}

.feature-icon i {
  font-size: var(--text-2xl);
  color: var(--color-secondary);
}

.feature-card h3 {
  margin-bottom: var(--space-3);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--space-4);
}

.read-case-link {
  font-size: var(--text-sm);
  color: var(--color-secondary);
  font-weight: 500;
}

/* ===========================
   PROCESS CARDS
   =========================== */
.process-card {
  text-align: center;
  padding: var(--space-6);
}

.process-number {
  width: 50px;
  height: 50px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 auto var(--space-5);
}

.process-card h3 {
  margin-bottom: var(--space-3);
}

.process-card p {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

/* ===========================
   BLOG CARDS
   =========================== */
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: var(--space-5);
}

.blog-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.keep-reading-link {
  font-size: var(--text-sm);
  color: var(--color-secondary);
  font-weight: 500;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta h3 {
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.footer-link-btn {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--color-white);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  transition: all var(--transition-base);
}

.footer-link-btn:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.footer-contact-item {
  margin-bottom: var(--space-6);
}

.footer-contact-item h4 {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.footer-contact-item a {
  font-size: var(--text-lg);
  color: var(--color-white);
}

.footer-nav h4 {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
}

.footer-bottom-left {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-right {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-right a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-right a:hover {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   RESPONSIVE ADJUSTMENTS
   =========================== */
@media (max-width: 1200px) {
  :root {
    --container-padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
  }

  .section {
    padding: var(--space-12) 0;
  }
}

/* ===========================
   PAGE TEMPLATES
   =========================== */
.page-header {
  background: var(--color-white);
  padding: var(--space-16) 0;
  text-align: center;
}

.page-content {
  padding: var(--space-16) 0;
}

/* Single Property */
.single-property-header {
  background: var(--color-white);
  padding: var(--space-8) 0;
}

.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.property-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.property-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Archive Property */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 992px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* ===========================
   SINGLE PROPERTY PAGE - REDESIGNED
   =========================== */

.single-property-page {
  background: linear-gradient(180deg, #faf8f5 0%, #f5f1eb 100%);
  min-height: 100vh;
  padding-top: 80px;
}

/* Hero Section with Sidebar */
.sp-hero {
  padding: 40px 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.sp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.sp-hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.sp-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

/* Sticky Sidebar */
.sp-sidebar {
  position: sticky;
  top: 120px;
}

.sp-sidebar-inner {
  background: #f0ebe3;
  border-radius: 16px;
  padding: 32px;
}

.sp-price {
  font-size: 32px;
  font-weight: 500;
  color: #b8905a;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.sp-status {
  font-size: 16px;
  color: #333;
  margin-bottom: 28px;
  font-weight: 400;
}

.sp-inquiry-form h4 {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 20px;
}

.sp-inquiry-form .form-group {
  margin-bottom: 14px;
}

.sp-inquiry-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sp-inquiry-form input:focus {
  outline: none;
  border-color: #b8905a;
  box-shadow: 0 0 0 3px rgba(184, 144, 90, 0.1);
}

.sp-inquiry-form input::placeholder {
  color: #999;
}

.sp-submit-btn {
  width: 100%;
  padding: 16px;
  background: #2d2d2d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sp-submit-btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sp-contact-direct {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sp-contact-direct p {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.sp-agent {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sp-agent-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.sp-agent-info strong {
  display: block;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.sp-agent-info span {
  font-size: 13px;
  color: #777;
}

/* Details Section */
.sp-details {
  padding: 0 60px 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.sp-details-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.sp-details-main {
  padding-top: 10px;
}

.sp-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #666;
  margin-bottom: 16px;
}

.sp-location i {
  color: #999;
  font-size: 13px;
}

.sp-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.sp-description {
  font-size: 17px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 32px;
}

.sp-description p {
  margin-bottom: 16px;
}

.sp-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sp-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #555;
}

.sp-stat i {
  color: #888;
  font-size: 16px;
}

/* Amenities Section */
.sp-amenities {
  padding: 60px 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.sp-amenities-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.sp-amenities h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.amenities-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.amenity-box {
  background: white;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.amenity-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.amenity-box i {
  font-size: 20px;
  color: #333;
  margin-bottom: 14px;
  display: block;
}

.amenity-box span {
  font-size: 14px;
  color: #555;
  display: block;
}

/* Gallery Section */
.sp-gallery {
  padding: 0 60px 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.sp-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.sp-gallery h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-large {
  grid-row: span 2;
  aspect-ratio: auto;
}

/* Video Section */
.sp-video {
  padding: 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.sp-video h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.sp-video .video-container {
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
}

.sp-video video,
.sp-video iframe {
  width: 100%;
  height: 500px;
  display: block;
}

/* Related Properties Section */
.sp-related {
  padding: 80px 0;
  background: linear-gradient(180deg, #f5f1eb 0%, #faf8f5 100%);
}

.sp-related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.sp-related h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.see-all-btn {
  padding: 10px 24px;
  border: 1px solid #333;
  border-radius: 30px;
  background: transparent;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.see-all-btn:hover {
  background: #333;
  color: white;
}

.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sp-related-card {
  text-decoration: none;
  display: block;
}

.sp-related-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.sp-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sp-related-card:hover .sp-related-image img {
  transform: scale(1.05);
}

.sp-related-status {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 18px;
  background: rgba(184, 144, 90, 0.9);
  color: white;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 1200px) {

  .sp-hero,
  .sp-details,
  .sp-amenities,
  .sp-gallery,
  .sp-video {
    padding-left: 40px;
    padding-right: 40px;
  }

  .sp-title {
    font-size: 40px;
  }
}

@media (max-width: 992px) {

  .sp-hero-inner,
  .sp-details-grid,
  .sp-amenities-grid,
  .sp-gallery-grid {
    grid-template-columns: 1fr;
  }

  .sp-sidebar {
    position: static;
    order: -1;
  }

  .sp-sidebar-inner {
    max-width: 450px;
    margin: 0 auto 40px;
  }

  .sp-details-sidebar-placeholder,
  .sp-amenities-sidebar-placeholder,
  .sp-gallery-sidebar-placeholder {
    display: none;
  }

  .sp-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .single-property-page {
    padding-top: 60px;
  }

  .sp-hero,
  .sp-details,
  .sp-amenities,
  .sp-gallery,
  .sp-video {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sp-title {
    font-size: 32px;
  }

  .sp-amenities h2,
  .sp-gallery h2,
  .sp-related h2 {
    font-size: 28px;
  }

  .amenities-boxes {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item-large {
    grid-row: span 1;
  }

  .sp-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .sp-price {
    font-size: 26px;
  }

  .sp-related-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ===========================
   SINGLE BLOG TEMPLATE
   =========================== */

/* Article Hero */
.article-hero {
  background: var(--color-beige);
  padding: var(--space-16) 0 var(--space-12);
  text-align: center;
}

.article-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-hero h1 {
  font-size: var(--text-5xl);
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: var(--space-6);
}

.article-subtitle {
  font-size: var(--text-xl);
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* Article Featured Image */
.article-featured-image {
  background: var(--color-beige);
  padding: 0 0 var(--space-12);
}

.article-featured-image img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-xl);
}

/* Article Content */
.article-content {
  background: var(--color-beige);
  padding: var(--space-12) 0;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.article-content h2 {
  font-size: var(--text-3xl);
  font-family: var(--font-heading);
  color: var(--color-dark);
  margin: var(--space-10) 0 var(--space-6);
}

.article-content h3 {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  color: var(--color-dark);
  margin: var(--space-8) 0 var(--space-4);
}

.article-content p {
  font-size: var(--text-lg);
  color: var(--color-gray-700);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.article-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
}

.article-content ul,
.article-content ol {
  margin: var(--space-6) 0;
  padding-left: var(--space-8);
  color: var(--color-gray-700);
  line-height: 1.8;
}

.article-content li {
  margin-bottom: var(--space-3);
}

.article-content blockquote {
  border-left: 4px solid var(--color-secondary);
  padding-left: var(--space-6);
  margin: var(--space-8) 0;
  font-style: italic;
  color: var(--color-gray-600);
  font-size: var(--text-xl);
}

/* Related Articles */
.related-articles {
  padding: var(--space-16) 0;
}

/* Post Navigation */
.post-navigation {
  background: var(--color-beige);
  padding: var(--space-12) 0;
}

.post-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.post-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.3s;
}

.post-nav-link.disabled {
  visibility: hidden;
}

.post-nav-link:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.post-nav-link.next-post {
  justify-content: flex-end;
  text-align: right;
}

.nav-arrow {
  font-size: var(--text-3xl);
  color: var(--color-secondary);
}

.nav-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.nav-label {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-dark);
}

/* ===========================
   RESPONSIVE - TEMPLATES
   =========================== */

@media (max-width: 992px) {
  .property-content-grid {
    grid-template-columns: 1fr;
  }

  .property-sidebar {
    position: static;
  }

  .agent-section-grid {
    grid-template-columns: 1fr;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    order: 1;
    max-width: 100%;
  }

  .hero-image {
    order: 2;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .property-hero {
    height: 300px;
  }

  .property-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .property-gallery {
    grid-template-columns: 1fr;
  }

  .post-nav-links {
    grid-template-columns: 1fr;
  }

  .article-hero h1 {
    font-size: var(--text-4xl);
  }

  /* New responsive rules */
  .unit-types-grid {
    grid-template-columns: 1fr;
  }

  .property-progress-content {
    grid-template-columns: 1fr;
  }

  .video-container iframe {
    height: 300px;
  }

  .unit-type-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .unit-price {
    font-size: var(--text-lg);
  }
}

@media (max-width: 576px) {
  .property-stats-bar {
    grid-template-columns: 1fr;
  }

  .unit-bedrooms {
    font-size: var(--text-base);
  }
}

/* ===========================
   ABOUT PAGE STYLES
   =========================== */

/* Story Grid */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.story-image {
  position: relative;
}

.story-content {
  max-width: 600px;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.value-card {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-200);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.feature-card {
  background: var(--color-white);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-200);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-12);
}

.stat-item {
  padding: var(--space-6);
}

/* About Page Responsive */
@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .story-image {
    order: -1;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: var(--text-5xl) !important;
  }
}

/* ===========================
   CONTACT PAGE STYLES
   =========================== */

/* Contact Content Grid */
.contact-content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-12);
}

.contact-form-container {
  background: var(--color-white);
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-200);
}

.contact-info-container {
  position: sticky;
  top: 100px;
  align-self: start;
}

/* Contact Form Styling */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  font-family: var(--font-primary);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(201, 150, 91, 0.1);
}

/* Contact Info Cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
}

.contact-info-card {
  background: var(--color-white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.contact-info-card a:hover {
  color: var(--color-secondary) !important;
}

/* Office Gallery Grid */
.office-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-item img {
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Social Media Links */
.contact-social a:hover {
  color: var(--color-secondary) !important;
  transform: translateY(-3px);
}

/* Map Container */
.map-container {
  position: relative;
}

/* Contact Page Responsive */
@media (max-width: 992px) {
  .contact-content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .contact-info-container {
    position: static;
  }

  .office-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .contact-form-container {
    padding: var(--space-6);
  }

  .office-gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero h1,
  .about-hero h1 {
    font-size: var(--text-4xl) !important;
  }

  .contact-hero p,
  .about-hero p {
    font-size: var(--text-base) !important;
  }
}