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

:root {
  --gold: #c5972c;
  --gold-light: #d4b06a;
  --gold-dark: #8a6a1e;
  --navy: #1e2a4a;
  --navy-light: #2d3f5e;
  --cream: #f7f5f0;
  --warm-white: #faf8f5;
  --text-dark: #1a2540;
  --text-muted: #64748b;
  --border-color: #e5e0d5;
  --radius: 0.5rem;
  --shadow-luxury: 0 20px 60px -15px rgba(30, 42, 74, 0.15);
  --shadow-card: 0 8px 30px -10px rgba(30, 42, 74, 0.1);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.2; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.section-padding-lg { padding: 100px 0; }
.text-center { text-align: center; }
.gold-divider { width: 64px; height: 2px; background: var(--gold); margin: 8px auto 40px; }

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-10px) translateX(-50%); }
}
.animate-fade-in-up { animation: fadeInUp 0.8s ease forwards; }
.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-delay-1 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.4s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.6s; opacity: 0; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all var(--transition);
  padding: 20px 0;
}
.navbar.scrolled {
  background: rgba(30, 42, 74, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-luxury);
  padding: 12px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 600;
  color: #f5edd6; letter-spacing: 0.05em;
}
.navbar-brand .gold { color: transparent; background: linear-gradient(135deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; background-clip: text; }

.navbar-nav { display: flex; align-items: center; gap: 24px; }
.navbar-nav a {
  color: rgba(245, 237, 214, 0.8); font-size: 0.875rem; font-weight: 400;
  transition: color var(--transition); letter-spacing: 0.02em;
}
.navbar-nav a:hover { color: var(--gold-light); }

.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: #f5edd6;
  margin: 5px 0; transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius); font-family: 'Poppins', sans-serif;
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: all var(--transition); border: none; letter-spacing: 0.02em;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); box-shadow: 0 4px 15px rgba(197, 151, 44, 0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(197, 151, 44, 0.4); }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 20px; font-size: 0.8125rem; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 42, 74, 0.7) 0%, rgba(30, 42, 74, 0.3) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 20px; max-width: 800px;
}
.hero-subtitle {
  color: var(--gold-light); text-transform: uppercase;
  letter-spacing: 0.3em; font-size: 0.875rem; margin-bottom: 16px; font-weight: 300;
}
.hero-title {
  color: #f5edd6; font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; margin-bottom: 24px;
}
.hero-desc {
  color: rgba(212, 176, 106, 0.8); font-size: 1.125rem;
  font-weight: 300; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); animation: bounce 2s infinite;
}
.hero-scroll-indicator {
  width: 24px; height: 40px; border-radius: 12px;
  border: 2px solid rgba(212, 176, 106, 0.5);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 8px;
}
.hero-scroll-dot {
  width: 6px; height: 12px; border-radius: 3px;
  background: rgba(212, 176, 106, 0.7);
}

/* ===== ABOUT ===== */
.about { background: var(--warm-white); }
.about p { color: var(--text-muted); font-size: 1.125rem; max-width: 800px; margin: 0 auto; }

/* ===== HIGHLIGHTS / SERVICES ===== */
.highlights { background: var(--cream); }
.highlights-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px;
}
.highlight-card {
  background: #fff; border-radius: var(--radius); padding: 40px 24px;
  text-align: center; box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.highlight-card:hover { box-shadow: var(--shadow-luxury); transform: translateY(-4px); }
.highlight-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(197, 151, 44, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.highlight-icon svg { width: 24px; height: 24px; color: var(--gold-dark); }
.highlight-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.highlight-card p { color: var(--text-muted); font-size: 0.875rem; }

/* ===== AMENITIES ===== */
.amenities { background: var(--warm-white); }
.amenities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.amenities-image { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-luxury); }
.amenities-image img { width: 100%; height: 320px; object-fit: cover; }
.amenities-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.amenity-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--radius);
  background: var(--cream); transition: background var(--transition);
}
.amenity-item:hover { background: rgba(197, 151, 44, 0.05); }
.amenity-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(197, 151, 44, 0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.amenity-icon svg { width: 20px; height: 20px; color: var(--gold-dark); }
.amenity-item span { font-weight: 500; font-size: 0.875rem; }

/* ===== GALLERY ===== */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.gallery-item {
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-luxury); }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== PROPERTIES ===== */
.properties { background: var(--warm-white); }
.properties-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;
}
.property-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-card); transition: all var(--transition);
}
.property-card:hover { box-shadow: var(--shadow-luxury); transform: translateY(-4px); }
.property-card-image { position: relative; height: 220px; overflow: hidden; }
.property-card-image img { width: 100%; height: 100%; object-fit: cover; }
.property-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--navy); padding: 4px 12px;
  border-radius: 4px; font-size: 0.75rem; font-weight: 600;
}
.property-card-body { padding: 24px; }
.property-card-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.property-card-body .price { color: var(--gold-dark); font-weight: 600; font-size: 1.125rem; margin-bottom: 12px; }
.property-card-body p { color: var(--text-muted); font-size: 0.875rem; }

/* ===== LOCATION ===== */
.location { background: var(--cream); }
.location-content { max-width: 800px; margin: 0 auto; }
.location-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.location-badge svg { width: 20px; height: 20px; color: var(--gold-dark); }
.location-badge span { color: var(--text-muted); font-weight: 500; }
.location p { color: var(--text-muted); font-size: 1.125rem; }
.location-map { margin-top: 40px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.location-map iframe { width: 100%; height: 400px; border: 0; }

/* ===== CONTACT ===== */
.contact { background: var(--warm-white); }
.contact-form { max-width: 500px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-control {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border-color);
  border-radius: var(--radius); font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem; background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 151, 44, 0.1);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error { color: #dc3545; font-size: 0.75rem; margin-top: 4px; }
.form-success { color: #198754; text-align: center; padding: 16px; background: rgba(25, 135, 84, 0.05); border-radius: var(--radius); margin-top: 16px; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: #f5edd6; padding: 64px 0 0; }
.footer h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; margin-bottom: 32px; }
.footer-link { display: flex; align-items: center; gap: 8px; color: var(--gold-light); transition: color var(--transition); font-size: 0.9375rem; }
.footer-link:hover { color: var(--gold); }
.footer-link svg { width: 16px; height: 16px; }
.footer-social { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 32px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(245, 237, 214, 0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-social a svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(245, 237, 214, 0.1);
  padding: 24px 0; text-align: center;
}
.footer-bottom p { color: rgba(245, 237, 214, 0.5); font-size: 0.875rem; }

.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 40px; }
.footer-widgets .widget { color: rgba(245, 237, 214, 0.7); }
.footer-widgets .widget-title { color: var(--gold-light); font-family: 'Playfair Display', serif; font-size: 1.125rem; margin-bottom: 16px; }
.footer-widgets .widget ul { list-style: none; padding: 0; }
.footer-widgets .widget li { margin-bottom: 8px; }
.footer-widgets .widget a { color: rgba(245, 237, 214, 0.7); transition: color var(--transition); }
.footer-widgets .widget a:hover { color: var(--gold-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .amenities-grid { grid-template-columns: 1fr; }
  .amenities-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .section-padding-lg { padding: 70px 0; }

  .navbar-nav {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(30, 42, 74, 0.98);
    padding: 24px; gap: 16px; backdrop-filter: blur(12px);
  }
  .navbar-nav.active { display: flex; }
  .hamburger { display: block; }

  .hero-subtitle { font-size: 0.75rem; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .amenities-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 12px; }
}

/* ===== SCREEN READER ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--navy);
  color: #fff; padding: 8px 16px; z-index: 200; transition: top 0.3s;
}
.skip-link:focus { top: 0; }
