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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: #1e293b;
  background: #f8fafc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; line-height: 1.2; }

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

.container-fluid { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(52, 211, 153, 0.1);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.2); }
.site-header .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-link {
  color: rgba(248, 250, 252, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 50px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #f8fafc; background: rgba(52, 211, 153, 0.15); }
.nav-link--cta {
  background: #34d399;
  color: #0f172a !important;
}
.nav-link--cta:hover { background: #2dd4a0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: #f8fafc;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/4712152/pexels-photo-4712152.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  opacity: 0.3;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 15, 30, 0.92) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(15, 23, 42, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #34d399;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-headline em {
  font-style: normal;
  color: #34d399;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(248, 250, 252, 0.7);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: #34d399;
  color: #0f172a;
  border-color: #34d399;
}
.btn--primary:hover { background: #2dd4a0; border-color: #2dd4a0; box-shadow: 0 8px 30px rgba(52, 211, 153, 0.35); }
.btn--outline {
  background: transparent;
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.35);
}
.btn--outline:hover { border-color: #f8fafc; background: rgba(248, 250, 252, 0.08); }
.btn--white {
  background: #f8fafc;
  color: #0f172a;
  border-color: #f8fafc;
}
.btn--white:hover { background: #e2e8f0; box-shadow: 0 8px 30px rgba(255,255,255,0.2); }
.btn--outline-light {
  background: transparent;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.25);
}
.btn--outline-light:hover { border-color: #0f172a; background: rgba(15, 23, 42, 0.05); }
.btn--full { width: 100%; justify-content: center; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}
.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.3rem; color: #34d399; }
.hero-stat-label { font-size: 0.85rem; color: rgba(248, 250, 252, 0.55); }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(248, 250, 252, 0.15); }

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* Sections */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #059669;
  background: rgba(52, 211, 153, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
}

/* Living */
.living { background: #f8fafc; }
.room-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.room-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.room-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.room-card-img { position: relative; overflow: hidden; height: 220px; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.room-card:hover .room-card-img img { transform: scale(1.05); }
.room-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #34d399;
  color: #0f172a;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 0.03em;
}
.room-card-body { padding: 28px; }
.room-card-title { font-size: 1.3rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.room-card-desc { font-size: 0.95rem; color: #475569; line-height: 1.65; margin-bottom: 18px; }
.room-card-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.room-card-features li {
  font-size: 0.88rem;
  color: #334155;
  padding-left: 20px;
  position: relative;
}
.room-card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
}

/* Amenities */
.amenities { background: #0f172a; }
.amenities .section-tag { color: #34d399; background: rgba(52, 211, 153, 0.12); }
.amenities .section-title { color: #f8fafc; }
.amenities .section-desc { color: rgba(248, 250, 252, 0.6); }
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.amenity-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 28px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.amenity-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(52, 211, 153, 0.3); transform: translateY(-4px); }
.amenity-icon {
  width: 56px;
  height: 56px;
  background: rgba(52, 211, 153, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  margin-bottom: 20px;
}
.amenity-name { font-size: 1.15rem; font-weight: 800; color: #f8fafc; margin-bottom: 8px; }
.amenity-desc { font-size: 0.92rem; color: rgba(248, 250, 252, 0.55); line-height: 1.65; }

/* Location */
.location { background: #f8fafc; }
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.location-info .section-tag { text-align: left; }
.location-info .section-title { text-align: left; }
.location-info .section-desc { text-align: left; margin-bottom: 36px; }
.location-details { display: flex; flex-direction: column; gap: 20px; }
.location-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.location-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(52, 211, 153, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
}
.location-detail strong { display: block; font-family: 'Nunito', sans-serif; font-weight: 700; color: #0f172a; font-size: 0.9rem; margin-bottom: 2px; }
.location-detail span, .location-detail a { font-size: 0.92rem; color: #475569; text-decoration: none; }
.location-detail a:hover { color: #059669; }
.location-map {
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

/* Community */
.community { background: #fff; }
.community-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.community-images { position: relative; height: 600px; }
.community-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 75%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
}
.community-img-main img { width: 100%; height: 100%; object-fit: cover; }
.community-img-stack {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 55%;
}
.community-img-stack img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  object-fit: cover;
}
.community-text .section-tag { text-align: left; }
.community-text .section-title { text-align: left; }
.community-text .section-desc { text-align: left; margin-bottom: 28px; }
.community-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.community-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: #1e293b;
}
.community-feature-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: #34d399;
  border-radius: 50%;
}

/* CTA */
.cta { padding: 80px 0; background: #0f172a; }
.cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #1a2f73 100%);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 28px;
  padding: 72px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-content { max-width: 480px; }
.cta-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #f8fafc; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-desc { font-size: 1.05rem; color: rgba(248, 250, 252, 0.6); line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Contact */
.contact { background: #f8fafc; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info .section-tag { text-align: left; }
.contact-info .section-title { text-align: left; }
.contact-info .section-desc { text-align: left; margin-bottom: 36px; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-method {
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  padding: 16px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.contact-method:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.contact-method > div:first-child > div { color: #059669; }
.contact-method strong { display: block; font-family: 'Nunito', sans-serif; font-weight: 700; color: #0f172a; font-size: 0.9rem; margin-bottom: 2px; }
.contact-method span, .contact-method a { font-size: 0.92rem; color: #475569; text-decoration: none; }
.contact-method a:hover { color: #059669; }

.contact-form-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.contact-form-title { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1e293b;
  margin-bottom: 7px;
  font-family: 'Nunito', sans-serif;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #34d399;
  background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.82rem; color: #94a3b8; text-align: center; margin-top: 14px; }
.form-success { text-align: center; padding: 20px 0; }
.form-success-icon { margin-bottom: 16px; }
.form-success-title { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.form-success-desc { font-size: 0.95rem; color: #475569; margin-bottom: 24px; }

/* Footer */
.footer { background: #0a0f1e; padding: 64px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-tagline { font-size: 0.92rem; color: rgba(248,250,252,0.5); line-height: 1.7; max-width: 320px; }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: #f8fafc;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.9rem;
  color: rgba(248,250,252,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: #34d399; }
.footer-col span { font-size: 0.9rem; color: rgba(248,250,252,0.5); line-height: 1.7; }
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: rgba(248,250,252,0.3); }

/* Reveal animations */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal[data-reveal] { opacity: 0; transform: translateY(24px); }
}

/* Mobile */
@media (max-width: 1024px) {
  .room-cards { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-bottom: 1px solid rgba(52, 211, 153, 0.1);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; }
  .nav-link { padding: 14px 16px; width: 100%; text-align: left; }
  .nav-link--cta { text-align: center; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 1.1rem; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  .room-cards { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: 1fr; }

  .location-layout,
  .community-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .community-images { height: 400px; }
  .location-map { height: 280px; }

  .cta-card { padding: 48px 28px; flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
  .container-fluid { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .btn { padding: 12px 24px; font-size: 0.95rem; }
}
