/* ==========================================================================
   SAVITRY GREENS - SECTIONS & LAYOUT STYLES
   Pure Native CSS - Replaces all Tailwind section & grid utility classes
   ========================================================================== */

/* --------------------------------------------------------------------------
   Responsive Visibility Helpers
   -------------------------------------------------------------------------- */
.hide-on-mobile {
  display: none;
}
@media (min-width: 1024px) {
  .hide-on-mobile {
    display: block;
  }
}

.hide-on-desktop {
  display: block;
}
@media (min-width: 1024px) {
  .hide-on-desktop {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --------------------------------------------------------------------------
   Section Layouts & Backgrounds
   -------------------------------------------------------------------------- */
.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-bg-white {
  background-color: #FFFFFF;
}

.section-bg-warm {
  background-color: #F8F6F2;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

.text-brand-green {
  color: #1e3a2e;
}

/* --------------------------------------------------------------------------
   Reusable Split Section Header
   -------------------------------------------------------------------------- */
.section-header-split {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .section-header-split {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

.section-header-split__title-col {
  flex: 1;
}

@media (min-width: 1024px) {
  .section-header-split__title-col {
    padding-right: 2rem;
  }
}

.section-header-split__divider {
  display: none;
  width: 1px;
  height: 4rem;
  background-color: #D1D5DB;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .section-header-split__divider {
    display: block;
  }
}

.section-header-split__desc-col {
  flex: 1;
}

@media (min-width: 1024px) {
  .section-header-split__desc-col {
    padding-left: 2rem;
  }
}

.section-header-split__desc {
  color: #4B5563;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .section-header-split__desc {
    font-size: 1.125rem;
  }
}

/* --------------------------------------------------------------------------
   1. Global Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.site-header__bar {
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .site-header__bar {
    height: 90px;
  }
}

.site-header__container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-header__logo-img {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .site-header__nav {
    display: flex;
  }
}

.site-header__nav .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #FFFFFF;
  font-size: 1.875rem;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-nav-link {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-family: var(--sg-font-serif);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--sg-color-accent-gold);
}

.mobile-nav-btn {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   2. Hero Section & Stats Bar
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 90px;
  background-size: cover;
  background-position: right bottom;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.30));
}

.hero__container {
  position: relative;
  z-index: 10;
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero__container {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.hero__content {
  max-width: 620px;
  text-align: left;
}

.hero__title {
  color: #FFFFFF;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  font-family: var(--sg-font-serif);
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 68px;
  }
}

.hero__title-accent {
  color: #EAB308;
}

.hero__desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

@media (min-width: 640px) {
  .hero__desc {
    font-size: 1.125rem;
  }
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }
}

.hero__actions .btn-primary,
.hero__actions .btn-outline {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 1rem 2rem;
}

/* Hero Stats Bar */
.hero-stats-bar {
  position: relative;
  z-index: 10;
  width: 100%;
  background-color: rgba(22, 49, 38, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.75rem 0;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  color: #FFFFFF;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

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

@media (min-width: 768px) {
  .hero-stat-card {
    justify-content: flex-start;
  }
}

.hero-stat-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.hero-stat-card__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.hero-stat-card__number {
  font-family: var(--sg-font-serif);
  font-weight: 700;
  font-size: 2.25rem;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .hero-stat-card__number {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-stat-card__number {
    font-size: 60px;
  }
}

.hero-stat-card__number-row {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
}

.hero-stat-card__prefix {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.hero-stat-card__suffix {
  font-family: var(--sg-font-sans);
  font-weight: 300;
  font-size: 1.875rem;
}

@media (min-width: 1024px) {
  .hero-stat-card__suffix {
    font-size: 2.25rem;
  }
}

.hero-stat-card__label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   3. About Savitry Greens
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .about-grid__text-col {
    grid-column: span 6;
  }
  .about-grid__image-col {
    grid-column: span 6;
  }
}

.about-text-content {
  color: #374151;
  font-size: 1rem;
  line-height: 1.625;
  font-weight: 400;
}

.about-text-content p + p {
  margin-top: 1rem;
}

.media-image-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #F3F4F6;
}

.media-image-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.why-choose-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #F3F4F6;
}

.why-choose-heading {
  font-size: 1.875rem;
  font-family: var(--sg-font-serif);
  font-weight: 700;
  color: #111827;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .why-choose-heading {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .why-choose-heading {
    font-size: 44px;
  }
}

/* --------------------------------------------------------------------------
   4. Master Plan Section
   -------------------------------------------------------------------------- */
.master-plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .master-plan-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .master-plan-grid__img-col {
    grid-column: span 7;
  }
  .master-plan-grid__info-col {
    grid-column: span 5;
  }
}

.master-plan-visual {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
}

.master-plan-visual img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  max-height: 520px;
  object-fit: cover;
}

.master-plan-highlights {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.master-plan-highlights__title {
  font-size: 1.5rem;
  font-family: var(--sg-font-serif);
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.master-plan-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.master-plan-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.master-plan-item__badge {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #163126;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 700;
}

.master-plan-item__title {
  display: block;
  color: #111827;
  font-size: 1rem;
  font-family: var(--sg-font-serif);
  font-weight: 700;
}

.master-plan-item__desc {
  font-size: 0.75rem;
  color: #6B7280;
  line-height: 1.625;
  display: block;
  margin-top: 2px;
}

.master-plan-highlights__action {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #F3F4F6;
}

.master-plan-highlights__btn {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   5. Amenities Grid
   -------------------------------------------------------------------------- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .amenities-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* --------------------------------------------------------------------------
   6. Aerial Feature Banner
   -------------------------------------------------------------------------- */
.aerial-banner {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 0;
}

.aerial-banner__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.aerial-banner__container {
  position: relative;
  z-index: 10;
  color: #FFFFFF;
  max-width: 48rem;
}

.aerial-banner__title {
  font-size: 1.875rem;
  font-family: var(--sg-font-serif);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .aerial-banner__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .aerial-banner__title {
    font-size: 3.75rem;
  }
}

.aerial-banner__desc {
  font-size: 1rem;
  color: #E5E7EB;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .aerial-banner__desc {
    font-size: 1.125rem;
  }
}

.aerial-banner__btn {
  background-color: #FFFFFF !important;
  color: #163126 !important;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 1rem 2.25rem !important;
}

.aerial-banner__btn:hover {
  background-color: #F3F4F6 !important;
}

/* --------------------------------------------------------------------------
   7. Location Advantages
   -------------------------------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .location-grid__cards-col {
    grid-column: span 5;
  }
  .location-grid__map-col {
    grid-column: span 7;
  }
}

.connectivity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .connectivity-grid {
    gap: 1.25rem;
  }
}

.location-map-card {
  border-radius: 1rem;
  border: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.location-map-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.location-floating-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #F3F4F6;
  max-width: 20rem;
}

.location-floating-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.location-floating-card__pin {
  color: #163126;
  font-size: 1.25rem;
  margin-top: 2px;
}

.location-floating-card__title {
  font-family: var(--sg-font-serif);
  font-weight: 700;
  font-size: 0.875rem;
  color: #111827;
}

.location-floating-card__address {
  font-size: 11px;
  color: #6B7280;
  margin-top: 2px;
}

.location-floating-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 11px;
  font-weight: 700;
  color: #163126;
  margin-top: 0.5rem;
  text-decoration: none;
}

.location-floating-card__link:hover {
  text-decoration: underline;
}

.location-floating-card__link i {
  font-size: 9px;
}

/* --------------------------------------------------------------------------
   8. Testimonials Desktop Grid
   -------------------------------------------------------------------------- */
.testimonials-desktop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   9. Developer Section
   -------------------------------------------------------------------------- */
.developer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .developer-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .developer-grid__text-col {
    grid-column: span 6;
  }
  .developer-grid__img-col {
    grid-column: span 6;
  }
}

.developer-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #F3F4F6;
}

@media (min-width: 768px) {
  .developer-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   10. Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .contact-grid__img-col {
    grid-column: span 5;
  }
  .contact-grid__form-col {
    grid-column: span 7;
  }
}

.contact-image-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-image-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.contact-form-box {
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .contact-form-box {
    padding: 2.5rem;
  }
}

.contact-form-box__title {
  font-size: 1.875rem;
  font-family: var(--sg-font-serif);
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .contact-form-box__title {
    font-size: 2.25rem;
  }
}

.contact-form-box__desc {
  color: #6B7280;
  font-size: 0.75rem;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form__submit-btn {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 0.875rem 2rem !important;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   11. Global Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  padding-top: 4rem;
  padding-bottom: 2rem;
  color: #374151;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #E5E7EB;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .footer-grid__brand-col {
    grid-column: span 4;
  }
  .footer-grid__nav-col-1 {
    grid-column: span 2;
  }
  .footer-grid__nav-col-2 {
    grid-column: span 2;
  }
  .footer-grid__contact-col {
    grid-column: span 4;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  font-size: 0.75rem;
  color: #303030;
  line-height: 1.625;
  max-width: 24rem;
}

.footer-heading {
  font-family: var(--sg-font-serif);
  font-weight: 700;
  font-size: 0.875rem;
  color: #111827;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid #163126;
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.75rem;
  color: #303030;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.75rem;
  color: #303030;
}

.footer-contact-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-contact-item--center {
  align-items: center;
}

.footer-contact-item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #163126;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #163126;
  flex-shrink: 0;
  stroke-width: 1.5;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: #303030;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}
