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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #1e293b;
  background: #f8fafc;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section */
.section {
  padding: 6rem 0;
}

/* Section labels */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 0.75rem;
}

/* Section title */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

/* Section description */
.section-desc {
  font-size: 1.1rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
}

/* Text center */
.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

.btn-primary:hover {
  background: #0f766e;
  border-color: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  transition: color 0.4s ease;
}

.navbar.scrolled .nav-logo-text {
  color: #0f172a;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link {
  color: #475569;
}

.navbar.scrolled .nav-link:hover {
  color: #0d9488;
  background: #f0fdfa;
}

.nav-cta-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.nav-cta-btn:hover {
  background: #0d9488 !important;
  border-color: #0d9488 !important;
  color: #ffffff !important;
}

.navbar.scrolled .nav-cta-btn {
  background: #0d9488;
  color: #ffffff !important;
}

.navbar.scrolled .nav-cta-btn:hover {
  background: #0f766e !important;
  border-color: #0f766e !important;
}

/* Nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #ffffff;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-toggle {
  color: #1e293b;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.72) 0%,
    rgba(13, 148, 136, 0.45) 50%,
    rgba(15, 23, 42, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* About */
.about {
  background: #f8fafc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  border: 4px solid #f8fafc;
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -1rem;
  right: 2rem;
  background: #0d9488;
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.35);
}

.about-experience-badge .exp-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.about-experience-badge .exp-label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-text .section-title {
  margin-top: 0.25rem;
}

.about-text p {
  color: #475569;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0d9488;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e2e8f0;
}

/* Amenities */
.amenities {
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.amenity-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.35s ease;
}

.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(13, 148, 136, 0.1);
  border-color: #99f6e4;
}

.amenity-icon {
  width: 56px;
  height: 56px;
  background: #f0fdfa;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}

.amenity-card:hover .amenity-icon {
  background: #ccfbf1;
}

.amenity-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.amenity-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.65;
}

/* Community */
.community {
  background: #f8fafc;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.community-text p {
  color: #475569;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.community-features {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.community-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #334155;
  font-weight: 500;
}

.community-features li svg {
  flex-shrink: 0;
}

.comm-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.comm-img-1, .comm-img-2 {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.comm-img-1 {
  grid-column: 1 / -1;
}

.comm-img-1 img, .comm-img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Location */
.location {
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdfa 100%);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 3.5rem;
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.location-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.08);
}

.location-icon {
  width: 48px;
  height: 48px;
  background: #f0fdfa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0d9488;
  margin-bottom: 0.3rem;
}

.location-card p {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

.location-phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d9488;
  transition: color 0.3s ease;
}

.location-phone:hover {
  color: #0f766e;
}

.location-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.1);
  min-height: 400px;
}

/* CTA */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-content {
  max-width: 560px;
}

.cta-content .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.cta-content .section-title {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-decoration {
  flex-shrink: 0;
  opacity: 0.5;
}

/* Footer */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer-contact p,
.footer-links li {
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.footer-link {
  color: #5eead4;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #2dd4bf;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #5eead4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
}

.reveal[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 16px 16px;
}

.nav-menu.active .nav-link {
  color: #334155;
  padding: 0.75rem 1rem;
  width: 100%;
}

.nav-menu.active .nav-link:hover {
  background: #f0fdfa;
  color: #0d9488;
}

.nav-menu.active .nav-cta-btn {
  background: #0d9488 !important;
  color: #ffffff !important;
  text-align: center;
  margin: 0.5rem 0 0;
}

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .about-grid,
  .community-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-images {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-img-secondary {
    right: 0;
    bottom: -1.5rem;
  }

  .about-experience-badge {
    right: 0;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .comm-img-grid {
    grid-template-columns: 1fr;
  }

  .comm-img-1 {
    grid-column: auto;
  }

  .cta-card {
    flex-direction: column;
    text-align: center;
  }

  .cta-decoration {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal[data-reveal] {
    opacity: 1;
    transform: none;
  }
}
