:root {
  --primary: #0a0a0a;
  --secondary: #1a1a1a;
  --gold: #C9A84C;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --font-main: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--primary);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 600; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.section-subtitle {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-whatsapp, .btn-paypal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #e6c875 0%, #C9A84C 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-secondary:hover {
  background: rgba(201, 168, 76, 0.1);
}

.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

.btn-paypal { background: #003087; color: white; }
.btn-paypal:hover { background: #002366; transform: translateY(-2px); }

.full-width { width: 100%; }
.mb-2 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.hidden { display: none !important; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  z-index: 100;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo h2 { font-size: 1.5rem; letter-spacing: 2px; }
.logo span { color: var(--gold); }

.nav-links ul { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }

.user-menu { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; }

.cart-btn {
  background: transparent; border: none; color: white; cursor: pointer;
  position: relative; font-size: 1.2rem;
}
.cart-btn:hover { color: var(--gold); }

.cart-badge {
  position: absolute; top: -8px; right: -8px;
  background-color: var(--gold); color: #000;
  font-size: 0.75rem; font-weight: bold;
  height: 18px; width: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.mobile-toggle {
  display: none; background: transparent; border: none; color: white; font-size: 1.5rem;
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}

.modal-content {
  background-color: var(--secondary); padding: 3rem;
  border-radius: 16px; width: 90%; max-width: 450px;
  position: relative; border: 1px solid rgba(255,255,255,0.1);
}

.close-btn {
  background: transparent; border: none; color: var(--text-muted);
  font-size: 1.5rem; cursor: pointer; position: absolute; top: 1.5rem; right: 1.5rem;
}
.close-btn:hover { color: white; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input {
  width: 100%; padding: 0.8rem; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: white;
}
.form-group input:focus { outline: none; border-color: var(--gold); }

/* Cart Drawer */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 999;
}
.cart-drawer {
  position: fixed; top: 0; right: -450px; width: 100%; max-width: 450px; height: 100vh;
  background: var(--secondary); z-index: 1000; display: flex; flex-direction: column;
  transition: right 0.4s ease; border-left: 1px solid rgba(255,255,255,0.05);
}
.cart-drawer.open { right: 0; }

.cart-header { padding: 1.5rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; }
.cart-header .close-btn { position: static; }
.cart-items { flex: 1; overflow-y: auto; padding: 2rem; }
.empty-cart { color: var(--text-muted); text-align: center; }

.cart-item {
  display: flex; gap: 1rem; background: rgba(255,255,255,0.03);
  padding: 1rem; border-radius: 8px; margin-bottom: 1rem;
}
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.item-details { flex: 1; }
.item-details h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.item-price { color: var(--gold); font-weight: 600; font-size: 0.9rem; }
.remove-btn { background: transparent; border: none; color: #ff4d4f; cursor: pointer; }

.cart-footer { padding: 2rem; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.2); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 1.5rem; font-weight: bold; font-size: 1.2rem; }

/* Hero */
.gallery-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 1rem;
    padding: 2rem;
    box-sizing: border-box;
}

.gallery-content img {
    max-width: 100%;
    max-height: calc(85vh - 4rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
}

.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(10,10,10,1)); }
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 2rem; }
.hero h1 { font-size: 4.5rem; margin-bottom: 1.5rem; }
.hero .description { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; }

/* About */
.about-section { padding: 8rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image img { width: 100%; border-radius: 12px; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1.5rem; }
.stats { display: flex; gap: 2rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.stat-box h3 { color: var(--gold); font-size: 2rem; }

/* Property Grid */
.gallery-section { padding: 8rem 0; background: var(--secondary); }
.property-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

.property-card {
  background: var(--primary); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s;
}
.property-card:hover { transform: translateY(-5px); border-color: rgba(201, 168, 76, 0.3); }
.card-img { height: 250px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.property-card:hover .card-img img { transform: scale(1.05); }
.card-content { padding: 1.5rem; }
.card-content h3 { font-size: 1.4rem; }
.price { color: var(--gold); font-size: 1.2rem; font-weight: bold; margin: 0.5rem 0; }
.specs { color: var(--text-muted); font-size: 0.85rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1rem; }

/* Footer */
footer { padding: 4rem 0; background: #050505; border-top: 1px solid rgba(255,255,255,0.05); }
footer h2 { font-size: 1.5rem; margin-bottom: 1rem; }
footer span { color: var(--gold); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hide-mobile { display: none; }
  .hero h1 { font-size: 3rem; }
  .about-grid { grid-template-columns: 1fr; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.8s forwards; }
