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

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
  --bg-dark: #070A13;
  --bg-darker: #04060B;
  --bg-card: #0F1626;
  --bg-card-hover: #151E33;
  --bg-light-opacity: rgba(255, 255, 255, 0.03);
  
  --accent-gold: #D4AF37;
  --accent-gold-rgb: 212, 175, 55;
  --accent-orange: #F57C00;
  --accent-orange-rgb: 245, 124, 0;
  --accent-gradient: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  --accent-gradient-hover: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  
  --text-light: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;
  
  --glass-bg: rgba(15, 22, 38, 0.7);
  --glass-bg-nav: rgba(7, 10, 19, 0.85);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(214, 175, 55, 0.25);
  
  --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(214, 175, 55, 0.15);
  --shadow-glow-orange: 0 0 25px rgba(245, 124, 0, 0.15);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* --- RESET & BASIC STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

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

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-light);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 124, 0, 0.3), var(--shadow-glow);
}

.btn-secondary {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  background: rgba(214, 175, 55, 0.05);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- ANIMATION CLASSES --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- NAVIGATION BAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-premium);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

.navbar.scrolled .nav-container {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo svg {
  height: 48px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-light);
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(214, 175, 55, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(245, 124, 0, 0.08) 0%, transparent 50%),
              var(--bg-darker);
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

.hero-bg-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--bg-darker) 0%, rgba(7, 10, 19, 0.8) 40%, transparent 100%),
              linear-gradient(0deg, var(--bg-darker) 0%, transparent 30%, transparent 70%, var(--bg-darker) 100%);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(214, 175, 55, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(214, 175, 55, 0.2);
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* Quick Search Bar */
.search-bar {
  padding: 8px;
  border-radius: var(--border-radius-md);
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 8px;
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.search-field {
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
  border-right: 1px solid var(--glass-border);
}

.search-field:nth-child(3) {
  border-right: none;
}

.search-field label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 4px;
}

.search-field select,
.search-field input {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

.search-field select option {
  background-color: var(--bg-card);
  color: var(--text-light);
}

.search-bar .btn {
  padding: 0 32px;
  height: 100%;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.about-images {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.about-img-1 {
  grid-column: 1 / span 9;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.about-img-2 {
  grid-column: 5 / span 8;
  margin-top: -30%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
  border: 2px solid var(--accent-gold);
  overflow: hidden;
  z-index: 2;
}

.about-img-1 img,
.about-img-2 img {
  transition: var(--transition-smooth);
}

.about-images:hover .about-img-1 img {
  transform: scale(1.05);
}

.about-images:hover .about-img-2 img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  padding: 24px;
  border-radius: var(--border-radius-md);
  text-align: center;
  z-index: 3;
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.about-badge h4 {
  font-size: 2.5rem;
  line-height: 1;
}

.about-badge p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 24px;
}

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

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

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

.feature-item i {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-top: 4px;
}

.feature-item h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- PROPERTIES SECTION --- */
.properties-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.filter-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.filter-tab:hover,
.filter-tab.active {
  border-color: var(--accent-gold);
  background: rgba(214, 175, 55, 0.1);
  color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.property-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

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

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

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

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-gradient);
  color: var(--text-light);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.property-price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 22, 38, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid rgba(214, 175, 55, 0.2);
}

.property-details-content {
  padding: 24px;
  background: var(--bg-card);
}

.property-tag {
  color: var(--accent-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.property-details-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.property-details-content h3:hover {
  color: var(--accent-gold);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.property-location svg {
  color: var(--accent-gold);
}

.property-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.spec-item svg {
  color: var(--accent-gold);
}

.property-card-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}

.property-card-actions .btn {
  padding: 10px 16px;
  font-size: 0.85rem;
}

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

/* --- SERVICES SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  border-radius: var(--border-radius-md);
  padding: 40px;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.service-icon-wrapper {
  height: 70px;
  width: 70px;
  border-radius: var(--border-radius-sm);
  background: rgba(214, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(214, 175, 55, 0.2);
  transition: var(--transition-smooth);
}

.service-icon-wrapper svg {
  color: var(--accent-gold);
  width: 32px;
  height: 32px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-light);
  transform: rotate(5deg);
}

.service-card:hover .service-icon-wrapper svg {
  color: var(--text-light);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-gold);
}

.service-link svg {
  transition: var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--text-light);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-intro h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-intro p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  height: 50px;
  width: 50px;
  border-radius: var(--border-radius-sm);
  background: rgba(214, 175, 55, 0.1);
  border: 1px solid rgba(214, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  color: var(--accent-gold);
  width: 20px;
  height: 20px;
}

.contact-detail-text h5 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-detail-text p {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-detail-text a:hover {
  color: var(--accent-gold);
}

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

.social-btn {
  height: 48px;
  width: 48px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Glassmorphic Contact Form */
.contact-form-panel {
  border-radius: var(--border-radius-md);
  padding: 40px;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

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

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

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

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-light);
  padding: 14px 18px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 15px rgba(214, 175, 55, 0.1);
}

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

.contact-form-panel .btn {
  width: 100%;
}

.form-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  display: block;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px 0;
}

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

.footer-col-about p {
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  color: var(--accent-gold);
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* --- WHATSAPP FLOATING CTA --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* --- DYNAMIC PROPERTY MODAL --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 11, 0.85);
  backdrop-filter: blur(8px);
}

.modal-wrapper {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  overflow-y: auto;
  box-shadow: var(--shadow-premium), var(--shadow-glow);
  transform: translateY(40px);
  transition: var(--transition-smooth);
}

.modal.active .modal-wrapper {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: rgba(15, 22, 38, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  transform: rotate(90deg);
}

.modal-hero-image {
  height: 400px;
  width: 100%;
  position: relative;
}

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

.modal-hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(0deg, var(--bg-card) 0%, transparent 100%);
}

.modal-content {
  background: var(--bg-card);
  padding: 40px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.modal-title-area h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.modal-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(214, 175, 55, 0.08);
  padding: 10px 24px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(214, 175, 55, 0.2);
}

.modal-details-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 48px;
}

.modal-description-area h4,
.modal-gallery-area h4,
.modal-contact-area h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text-light);
  border-left: 3px solid var(--accent-gold);
  padding-left: 12px;
}

.modal-description-area p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.modal-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.modal-spec-card {
  background: var(--bg-card-hover);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.modal-spec-card svg {
  color: var(--accent-gold);
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
}

.modal-spec-card span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.modal-spec-card h5 {
  font-size: 1rem;
  font-weight: 700;
}

.modal-contact-panel {
  padding: 24px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--glass-border);
}

.modal-agent {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.modal-agent-avatar {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  background: var(--bg-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent-gold);
}

.modal-agent-info h5 {
  font-size: 1.05rem;
}

.modal-agent-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.modal-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-contact-actions .btn {
  width: 100%;
}

.modal-contact-actions .btn svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* --- PROPERTIES SEARCH INTERFACE (properties.html specific) --- */
.properties-hero {
  padding: 160px 0 80px 0;
  background: radial-gradient(circle at top right, rgba(214, 175, 55, 0.05), transparent), var(--bg-darker);
  border-bottom: 1px solid var(--glass-border);
}

.filter-section-wrapper {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

.advanced-filter-panel {
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-premium);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-select,
.filter-input {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-light);
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  width: 100%;
  cursor: pointer;
}

.filter-select:focus,
.filter-input:focus {
  border-color: var(--accent-gold);
}

.filter-select option {
  background-color: var(--bg-card);
}

.filter-row-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.results-count {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.results-count span {
  color: var(--accent-gold);
  font-weight: 700;
}

.filter-action-btns {
  display: flex;
  gap: 12px;
}

.filter-action-btns .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.no-results {
  grid-column: span 3;
  text-align: center;
  padding: 80px 20px;
  border-radius: var(--border-radius-md);
  border: 1px dashed var(--glass-border);
  color: var(--text-muted);
}

.no-results svg {
  color: var(--accent-gold);
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.no-results h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

/* --- SERVICES DETAIL PAGE (services.html specific) --- */
.services-hero {
  padding: 160px 0 80px 0;
  background: radial-gradient(circle at top left, rgba(245, 124, 0, 0.05), transparent), var(--bg-darker);
  border-bottom: 1px solid var(--glass-border);
}

.service-feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.service-feature-block:nth-child(even) {
  direction: rtl;
}

.service-feature-block:nth-child(even) .service-feature-content {
  direction: ltr;
}

.service-feature-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--glass-border);
}

.service-feature-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-feature-block:hover .service-feature-image img {
  transform: scale(1.03);
}

.service-feature-content h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.service-feature-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.service-spec-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.service-spec-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.service-spec-list li svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.services-cta-panel {
  border-radius: var(--border-radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.services-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(214, 175, 55, 0.15), transparent 70%), var(--bg-card);
  z-index: 1;
}

.services-cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.services-cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.services-cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}


/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .search-bar {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }
  
  .search-field:nth-child(even) {
    border-right: none;
  }
  
  .search-bar .btn {
    grid-column: span 2;
    height: 50px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-images {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .filter-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .service-feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-feature-image img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .nav-links,
  .nav-cta .btn-secondary {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  /* Mobile Menu active states */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--glass-border);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-premium);
  }
  
  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }
  
  .hero-bg-wrapper {
    width: 100%;
    opacity: 0.3;
  }
  
  .hero-bg-wrapper::after {
    background: linear-gradient(0deg, var(--bg-darker) 0%, rgba(7, 10, 19, 0.9) 60%, var(--bg-darker) 100%);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    gap: 32px;
    justify-content: space-between;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-panel {
    padding: 24px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .modal-details-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .modal-content {
    padding: 24px;
  }
  
  .modal-title-area h2 {
    font-size: 1.8rem;
  }
  
  .modal-price {
    font-size: 1.5rem;
  }
  
  .filter-row-actions {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .filter-action-btns {
    width: 100%;
  }
  
  .filter-action-btns .btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .logo-main {
    font-size: 1.25rem;
  }
  
  .logo-sub {
    font-size: 0.75rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .search-bar {
    grid-template-columns: 1fr;
  }
  
  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }
  
  .search-bar .btn {
    grid-column: span 1;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* --- ADMINISTRATIVE PORTAL STYLES --- */
.admin-login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: radial-gradient(circle at center, #151e33 0%, var(--bg-darker) 100%);
  padding: 24px;
}

.admin-login-card {
  width: 100%;
  max-width: 450px;
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-premium), var(--shadow-glow);
  text-align: center;
}

.admin-login-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.admin-login-logo svg {
  height: 60px;
}

.admin-login-card h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.admin-login-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.admin-login-card .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.admin-login-card .btn {
  width: 100%;
  margin-top: 12px;
}

.admin-alert {
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-align: left;
}

.admin-alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.admin-alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* Admin Dashboard layout */
.admin-navbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--glass-border);
}

.admin-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 80px);
  margin-top: 80px;
}

.admin-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--glass-border);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition-fast);
}

.admin-sidebar-menu a:hover,
.admin-sidebar-menu li.active a {
  background: rgba(214, 175, 55, 0.08);
  color: var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
  padding-left: 15px;
}

.admin-sidebar-menu a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.admin-main {
  padding: 40px;
  overflow-y: auto;
}

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.admin-page-header h1 {
  font-size: 2.2rem;
}

/* Stats Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.admin-stat-card {
  border-radius: var(--border-radius-md);
  padding: 30px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: var(--transition-smooth);
}

.admin-stat-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.admin-stat-icon {
  height: 60px;
  width: 60px;
  border-radius: var(--border-radius-sm);
  background: rgba(214, 175, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.admin-stat-icon svg {
  width: 28px;
  height: 28px;
}

.admin-stat-text h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.admin-stat-text p {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

/* Admin lists and tables */
.admin-table-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--glass-border);
}

.admin-table th {
  background: var(--bg-card);
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.admin-table tbody tr {
  transition: var(--transition-fast);
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.admin-table td {
  color: var(--text-light);
  font-size: 0.95rem;
}

.admin-table td a:hover {
  color: var(--accent-gold);
}

/* Badges */
.admin-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.admin-badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.admin-badge-info {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Action Buttons */
.admin-actions {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8rem;
  border-radius: 4px;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background: #ef4444;
  color: var(--text-light);
  border-color: transparent;
  transform: translateY(-1px);
}

/* Admin forms layout */
.admin-form-panel {
  border-radius: var(--border-radius-md);
  padding: 40px;
  max-width: 800px;
}

.admin-form-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}

/* File Upload input custom styling */
.admin-file-upload {
  border: 1px dashed var(--glass-border);
  border-radius: var(--border-radius-sm);
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-file-upload:hover {
  border-color: var(--accent-gold);
  background: rgba(214, 175, 55, 0.03);
}

.admin-file-upload svg {
  color: var(--accent-gold);
  margin: 0 auto 12px auto;
}

.admin-file-upload p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-file-preview {
  margin-top: 16px;
  width: 150px;
  height: 100px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.admin-file-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-group input {
  height: 18px;
  width: 18px;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.checkbox-group span {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Responsive adjustment for dashboard */
@media (max-width: 1024px) {
  .admin-wrapper {
    grid-template-columns: 1fr;
  }
  
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 20px;
  }
  
  .admin-sidebar-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .admin-sidebar-menu a {
    padding: 10px 14px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  
  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-main {
    padding: 20px;
  }
  
  .admin-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .admin-table th:nth-child(3),
  .admin-table td:nth-child(3),
  .admin-table th:nth-child(4),
  .admin-table td:nth-child(4) {
    display: none; /* Hide location/specs on mobile */
  }
}
