/**
 * -------------------------------------------------------------------------------
 * INDEX / HOMEPAGE — Main Stylesheet
 * -------------------------------------------------------------------------------
 *
 * Pagina principala AdventureNET
 * Design: "Immersive Discovery"
 *
 * Secțiuni:
 * 1. Hero Section (video + search)
 * 2. Destinations Section (masonry grid)
 * 3. Properties Section (carousel)
 * 4. Types Section (4 cards)
 * 5. Why Section (features)
 * 6. Blog Section (featured + grid + sidebar)
 * 7. CTA Section (hosts)
 *
 * Autor: Negoiță Andreea Iuliana | Coordonator: conf.univ.dr. Toader Florentina
 * -------------------------------------------------------------------------------
 */

/* -------------------------------------------------------------------
   PAGE-SPECIFIC TOKENS
   ------------------------------------------------------------------- */
:root {
  /* Hero */
  --hero-min-height: 100vh;
  --hero-min-height-mobile: 100svh;
  --hero-overlay-opacity: 0.55;

  /* Destinations */
  --dest-card-radius: var(--radius-2xl);
  --dest-card-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Properties Carousel */
  --prop-card-width: 320px;
  --prop-card-gap: var(--space-6);

  /* Blog */
  --blog-featured-height: 400px;

  /* CTA */
  --cta-visual-width: 45%;
}

/* -------------------------------------------------------------------
   PAGE LAYOUT
   ------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body.page-home {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
}

/* Main content */
.page-home main {
  flex: 1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* Section spacing */
.section {
  position: relative;
  padding: var(--space-20) 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-12) 0;
  }
}

/* -------------------------------------------------------------------
   KEYFRAME ANIMATIONS
   ------------------------------------------------------------------- */

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

/* Fade in */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Pulse */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Gradient shift */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

/* Shimmer */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Orb float */
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Scale in */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide in right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* -------------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* -------------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------------- */

/* --- Container --- */
.hero-section {
  position: relative;
  min-height: var(--hero-min-height);
  min-height: var(--hero-min-height-mobile);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-20) var(--space-6);
  padding-bottom: calc(var(--space-20) + 200px);
  overflow: visible;
  isolation: isolate;
  z-index: 10;
}

/* --- Background --- */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero-video-desktop {
    display: none;
  }
  .hero-video-mobile {
    display: block;
  }
}

.hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
}

/* Hide fallback when video is loaded */
.hero-video[data-loaded] ~ .hero-fallback-img {
  opacity: 0;
}

/* --- Overlay --- */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, var(--hero-overlay-opacity)) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, var(--hero-overlay-opacity)) 100%
  );
  z-index: 1;
}

/* --- Floating Orbs --- */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb--1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 300px;
  height: 300px;
  background: var(--color-secondary);
  top: 60%;
  right: -5%;
  animation-delay: -7s;
}

.hero-orb--3 {
  width: 250px;
  height: 250px;
  background: var(--color-accent);
  bottom: 10%;
  left: 30%;
  animation-delay: -14s;
}

@media (max-width: 768px) {
  .hero-orb--1 { width: 200px; height: 200px; }
  .hero-orb--2 { width: 150px; height: 150px; }
  .hero-orb--3 { width: 120px; height: 120px; }
}

/* --- Hero Content --- */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin-bottom: var(--space-10);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-6);
  animation: fadeIn 0.6s ease-out 0.2s both;
}

.hero-badge-icon {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* Title */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* Quick Steps */
.hero-quick-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeIn 0.6s ease-out 0.4s both;
}

.hero-step {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  font-weight: 500;
}

.hero-step svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.hero-step-divider {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

@media (max-width: 480px) {
  .hero-step-divider {
    display: none;
  }
  .hero-quick-steps {
    gap: var(--space-3);
  }
}

/* --- Hero Search Form --- */
.hero-search-form {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: stretch;
  background: linear-gradient(145deg, rgba(var(--color-surface-rgb, 15, 23, 42), 0.9), rgba(var(--color-elevated-rgb, 30, 41, 59), 0.85));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 1000px;
  width: 100%;
  overflow: visible;
  animation: scaleIn 0.6s ease-out 0.3s both;
}

.search-field {
  flex: 1;
  position: relative;
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  border-right: 1px solid rgba(99, 102, 241, 0.15);
}

.search-field:last-of-type {
  border-right: none;
}

.search-field-location {
  flex: 1.5;
}

.search-field-guests {
  flex: 0.8;
}

.search-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.search-label svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.search-input {
  width: 100%;
  padding: var(--space-1) 0;
  border: none;
  background: transparent;
  font-size: var(--text-sm);
  font-weight: 500;
  color: white;
  outline: none;
}

.search-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.search-select {
  appearance: none;
  cursor: pointer;
  padding-right: var(--space-6);
  color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 18px;
}

/* Suggestions Dropdown */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(145deg, rgba(var(--color-surface-rgb, 15, 23, 42), 0.98), rgba(var(--color-elevated-rgb, 30, 41, 59), 0.95));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
}

.search-suggestions:not([hidden]) {
  display: block;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  color: white;
  transition: background 0.2s;
}

.suggestion-item:hover,
.suggestion-item:focus {
  background: rgba(99, 102, 241, 0.2);
}

/* --- Custom Date Picker --- */
.search-date-input {
  cursor: pointer;
}

.custom-datepicker {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  background: linear-gradient(145deg, rgba(var(--color-surface-rgb, 15, 23, 42), 0.98), rgba(var(--color-elevated-rgb, 30, 41, 59), 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  padding: var(--space-4);
  z-index: 9999;
  display: none;
}

.custom-datepicker[hidden] {
  display: none !important;
}

.custom-datepicker:not([hidden]) {
  display: block !important;
  animation: fadeInUp 0.2s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Custom Guests Dropdown --- */
.custom-guests-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 180px;
  background: linear-gradient(145deg, rgba(var(--color-surface-rgb, 15, 23, 42), 0.98), rgba(var(--color-elevated-rgb, 30, 41, 59), 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  padding: var(--space-2);
  z-index: 9999;
  display: none;
}

.custom-guests-dropdown[hidden] {
  display: none !important;
}

.custom-guests-dropdown:not([hidden]) {
  display: block !important;
  animation: fadeInUp 0.2s ease-out;
}

.guests-option {
  padding: var(--space-3) var(--space-4);
  color: #94a3b8;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.guests-option:hover {
  background: #4338ca;
  color: #ffffff;
}

.guests-option.selected {
  background: var(--color-primary);
  color: white;
}

.search-guests-input {
  cursor: pointer;
}

/* Datepicker Header */
.datepicker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.datepicker-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: white;
}

.datepicker-nav {
  display: flex;
  gap: var(--space-2);
}

.datepicker-nav-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4338ca;
  border: 1px solid #6366f1;
  border-radius: var(--radius-md);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
}

.datepicker-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.datepicker-nav-btn svg {
  width: 16px;
  height: 16px;
}

/* Datepicker Grid */
.datepicker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: var(--space-2);
}

.datepicker-weekday {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #94a3b8;
  padding: var(--space-2) 0;
}

.datepicker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.datepicker-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: white;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.datepicker-day:hover:not(:disabled):not(.selected) {
  background: rgba(99, 102, 241, 0.2);
}

.datepicker-day.today {
  border: 1px solid var(--color-primary);
}

.datepicker-day.selected {
  background: var(--color-primary);
  color: white;
  font-weight: 700;
}

.datepicker-day.other-month {
  color: #475569;
}

.datepicker-day:disabled {
  color: #334155;
  cursor: not-allowed;
}

/* Datepicker Footer */
.datepicker-footer {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(99, 102, 241, 0.15);
}

.datepicker-footer-btn {
  padding: var(--space-2) var(--space-4);
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.datepicker-footer-btn:hover {
  background: #4338ca;
  color: #ffffff;
}

.datepicker-footer-btn.primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.datepicker-footer-btn.primary:hover {
  background: var(--color-primary-hover);
}

/* Search Button */
.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  margin: var(--space-2);
  border-radius: var(--radius-xl);
  flex-shrink: 0;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-search:hover {
  transform: scale(1.02);
}

.btn-search svg {
  width: 20px;
  height: 20px;
}

/* Mobile Search Form */
@media (max-width: 900px) {
  .hero-search-form {
    flex-direction: column;
    max-width: 500px;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4);
  }

  .search-field:last-of-type {
    border-bottom: none;
  }

  .btn-search {
    width: calc(100% - var(--space-4));
    margin: var(--space-3) var(--space-2) var(--space-2);
  }
}

/* --- Scroll Indicator --- */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
  animation: fadeIn 0.6s ease-out 1s both;
}

.scroll-text {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: float 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .hero-scroll-indicator {
    display: none;
  }
}

/* -------------------------------------------------------------------
   DESTINATIONS SECTION
   ------------------------------------------------------------------- */

/* --- Section Container --- */
.section-destinations {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
  background: var(--color-bg);
}

/* --- Background Decorations --- */
.destinations-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dest-gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.dest-sphere-1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -10%;
  right: -15%;
  animation: orbFloat 25s ease-in-out infinite;
}

.dest-sphere-2 {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  bottom: -10%;
  left: -10%;
  animation: orbFloat 30s ease-in-out infinite reverse;
}

.dest-floating-shapes {
  position: absolute;
  inset: 0;
}

.dest-shape {
  position: absolute;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  opacity: 0.1;
  border-radius: var(--radius-lg);
}

.dest-shape-1 {
  width: 80px;
  height: 80px;
  top: 15%;
  left: 10%;
  transform: rotate(45deg);
  animation: float 8s ease-in-out infinite;
}

.dest-shape-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 8%;
  transform: rotate(30deg);
  animation: float 10s ease-in-out infinite 2s;
}

.dest-shape-3 {
  width: 40px;
  height: 40px;
  bottom: 20%;
  left: 20%;
  transform: rotate(60deg);
  animation: float 6s ease-in-out infinite 1s;
}

/* --- Section Header --- */
.destinations-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.destinations-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  position: relative;
}

.destinations-badge .badge-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-primary);
  opacity: 0.2;
  filter: blur(10px);
  animation: pulse 2s ease-in-out infinite;
}

.destinations-badge svg {
  width: 16px;
  height: 16px;
}

.destinations-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.destinations-title .title-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.destinations-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* --- Destinations Grid --- */
.destinations-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

/* --- Destination Card Base --- */
.dest-card {
  position: relative;
  display: block;
  border-radius: var(--dest-card-radius);
  overflow: hidden;
  text-decoration: none;
  color: white;
  /* Fallback background in case images don't load */
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg) 100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
}

.dest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dest-card:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

/* Card Image */
.dest-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dest-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Ensure image is always visible */
  opacity: 1;
}

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

.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  transition: opacity 0.3s;
}

.dest-card:hover .dest-card-overlay {
  opacity: 0.8;
}

.dest-overlay-summer {
  background: linear-gradient(
    180deg,
    rgba(251, 191, 36, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.dest-overlay-culture {
  background: linear-gradient(
    180deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.dest-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.dest-card:hover .dest-card-shine {
  transform: translateX(100%);
}

/* Card Badges */
.dest-card-badges {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}

.dest-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.dest-badge svg {
  width: 14px;
  height: 14px;
}

.dest-badge-trending {
  background: rgba(0, 0, 0, 0.6);
  color: white;
}

.dest-badge-trending .pulse-dot {
  width: 6px;
  height: 6px;
  background: #EF4444;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.dest-badge-rating {
  background: rgba(251, 191, 36, 0.9);
  color: #1a1a1a;
}

.dest-badge-rating svg {
  color: #1a1a1a;
}

.dest-badge-season {
  background: #b45309;
  color: #ffffff;
  border: 1px solid #d97706;
}

.dest-badge-culture {
  background: rgba(100, 60, 200, 0.9);
  color: #ffffff;
  border: 1px solid rgba(139, 92, 246, 0.6);
}

/* Card Content */
.dest-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  z-index: 10;
}

.dest-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.dest-card-subtitle {
  font-size: var(--text-sm);
  opacity: 0.85;
  margin-bottom: var(--space-3);
}

.dest-card-stats {
  display: flex;
  gap: var(--space-4);
}

.dest-stat {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  opacity: 0.9;
}

.dest-stat svg {
  width: 16px;
  height: 16px;
}

.dest-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  opacity: 0.85;
}

.meta-dot {
  opacity: 0.5;
}

.meta-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #FBBF24;
}

.meta-rating svg {
  width: 12px;
  height: 12px;
}

/* Card CTA */
.dest-card-cta {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: white;
  color: var(--color-text);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 10;
}

.dest-card:hover .dest-card-cta {
  opacity: 1;
  transform: translateY(0);
}

.dest-card-cta svg {
  width: 18px;
  height: 18px;
}

.dest-card-arrow {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 10;
}

.dest-card:hover .dest-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.dest-card-arrow svg {
  width: 20px;
  height: 20px;
}

/* --- Hero Card (Full Width) --- */
.dest-card-hero {
  grid-column: 1 / -1;
  min-height: 400px;
}

.dest-card-hero .dest-card-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* --- Featured Row (2 Cards) --- */
.dest-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.dest-card-featured {
  min-height: 320px;
}

/* --- Compact Row (4 Cards) --- */
.dest-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.dest-card-compact {
  min-height: 200px;
}

.dest-compact-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4);
  z-index: 10;
}

.dest-compact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  margin-bottom: var(--space-3);
}

.dest-compact-icon svg {
  width: 24px;
  height: 24px;
}

.dest-compact-content h4 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.dest-compact-count {
  font-size: var(--text-xs);
  opacity: 0.75;
}

/* --- See All Card --- */
.dest-see-all {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--dest-card-radius);
  color: white;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.dest-see-all:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(var(--color-primary-rgb), 0.4);
}

.see-all-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.see-all-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6);
  z-index: 10;
}

.see-all-icon {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.see-all-icon svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 2;
}

.icon-rings {
  position: absolute;
  inset: 0;
}

.icon-rings .ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.ring-1 { animation-delay: 0s; }
.ring-2 { animation-delay: 0.4s; inset: -5px; }
.ring-3 { animation-delay: 0.8s; inset: -10px; }

.see-all-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.see-all-text .text-large {
  font-size: var(--text-xl);
  font-weight: 700;
}

.see-all-text .text-small {
  font-size: var(--text-sm);
  opacity: 0.85;
}

.see-all-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: transform 0.3s;
}

.dest-see-all:hover .see-all-arrow {
  transform: translateX(5px);
}

.see-all-arrow svg {
  width: 20px;
  height: 20px;
}

/* --- Trust Stats Row --- */
.destinations-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--color-bg-alt);
  border-radius: var(--radius-2xl);
}

.trust-stat {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-icon-golden {
  background: #b45309;
  color: #ffffff;
}

.trust-icon-success {
  background: #15803d;
  color: #ffffff;
}

.trust-info {
  display: flex;
  flex-direction: column;
}

.trust-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
}

.trust-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .dest-row-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .destinations-trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  .section-destinations {
    padding: var(--space-16) 0;
  }

  .dest-card-hero {
    min-height: 300px;
  }

  .dest-row-2 {
    grid-template-columns: 1fr;
  }

  .dest-card-featured {
    min-height: 280px;
  }

  .dest-row-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .dest-card-compact {
    min-height: 160px;
  }

  .destinations-trust-row {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-6);
    gap: var(--space-4);
  }

  .trust-stat {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }

  .see-all-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .dest-row-4 {
    grid-template-columns: 1fr;
  }

  .destinations-trust-row {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------
   PROPERTIES SECTION
   ------------------------------------------------------------------- */

/* --- Section Container --- */
.section-properties {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
  background: var(--color-bg-alt);
}

/* --- Background Decorations --- */
.properties-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.props-gradient-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(var(--color-secondary-rgb), 0.06) 0%, transparent 50%);
}

.props-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}

.props-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: -15%;
  left: -10%;
  animation: orbFloat 30s ease-in-out infinite;
}

.props-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--color-secondary);
  bottom: -10%;
  right: -10%;
  animation: orbFloat 25s ease-in-out infinite reverse;
}

/* --- Section Header --- */
.properties-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.properties-header-content {
  flex: 1;
  min-width: 280px;
}

.properties-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  position: relative;
}

.properties-badge svg {
  width: 16px;
  height: 16px;
}

.badge-ring-pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid var(--color-primary);
  border-radius: inherit;
  opacity: 0;
  animation: pulse 2s ease-in-out infinite;
}

.properties-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: var(--space-4);
}

.properties-subtitle {
  font-size: var(--text-lg);
  color: #94a3b8;
  max-width: 500px;
}

/* Header Actions */
.properties-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-surface-rgb, 15, 23, 42), 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

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

.carousel-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel-nav-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #94a3b8;
}

.carousel-current {
  color: white;
}

/* See All Button */
.btn-see-all {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.btn-see-all svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.btn-see-all:hover svg {
  transform: translateX(4px);
}

/* --- Properties Carousel --- */
.properties-carousel-wrapper {
  position: relative;
  margin-bottom: var(--space-10);
}

.properties-carousel {
  position: relative;
}

/* Loading State */
.properties-loading {
  display: none;
}

.properties-loading[data-loading="true"] {
  display: block;
}

.shimmer-cards {
  display: flex;
  gap: var(--space-6);
  overflow: hidden;
}

.shimmer-card {
  flex: 0 0 var(--prop-card-width);
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.shimmer-img {
  height: 200px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.shimmer-content {
  padding: var(--space-4);
}

.shimmer-line {
  height: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
}

.shimmer-long { width: 100%; }
.shimmer-medium { width: 70%; }
.shimmer-short { width: 40%; }

.loading-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Properties Track (Horizontal Scroll) */
.properties-track {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-2) 0;
}

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

/* --- Property Card --- */
.property-card {
  flex: 0 0 var(--prop-card-width);
  scroll-snap-align: start;
  background: linear-gradient(145deg, rgba(var(--color-surface-rgb, 15, 23, 42), 0.9), rgba(var(--color-elevated-rgb, 30, 41, 59), 0.85));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(99, 102, 241, 0.3);
}

.property-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Card Image */
.property-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

/* Property Badges */
.property-badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  gap: var(--space-2);
  z-index: 5;
}

.property-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
}

.property-badge svg {
  width: 12px;
  height: 12px;
}

.property-badge-superhost {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #1a1a1a;
}

.property-badge-new {
  background: var(--color-primary);
  color: white;
}

.property-badge-instant {
  background: #15803d;
  color: #ffffff;
}

/* Favorite Button
 *
 * Butonul de favorite este scris in doua feluri: cardurile statice din HTML
 * folosesc `.property-favorite`, iar cardurile randate din JS
 * (index/js/page.js) folosesc `.btn-favorite`. Stilul exista doar pentru
 * primul nume, asa ca pe desktop butonul din carduri nu primea nici marime,
 * nici fundal: se stranegea la 4x4 px (masurat pe cele 6 carduri de pe prima
 * pagina) — practic imposibil de apasat. Pe mobil nu se vedea pentru ca
 * mobile-redesign.css impune 44x44 cu !important.
 *
 * JS-ul trateaza deja cele doua nume ca sinonime
 * (`e.target.closest('.property-favorite, .btn-favorite')`), deci le tratam
 * la fel si aici. Nu este un stil nou: este exact acelasi, aplicat si celui
 * de-al doilea nume. */
.property-favorite,
.btn-favorite {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(var(--color-surface-rgb, 15, 23, 42), 0.7), rgba(var(--color-elevated-rgb, 30, 41, 59), 0.6));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.property-favorite:hover,
.btn-favorite:hover {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.8));
  border-color: rgba(239, 68, 68, 0.5);
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.property-favorite svg,
.btn-favorite svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
}

.property-favorite:hover svg,
.btn-favorite:hover svg {
  color: white;
  transform: scale(1.1);
}

.property-favorite[data-favorited="true"],
.btn-favorite[data-favorited="true"],
.btn-favorite.is-active {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.8));
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.property-favorite[data-favorited="true"] svg,
.btn-favorite[data-favorited="true"] svg,
.btn-favorite.is-active svg {
  fill: white;
  color: white;
  animation: heartPop 0.3s ease-out;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Card Content */
.property-card-content {
  padding: var(--space-4);
}

.property-location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: #94a3b8;
  margin-bottom: var(--space-2);
}

.property-location svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.property-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-3);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-features {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.property-feature {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: #94a3b8;
}

.property-feature svg {
  width: 14px;
  height: 14px;
}

/* Card Footer */
.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(99, 102, 241, 0.15);
}

.property-rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.property-rating svg {
  width: 14px;
  height: 14px;
  color: #FBBF24;
}

.rating-value {
  font-weight: 700;
  font-size: var(--text-sm);
  color: white;
}

.rating-count {
  font-size: var(--text-xs);
  color: #94a3b8;
}

.property-price {
  text-align: right;
}

.price-value {
  font-weight: 800;
  font-size: var(--text-lg);
  color: white;
}

.price-period {
  font-size: var(--text-xs);
  color: #94a3b8;
}

/* --- Trust Badges --- */
.properties-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
}

.trust-badge-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.trust-badge-golden svg {
  color: #F59E0B;
}

.trust-badge-item span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .properties-header {
    flex-direction: column;
  }

  .properties-header-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .section-properties {
    padding: var(--space-16) 0;
  }

  /* Carduri verticale pe mobil */
  .properties-track {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: var(--space-5);
  }

  .property-card {
    flex: none;
    width: 100%;
    max-width: 360px;
  }

  /* Ascunde navigația carousel pe mobil */
  .carousel-nav {
    display: none;
  }

  .properties-trust-badges {
    gap: var(--space-4);
  }

  .trust-badge-item {
    flex: 0 0 calc(50% - var(--space-2));
  }
}

@media (max-width: 480px) {
  .property-card {
    max-width: 100%;
  }

  .trust-badge-item {
    flex: 0 0 100%;
    justify-content: center;
  }

  .carousel-nav {
    display: none;
  }
}

/* -------------------------------------------------------------------
   TYPES SECTION
   ------------------------------------------------------------------- */
.section-types {
  padding: var(--space-20) 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.section-types::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(var(--color-primary-rgb), 0.06), transparent 70%);
  pointer-events: none;
}

.types-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

/* Types Badge */
.types-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.types-badge .badge-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.types-badge .badge-icon svg {
  width: 18px;
  height: 18px;
}

.types-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.types-header .section-badge svg {
  width: 16px;
  height: 16px;
}

.types-header .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 var(--space-3) 0;
  line-height: 1.2;
}

.types-header .section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Types Grid */
.types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Type Card */
.type-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.type-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  z-index: 1;
}

.type-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.type-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.type-card:hover .type-card-bg {
  transform: scale(1.1);
}

.type-card-content {
  position: relative;
  z-index: 2;
  padding: var(--space-6);
}

.type-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-3);
}

.type-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.type-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
  margin: 0 0 var(--space-1) 0;
}

/* Type Card Overlay */
.type-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  z-index: 1;
}

/* Type Tagline */
.type-tagline {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-3);
}

/* Type Stats */
.type-stats {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
}

.type-stats .stat-count {
  font-size: var(--text-lg);
  font-weight: 700;
  color: white;
}

.type-stats .stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
}

/* Type Arrow */
.type-arrow {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  z-index: 2;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-base);
}

.type-arrow svg {
  width: 18px;
  height: 18px;
  color: white;
}

.type-card:hover .type-arrow {
  opacity: 1;
  transform: translateX(0);
}

.type-card-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  margin: 0 0 var(--space-3) 0;
}

.type-card-stats {
  display: flex;
  gap: var(--space-4);
}

.type-stat {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.9);
}

.type-stat svg {
  width: 14px;
  height: 14px;
}

/* Featured Type Card */
.type-card.featured {
  grid-column: span 2;
  min-height: 360px;
}

.type-card.featured .type-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-color: var(--color-primary);
}

/* Types Responsive */
@media (max-width: 1024px) {
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .type-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .section-types {
    padding: var(--space-16) 0;
  }

  .types-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .type-card.featured {
    grid-column: span 1;
  }

  .type-card {
    min-height: 240px;
  }
}

/* -------------------------------------------------------------------
   WHY SECTION
   ------------------------------------------------------------------- */
.section-why {
  padding: var(--space-20) 0;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

/* Why Background Effects */
.why-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.why-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.why-orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.4), transparent 70%);
}

.why-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.3), transparent 70%);
}

.why-header {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
  z-index: 1;
}

/* Why Badge */
.why-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: #b45309;
  border: 1px solid #d97706;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.why-badge .badge-star {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-badge .badge-star svg {
  width: 18px;
  height: 18px;
}

.why-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(var(--color-primary-rgb), 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.why-header .section-badge svg {
  width: 16px;
  height: 16px;
}

.why-header .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 var(--space-3) 0;
}

.why-header .section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Why Features Grid */
.why-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Why Feature Card */
.why-feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary, #3b82f6));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.why-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why-feature-card:hover::before {
  transform: scaleX(1);
}

/* Feature Icon with Glow */
.feature-icon-glow {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-light), rgba(var(--color-primary-rgb), 0.05));
  border-radius: var(--radius-xl);
  position: relative;
}

/* Icon Pulse Animation */
.icon-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  border: 2px solid rgba(var(--color-primary-rgb), 0.3);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
}

.feature-icon-glow::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.why-feature-card:hover .feature-icon-glow::after {
  opacity: 1;
}

.feature-icon-glow svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

/* Feature Content */
.feature-content {
  text-align: center;
  margin-bottom: var(--space-4);
}

.feature-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.feature-content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-2) 0;
}

.feature-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Feature Highlight (bottom) */
.feature-highlight {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(var(--color-primary-rgb), 0.08);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
}

.feature-highlight svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Feature Crown (for featured card) */
.feature-crown {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.feature-crown svg {
  width: 18px;
  height: 18px;
  color: white;
}

/* Golden Icon Glow */
.feature-icon-golden {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
}

.feature-icon-golden svg {
  color: #F59E0B;
}

.feature-icon-golden .icon-pulse {
  border-color: rgba(251, 191, 36, 0.4);
}

/* Golden Highlight */
.feature-highlight-golden {
  background: #b45309;
  color: #ffffff;
}

.why-feature-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-2) 0;
}

.why-feature-card > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4) 0;
  line-height: 1.6;
}

/* Feature Highlights */
.feature-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

/* Featured Why Card (Golden) */
.why-feature-card.why-feature-featured {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
  border-color: rgba(251, 191, 36, 0.3);
}

.why-feature-card.why-feature-featured::before {
  background: linear-gradient(90deg, #FBBF24, #F59E0B);
}

/* Featured Why Card (Golden) */
.why-feature-card.featured {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
  border-color: rgba(251, 191, 36, 0.3);
}

.why-feature-card.featured::before {
  background: linear-gradient(90deg, #FBBF24, #F59E0B);
}

.why-feature-card.featured .feature-icon-glow {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
}

.why-feature-card.featured .feature-icon-glow svg {
  color: #F59E0B;
}

.why-feature-card.featured .feature-highlight svg {
  color: #F59E0B;
}

/* Why Responsive */
@media (max-width: 1024px) {
  .why-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section-why {
    padding: var(--space-16) 0;
  }

  .why-features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .why-feature-card {
    padding: var(--space-6);
  }
}

/* -------------------------------------------------------------------
   BLOG SECTION
   ------------------------------------------------------------------- */
.section-blog {
  padding: var(--space-20) 0;
  background: var(--color-bg);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.blog-header-left {
  max-width: 500px;
}

.blog-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.blog-header .section-badge svg {
  width: 16px;
  height: 16px;
}

.blog-header .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 var(--space-2) 0;
}

.blog-header .section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin: 0;
}

/* Blog Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-8);
}

/* Blog Main Content */
.blog-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* Blog Header - Additional styles for main content area */
/* Note: Base .blog-header styles defined earlier at line 2896 */

.blog-title-area {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.blog-title-area h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
}

/* Live Indicator */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-danger-light);
  border-radius: var(--radius-full);
}

.live-indicator .pulse {
  width: 8px;
  height: 8px;
  background: var(--color-danger);
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.live-indicator .live-text {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-danger);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Blog Featured (alternate) */
.blog-featured {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 400px;
}

.blog-featured-link {
  display: block;
  position: absolute;
  inset: 0;
  text-decoration: none;
  color: white;
}

.featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

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

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  z-index: 1;
}

/* Featured Reading */
.featured-reading {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.9);
}

.readers-avatars {
  display: flex;
}

.readers-avatars img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  margin-left: -8px;
  object-fit: cover;
}

.readers-avatars img:first-child {
  margin-left: 0;
}

.readers-avatars .more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: -8px;
  background: var(--color-primary);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: white;
}

/* Blog Featured Article (original) */
.blog-featured-article {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: transform var(--transition-base);
}

.blog-featured-article::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  z-index: 1;
}

.blog-featured-article:hover {
  transform: scale(1.01);
}

.featured-article-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-featured-article:hover .featured-article-bg {
  transform: scale(1.05);
}

.featured-article-content {
  position: relative;
  z-index: 2;
  padding: var(--space-8);
}

.featured-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: white;
}

.featured-badge svg {
  width: 12px;
  height: 12px;
}

.featured-article-content h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: white;
  margin: 0 0 var(--space-3) 0;
  line-height: 1.3;
}

.featured-article-content > p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  margin: 0 0 var(--space-5) 0;
  max-width: 600px;
}

.featured-article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Featured Body (alternate) */
.featured-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Featured Category */
.featured-cat {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.cat-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.read-time {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
}

.featured-body h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
  margin: 0 0 var(--space-2) 0;
  line-height: 1.3;
}

.featured-body > p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  margin: 0 0 var(--space-4) 0;
  max-width: 600px;
}

/* Featured Footer */
.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Author Info */
.author-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.author-info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  object-fit: cover;
}

.author-info .name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
}

.author-info .date {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
}

/* Article Readers */
.article-readers {
  display: flex;
  align-items: center;
}

.reader-avatars {
  display: flex;
  margin-right: var(--space-2);
}

.reader-avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  margin-left: -8px;
  object-fit: cover;
}

.reader-avatars img:first-child {
  margin-left: 0;
}

.reader-count {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
}

/* Article Engagement */
.article-engagement {
  display: flex;
  gap: var(--space-4);
}

.engagement-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
}

.engagement-item svg {
  width: 14px;
  height: 14px;
}

/* Engagement (alternate class) */
.engagement {
  display: flex;
  gap: var(--space-4);
}

.eng-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
}

.eng-item svg {
  width: 14px;
  height: 14px;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Blog Card */
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Card Image Container */
.blog-card-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.card-img {
  position: relative;
  height: 160px;
  overflow: hidden;
}

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

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

/* Card Tag (alternate for blog-category) */
.card-tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: white;
}

.card-tag svg {
  width: 12px;
  height: 12px;
}

/* Card Body */
.card-body {
  padding: var(--space-5);
}

.card-body h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-2) 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Meta */
.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.card-meta .dot {
  color: var(--color-text-muted);
}

/* Likes */
.likes {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.likes svg {
  width: 12px;
  height: 12px;
  color: var(--color-danger);
}

/* Note: .blog-card-image base styles defined earlier at line 3364 */

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

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

.blog-category {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-2);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: white;
}

.blog-card-content {
  padding: var(--space-5);
}

.blog-card h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-2) 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.blog-date {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.blog-date svg {
  width: 12px;
  height: 12px;
}

.blog-read-time {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.blog-read-time svg {
  width: 12px;
  height: 12px;
}

/* Blog Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Sidebar Card (generic) */
.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
}

.sidebar-card h4 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-4) 0;
}

.sidebar-card h4 svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

/* Sidebar Newsletter */
.sidebar-card.sidebar-newsletter {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border: none;
  text-align: center;
}

.sidebar-card.sidebar-newsletter h4 {
  justify-content: center;
  color: white;
}

.sidebar-card.sidebar-newsletter p {
  color: rgba(255,255,255,0.9);
  margin: 0 0 var(--space-4) 0;
  font-size: var(--text-sm);
}

/* Newsletter Icon */
.newsletter-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
}

.newsletter-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: var(--space-2);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  background: white;
  color: var(--color-text);
}

.newsletter-form input::placeholder {
  color: var(--color-text-muted);
}

.newsletter-form button {
  padding: var(--space-3);
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button svg {
  width: 18px;
  height: 18px;
  color: white;
}

.newsletter-form button:hover {
  background: rgba(255,255,255,0.3);
}

/* Trending List */
.trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.trending-list li a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-light);
  transition: all var(--transition-fast);
}

.trending-list li a:hover {
  background: var(--color-primary);
  color: white;
}

/* Original sidebar-newsletter styles */
.sidebar-newsletter {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  text-align: center;
}

.sidebar-newsletter-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
}

.sidebar-newsletter-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.sidebar-newsletter h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: white;
  margin: 0 0 var(--space-2) 0;
}

.sidebar-newsletter p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  margin: 0 0 var(--space-4) 0;
}

.sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sidebar-newsletter-form input {
  padding: var(--space-3) var(--space-4);
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  background: white;
  color: var(--color-text);
}

.sidebar-newsletter-form input::placeholder {
  color: var(--color-text-muted);
}

.sidebar-newsletter-form button {
  padding: var(--space-3) var(--space-4);
  background: #4338ca;
  border: 1px solid #6366f1;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.sidebar-newsletter-form button:hover {
  background: #3730a3;
}

/* Sidebar Topics */
.sidebar-topics {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
}

.sidebar-topics h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-4) 0;
}

.topics-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.topic-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: background var(--transition-fast);
}

.topic-item:hover {
  background: var(--color-bg);
}

.topic-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
}

.topic-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.topic-info {
  flex: 1;
}

.topic-name {
  font-weight: 600;
  display: block;
}

.topic-count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------
   BLOG SECTION SVG FIX - Force all SVG dimensions
   ------------------------------------------------------------------- */

/* Engagement SVGs in featured footer */
.section-blog .engagement svg,
.section-blog .eng-item svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
}

/* Newsletter icon */
.section-blog .newsletter-icon svg {
  width: 28px !important;
  height: 28px !important;
}

/* Newsletter form button (override .btn styles) */
.section-blog .newsletter-form button svg,
.section-blog .sidebar-newsletter button svg {
  width: 18px !important;
  height: 18px !important;
}

/* Sidebar card title icon (trending fire) */
.section-blog .sidebar-card h4 svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}

/* Featured badge star */
.section-blog .featured-badge svg {
  width: 12px !important;
  height: 12px !important;
}

/* Card tag icons */
.section-blog .card-tag svg {
  width: 12px !important;
  height: 12px !important;
}

/* Likes heart icon */
.section-blog .likes svg {
  width: 12px !important;
  height: 12px !important;
  color: var(--color-danger);
}

/* Reader avatars fix */
.section-blog .readers-avatars img {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.section-blog .readers-avatars .more {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
}

/* Blog Responsive */
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    flex-direction: row;
    gap: var(--space-4);
  }

  .blog-sidebar > * {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .section-blog {
    padding: var(--space-16) 0;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .blog-sidebar {
    flex-direction: column;
  }

  .featured-article-content {
    padding: var(--space-5);
  }

  .blog-featured-article {
    min-height: 320px;
  }
}

/* -------------------------------------------------------------------
   CTA SECTION
   ------------------------------------------------------------------- */
.section-cta {
  padding: var(--space-24) 0;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

/* CTA Background Effects */
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.cta-orb-1 {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.5), transparent 70%);
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(var(--color-primary-rgb), 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* CTA Content Layout */
.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* CTA Visual */
.cta-visual {
  position: relative;
}

.cta-image-stack {
  position: relative;
  display: flex;
  justify-content: center;
}

.cta-img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  object-fit: cover;
}

.cta-img-1 {
  width: 100%;
  max-width: 400px;
  height: 480px;
  position: relative;
  z-index: 1;
}

.cta-img-2 {
  position: absolute;
  width: 180px;
  height: 240px;
  bottom: -40px;
  right: -40px;
  z-index: 2;
  border: 4px solid var(--color-surface);
}

/* CTA Stats Card */
.cta-stats-card {
  position: absolute;
  top: 40px;
  left: -30px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.cta-stats-card .stats-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-radius: var(--radius-lg);
}

.cta-stats-card .stats-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.cta-stats-card .stats-info {
  display: flex;
  flex-direction: column;
}

.cta-stats-card .stats-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
}

.cta-stats-card .stats-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* CTA Text Content */
.cta-text {
  max-width: 520px;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.cta-badge svg {
  width: 18px;
  height: 18px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 var(--space-4) 0;
  line-height: 1.2;
}

.cta-title .title-gradient {
  background: linear-gradient(135deg, var(--color-primary), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-6) 0;
  line-height: 1.7;
}

/* CTA Benefits List */
.cta-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cta-benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
}

.cta-benefits li svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* CTA Actions */
.cta-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* CTA Responsive */
@media (max-width: 1024px) {
  .cta-content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: center;
  }

  .cta-visual {
    order: 2;
  }

  .cta-text {
    max-width: 100%;
    order: 1;
  }

  .cta-badge {
    margin: 0 auto var(--space-5);
  }

  .cta-benefits {
    align-items: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .cta-stats-card {
    left: 20px;
    top: 20px;
  }

  .cta-img-2 {
    right: 0;
    bottom: -20px;
  }
}

@media (max-width: 640px) {
  .section-cta {
    padding: var(--space-16) 0;
  }

  .cta-img-1 {
    max-width: 280px;
    height: 360px;
  }

  .cta-img-2 {
    width: 140px;
    height: 180px;
  }

  .cta-stats-card {
    padding: var(--space-3);
  }

  .cta-stats-card .stats-icon {
    width: 40px;
    height: 40px;
  }

  .cta-stats-card .stats-value {
    font-size: var(--text-lg);
  }

  .cta-benefits li {
    font-size: var(--text-sm);
    text-align: left;
  }
}

/* -------------------------------------------------------------------
   MOBILE BOTTOM NAV
   ------------------------------------------------------------------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: none;
  justify-content: space-around;
  align-items: center;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4);
  padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2);
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  min-width: 60px;
}

.bottom-nav-item.active {
  color: var(--color-primary);
}

.bottom-nav-item:hover {
  color: var(--color-primary);
}

.bottom-nav-icon {
  width: 22px;
  height: 22px;
}

.bottom-nav-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
  }

  /* Add padding to body/footer to prevent content from hiding behind fixed nav */
  .main-footer {
    padding-bottom: calc(var(--space-8) + 70px);
  }
}

/* -------------------------------------------------------------------
   PRINT STYLES
   ------------------------------------------------------------------- */
@media print {
  .main-header,
  .main-footer,
  .bottom-nav,
  .hero-video,
  .bg-orbs,
  .gradient-orb {
    display: none !important;
  }

  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }

  body {
    background: white;
    color: black;
  }
}

/* -------------------------------------------------------------------
   PAGE-LEVEL AMBIENT EFFECTS - IMMERSIVE DISCOVERY THEME
   -------------------------------------------------------------------
   Premium effects for homepage - the main showcase of the site
   Features: Multiple gradient orbs, spinning circles, grid overlay, aurora sweep
   ------------------------------------------------------------------- */

/* --- Primary Floating Orb (Large Cyan) --- */
.page-home::before {
  content: '';
  position: fixed;
  top: 5%;
  left: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle at center,
    rgba(14, 165, 233, 0.18) 0%,
    rgba(6, 182, 212, 0.12) 30%,
    rgba(14, 165, 233, 0.05) 60%,
    transparent 75%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: homeOrbPrimary 25s ease-in-out infinite;
}

/* --- Secondary Floating Orb (Large Purple-Pink) --- */
.page-home::after {
  content: '';
  position: fixed;
  bottom: -10%;
  right: -20%;
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle at center,
    rgba(139, 92, 246, 0.15) 0%,
    rgba(236, 72, 153, 0.10) 35%,
    rgba(168, 85, 247, 0.05) 60%,
    transparent 75%
  );
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: homeOrbSecondary 30s ease-in-out infinite;
}

/* --- Tertiary Orb (Gold Accent - via main wrapper) --- */
.page-home main::before {
  content: '';
  position: fixed;
  top: 40%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle at center,
    rgba(251, 191, 36, 0.12) 0%,
    rgba(245, 158, 11, 0.08) 40%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: homeOrbTertiary 22s ease-in-out infinite;
}

/* --- Quaternary Orb (Emerald - via main wrapper) --- */
.page-home main::after {
  content: '';
  position: fixed;
  bottom: 30%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle at center,
    rgba(16, 185, 129, 0.10) 0%,
    rgba(5, 150, 105, 0.06) 45%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: homeOrbQuaternary 28s ease-in-out infinite reverse;
}

/* --- Spinning Dashed Circle (Decorative) --- */
.section-destinations::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 400px;
  height: 400px;
  border: 3px dashed rgba(14, 165, 233, 0.15);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: homeSpinSlow 60s linear infinite;
}

/* --- Second Spinning Circle (Smaller, Opposite) --- */
.section-properties::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -120px;
  width: 300px;
  height: 300px;
  border: 2px dashed rgba(168, 85, 247, 0.12);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: homeSpinSlow 45s linear infinite reverse;
}

/* --- Tech Grid Pattern (Subtle) --- */
.section-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  animation: homeGridPulse 8s ease-in-out infinite;
}

/* --- Aurora Sweep Effect --- */
.section-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(14, 165, 233, 0.05) 25%,
    rgba(139, 92, 246, 0.08) 50%,
    rgba(236, 72, 153, 0.05) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
  animation: homeAuroraSweep 15s ease-in-out infinite;
}

/* --- Floating Particles (Blog Section) --- */
.section-blog::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 5%;
  width: 8px;
  height: 8px;
  background: rgba(14, 165, 233, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    150px 80px 0 rgba(139, 92, 246, 0.3),
    320px 150px 0 rgba(16, 185, 129, 0.35),
    480px 50px 0 rgba(251, 191, 36, 0.3),
    620px 120px 0 rgba(236, 72, 153, 0.25),
    90px 200px 0 rgba(14, 165, 233, 0.2),
    400px 250px 0 rgba(168, 85, 247, 0.3);
  animation: homeParticlesFloat 12s ease-in-out infinite;
}

/* --- Glow Ring (Types Section) --- */
.section-types::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(transparent, transparent) padding-box,
              linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1)) border-box;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: homeGlowRing 10s ease-in-out infinite;
}

/* -------------------------------------------------------------------
   HOMEPAGE AMBIENT ANIMATIONS
   ------------------------------------------------------------------- */

/* Primary orb movement - diagonal drift */
@keyframes homeOrbPrimary {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.18;
  }
  25% {
    transform: translate(80px, 60px) scale(1.05);
    opacity: 0.22;
  }
  50% {
    transform: translate(120px, -40px) scale(0.95);
    opacity: 0.15;
  }
  75% {
    transform: translate(40px, 80px) scale(1.02);
    opacity: 0.20;
  }
}

/* Secondary orb movement - opposite direction */
@keyframes homeOrbSecondary {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  33% {
    transform: translate(-100px, -80px) scale(1.08);
    opacity: 0.20;
  }
  66% {
    transform: translate(-60px, 40px) scale(0.92);
    opacity: 0.12;
  }
}

/* Tertiary orb - vertical float */
@keyframes homeOrbTertiary {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.12;
  }
  50% {
    transform: translateY(-100px) scale(1.1);
    opacity: 0.16;
  }
}

/* Quaternary orb - horizontal float */
@keyframes homeOrbQuaternary {
  0%, 100% {
    transform: translateX(0) scale(1);
    opacity: 0.10;
  }
  50% {
    transform: translateX(80px) scale(1.05);
    opacity: 0.14;
  }
}

/* Slow spinning for dashed circles */
@keyframes homeSpinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Grid pulse effect */
@keyframes homeGridPulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
}

/* Aurora sweep across section */
@keyframes homeAuroraSweep {
  0% {
    transform: translateX(-25%);
  }
  50% {
    transform: translateX(25%);
  }
  100% {
    transform: translateX(-25%);
  }
}

/* Floating particles movement */
@keyframes homeParticlesFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-30px);
    opacity: 0.9;
  }
}

/* Glow ring pulsing */
@keyframes homeGlowRing {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.4;
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .page-home::before {
    width: 500px;
    height: 500px;
    left: -20%;
  }

  .page-home::after {
    width: 600px;
    height: 600px;
    right: -25%;
  }

  .page-home main::before {
    width: 350px;
    height: 350px;
  }

  .page-home main::after {
    width: 280px;
    height: 280px;
  }

  .section-destinations::before,
  .section-properties::before {
    display: none;
  }

  .section-types::after {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .page-home::before {
    width: 350px;
    height: 350px;
    filter: blur(40px);
    opacity: 0.15;
  }

  .page-home::after {
    width: 400px;
    height: 400px;
    filter: blur(50px);
    opacity: 0.12;
  }

  .page-home main::before,
  .page-home main::after {
    display: none;
  }

  .section-why::before,
  .section-cta::before,
  .section-blog::before,
  .section-types::after {
    display: none;
  }
}

/* --- Reduced Motion Preference --- */
@media (prefers-reduced-motion: reduce) {
  .page-home::before,
  .page-home::after,
  .page-home main::before,
  .page-home main::after,
  .section-destinations::before,
  .section-properties::before,
  .section-why::before,
  .section-cta::before,
  .section-blog::before,
  .section-types::after {
    animation: none !important;
  }
}

