/* --- LUX ALBANIA BRAND VARIABLES --- */
:root {
  --brand-dark: #001A10;
  --brand-emerald: #002518;
  --brand-amber: #fbbf24;
  --brand-amber-hover: #f59e0b;
  --text-main: #ecfdf5;
  --text-muted: rgba(209, 250, 229, 0.7);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- BASE STYLES --- */
body {
  background-color: var(--brand-dark);
  color: white;
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Overrides */
.font-serif {
  font-family: 'Playfair Display', serif;
}

/* --- NAVIGATION UI --- */
nav {
  transition: var(--transition-smooth);
}

#mobile-menu {
  background-color: var(--brand-dark);
  border-top: 1px solid rgba(251, 191, 36, 0.1);
}

/* --- HERO SECTION --- */
.hero-gradient {
  background: linear-gradient(to right, var(--brand-dark) 20%, rgba(0, 26, 16, 0.8) 50%, transparent 100%);
}

@keyframes heroPulse {
  0% { transform: scale(1.05); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1.05); }
}

.hero-bg-animate {
  animation: heroPulse 20s ease-in-out infinite;
}

/* --- PROPERTY CARDS --- */
.property-card {
  background-color: var(--brand-emerald);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.card-img-container {
  height: 16rem;
  overflow: hidden;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Sold Out State */
.is-sold {
  filter: grayscale(1);
  opacity: 0.8;
}

.is-sold .card-img-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* --- MAP STYLING --- */
#map {
  height: 100%;
  width: 100%;
  background: #00140d !important;
}

/* Custom Leaflet Popups */
.leaflet-popup-content-wrapper {
  background: var(--brand-dark) !important;
  color: white !important;
  border: 1px solid var(--brand-amber) !important;
  border-radius: 8px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.leaflet-popup-tip {
  background: var(--brand-amber) !important;
}

/* --- UI ELEMENTS --- */
.vertical-text {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

/* Custom Scrollbar for a luxury feel */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--brand-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-amber);
}

/* Search Bar Shadow */
.search-container {
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.6);
}

/* Mobile Menu Animation */
.animate-in {
  animation: fadeInDown 0.4s ease-out;
}

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