/* ===== Variables ===== */
:root {
  --navy: #002147;
  --navy-dark: #001530;
  --navy-light: #003366;
  --gold: #D4AF37;
  --gold-light: #E8C84A;
  --gold-dark: #B8962E;
  --orange: #E87722;
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --text: #1F2937;
  --shadow: 0 4px 24px rgba(0, 33, 71, 0.12);
  --shadow-lg: 0 12px 48px rgba(0, 33, 71, 0.18);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Cinzel', serif; line-height: 1.2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold); }
.section { padding: 90px 0; }
.section-dark { background: var(--navy); color: var(--white); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}
.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--navy-dark); }
.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }
.btn-full { width: 100%; }

/* ===== Section Headers ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header.light .section-sub { color: rgba(255,255,255,0.7); }
.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-sub { color: var(--gray); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(0, 21, 48, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 52px; width: auto; object-fit: contain; }
.logo-img-footer { height: 64px; filter: brightness(1.1); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/prithla-1.jpeg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,21,48,0.92) 0%, rgba(0,33,71,0.75) 50%, rgba(0,21,48,0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 20px 80px;
  max-width: 800px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 600;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
}
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== About ===== */
.about { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  margin-bottom: 20px;
  color: var(--gray);
  font-size: 1.05rem;
}
.about-text strong { color: var(--navy); }
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.value-card {
  background: var(--white);
  padding: 24px 16px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-icon { font-size: 1.8rem; margin-bottom: 12px; }
.value-card h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; }
.value-card p { font-size: 0.8rem; color: var(--gray); margin: 0; }

.about-image { position: relative; }
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  padding: 20px 24px;
  border-radius: 50%;
  width: 140px; height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.badge-title { font-weight: 700; font-size: 0.75rem; line-height: 1.3; }
.badge-sub { font-size: 0.65rem; margin-top: 4px; }
.badge-stars { color: var(--navy-dark); margin-top: 6px; font-size: 0.8rem; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  text-align: center;
}
.service-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.service-card.highlight {
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border-color: var(--gold);
}
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--white); }
.service-card p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

.locations-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
}
.loc-label { font-weight: 600; color: var(--gold); font-size: 0.9rem; }
.loc-tag {
  background: rgba(212,175,55,0.15);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===== Properties ===== */
.property-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid var(--gray-light);
}
.property-gallery { display: flex; flex-direction: column; }
.gallery-main { position: relative; flex: 1; }
.gallery-main img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.property-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--orange);
  color: white;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-thumbs img { height: 100px; object-fit: cover; cursor: pointer; transition: var(--transition); }
.gallery-thumbs img:hover { opacity: 0.8; }

.property-details { padding: 40px 40px 40px 0; }
.property-location { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.property-details h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 20px; }
.property-price {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.price-label { display: block; font-size: 0.8rem; opacity: 0.7; margin-bottom: 4px; }
.price-value { font-family: 'Cinzel', serif; font-size: 2rem; color: var(--gold); font-weight: 700; }
.price-terms { display: block; font-size: 0.85rem; color: var(--gold-light); margin-top: 4px; }

.property-features { margin-bottom: 24px; }
.property-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray);
  border-bottom: 1px solid var(--gray-light);
}
.property-features li:last-child { border-bottom: none; }
.check { color: var(--gold); font-weight: 700; flex-shrink: 0; }

.property-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag {
  background: var(--off-white);
  color: var(--navy);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--gray-light);
}
.property-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Property Cards */
.property-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-image { position: relative; height: 200px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.property-card:hover .card-image img { transform: scale(1.05); }
.card-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.card-badge.rent { background: var(--navy); color: white; }
.card-badge.sale { background: var(--gold); color: var(--navy-dark); }
.card-body { padding: 24px; }
.card-loc { font-size: 0.8rem; color: var(--gold-dark); font-weight: 600; }
.card-body h4 { font-size: 1.1rem; color: var(--navy); margin: 8px 0 12px; }
.card-body p { font-size: 0.88rem; color: var(--gray); margin-bottom: 16px; }
.card-features li {
  font-size: 0.82rem;
  color: var(--gray);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.card-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.card-link:hover { color: var(--gold-dark); }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), #d4651a);
  padding: 48px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 { color: white; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 8px; }
.cta-text p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.cta-phones { display: flex; gap: 16px; flex-wrap: wrap; }
.phone-btn {
  background: white;
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  white-space: nowrap;
}
.phone-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-card h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 6px; }
.contact-card p, .contact-card a {
  font-size: 0.9rem;
  color: var(--gray);
  display: block;
  line-height: 1.8;
  transition: var(--transition);
}
.contact-card a:hover { color: var(--gold-dark); }
.contact-map {
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-light);
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}
.footer-inner { text-align: center; }
.footer-brand { margin-bottom: 24px; }
.footer-brand .logo { justify-content: center; margin-bottom: 8px; }
.footer-brand p { font-size: 0.85rem; letter-spacing: 2px; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-links a { font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.8rem; opacity: 0.5; }

/* ===== Floating Call ===== */
.float-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(212,175,55,0.5);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.float-call:hover { transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(212,175,55,0.5); }
  50% { box-shadow: 0 4px 30px rgba(212,175,55,0.8); }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid, .property-featured, .contact-grid { grid-template-columns: 1fr; }
  .property-details { padding: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .property-cards { grid-template-columns: repeat(2, 1fr); }
  .about-badge { right: 10px; bottom: -10px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active { transform: translateY(0); opacity: 1; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: white;
  }
  .nav-cta { text-align: center; margin-top: 8px; }
  .about-values { grid-template-columns: 1fr; }
  .services-grid, .property-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-phones { justify-content: center; }
  .about-image img { height: 280px; }
  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .property-actions { flex-direction: column; }
  .property-actions .btn { width: 100%; }
  .phone-btn { font-size: 0.95rem; padding: 12px 20px; }
}
