/* ================================================
   EMBASSY ALIBAUG — CUSTOM STYLESHEET
   Stack: Tailwind CSS + Custom CSS
   Fonts: Tenor Sans (headings) + Neulis Sans (body)
================================================ */

/* ---------- FONT FACES ---------- */
/* Tenor Sans loaded via Google Fonts in <head> */

/* Neulis Sans — place font files in /fonts/
   Required files: NeulisSans-Light.woff2, NeulisSans-Regular.woff2,
   NeulisSans-Medium.woff2, NeulisSans-SemiBold.woff2 */
@font-face {
  font-family: "Neulis Sans";
  src: url("../fonts/NeulisSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neulis Sans";
  src: url("../fonts/NeulisSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neulis Sans";
  src: url("../fonts/NeulisSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neulis Sans";
  src: url("../fonts/NeulisSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neulis Sans";
  src: url("../fonts/NeulisSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* iOS momentum scrolling */
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: "Neulis Sans", sans-serif;
  color: #1a1a1a;
  overflow-x: hidden;
  width: 100%;
}

/* -----------------------------------------------
   MOBILE: Disable ALL AOS transforms/opacity.
   AOS sets opacity:0 + translate on every section
   at page load — this causes scroll repaint jank.
   On mobile we show everything immediately.
----------------------------------------------- */
@media (max-width: 768px) {
  [data-aos],
  [data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

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

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.tag-label {
  font-family: "Neulis Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #1d1d1d;
  margin-bottom: -6px;
}

.heading {
  font-family: "Tenor Sans", serif;
}

.heading-xl {
  font-family: "Tenor Sans", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.05;
}

.heading-lg {
  font-family: "Tenor Sans", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.08;
}

.body-text {
  font-family: "Neulis Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.95;
  color: #1d1d1d;
}

.italic-caption {
  font-family: "Tenor Sans", serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  color: #777;
  letter-spacing: 0.02em;
}

/* Dividers */
.divider-line {
  width: 60px;
  height: 1px;
  background: #c9be9f;
  margin: 20px auto;
  margin-top: 10px;
}

.divider-short {
  width: 40px;
  height: 1px;
  background: #c9be9f;
  /* margin: 22px 0; */
  margin-bottom: 15px;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  background: url("../images/hero-bg.webp") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: 1;
}

/* ---------- HERO NAVIGATION ---------- */
.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 32px 64px;
}

.nav-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  padding-top: 6px;
}

.nav-link {
  font-family: "Neulis Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

/* Center logo */
.hero-logo {
  text-align: center;
  position: relative;
  z-index: 2;
}

.logo-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

.logo-text {
  display: block;
  font-family: "Tenor Sans", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.logo-tagline {
  font-family: "Neulis Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}

/* Logo image — replaces SVG + text */
.nav-logo-img {
  display: block;
  width: 172px;
  height: auto;
  margin: 0 auto;
}

/* Mobile logo — hidden on desktop */
.hero-mobile-logo {
  display: none;
  position: relative;
  z-index: 5;
  text-align: center;
}

/* Hero bottom tagline */
.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

.hero-bottom-text {
  font-size: clamp(1rem, 2.5vw, 1.75rem);
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- SECTION 2 — INTRO ---------- */
.section-intro {
  background: #d6d1c1;
  padding: 96px 24px;
  text-align: center;
}

.intro-inner {
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- FEATURE SECTIONS (3-6) ---------- */
.feature-section {
  width: 100%;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

/* Image wrapper */
.feature-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.feature-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.feature-img-wrap:hover .feature-img {
  transform: scale(1.03);
}

/* Text panel */
.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
}

.bg-cream {
  background-color: #f5f1eb;
}

.bg-white {
  background-color: #ffffff;
}

/* ---------- GALLERY MOSAIC ---------- */
.gallery-mosaic {
  width: 100%;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 400px 400px;
  gap: 4px;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
}

.mosaic-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.mosaic-item:hover .mosaic-img {
  transform: scale(1.04);
}

/* ---------- FOOTER CTA ---------- */
.footer-cta {
  background-color: #8d8f5a;
  padding: 100px 24px;
  text-align: center;
}

.footer-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.footer-eyebrow {
  font-family: "Neulis Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #1d1d1d;
  margin-bottom: 22px;
}

.footer-heading {
  font-family: "Tenor Sans", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
}

.footer-sub {
  font-family: "Neulis Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #1d1d1d;
  margin-bottom: 44px;
}

/* Enquire button */
.btn-enquire {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #1d1d1d;
  font-family: "Neulis Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 48px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.35s ease,
    border-color 0.35s ease;
  background: transparent;
  border-radius: 30px;
  background-color: #e2dccc;
}

.btn-enquire:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* ---------- ENQUIRE MODAL ---------- */
.enquire-modal {
  background: #fff;
  max-width: 520px;
  width: 90%;
  margin: 0 auto;
  padding: 56px 48px;
  position: relative;
}

/* Close button */
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  opacity: 1;
}

.modal-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.modal-brand {
  font-family: "Tenor Sans", serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.modal-heading {
  font-family: "Tenor Sans", serif;
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.modal-sub {
  font-family: "Neulis Sans", sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #888;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d8d3cb;
  padding: 10px 0;
  font-family: "Neulis Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #1a1a1a;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
  letter-spacing: 0.05em;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #7c8c5e;
}

select {
  width: 100%;
  padding: 10px !important;
  margin: 12px 0px !important;
  background: transparent !important;
  border-bottom: 1px solid #d8d3cb !important;
  color: #c4c4c4 !important;
  font-size: 14px !important;
  font-weight: 300 !important;
}

.checkbox-input {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

input#checkbox {
  width: 10px;
  margin-top: 6px;
}

.btn-submit {
  display: block;
  width: 100%;
  background: #7c8c5e;
  color: #fff;
  border: none;
  font-family: "Neulis Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 24px;
  cursor: pointer;
  margin-top: 28px;
  transition: background 0.35s ease;
}

.btn-submit:hover {
  background: #5c6b42;
}

.form-note {
  font-family: "Neulis Sans", sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #aaa;
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.05em;
}

/* Magnific Popup custom overlay */
.mfp-bg {
  background: #000;
  opacity: 0.75;
}

/* Hide Magnific Popup's built-in close button */
.mfp-close {
  display: none !important;
}

.mfp-wrap .mfp-container {
  padding: 24px;
}

/* Zoom animation for modal (desktop) */
.mfp-zoom-in .mfp-content {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.28s ease;
}

.mfp-zoom-in.mfp-ready .mfp-content {
  opacity: 1;
  transform: scale(1);
}

.mfp-zoom-in.mfp-removing .mfp-content {
  opacity: 0;
  transform: scale(0.95);
}

/* Slide-up animation on mobile */
@media (max-width: 768px) {
  .mfp-zoom-in .mfp-content {
    opacity: 1;
    transform: translateY(60px);
    transition:
      transform 0.35s ease,
      opacity 0.28s ease;
  }

  .mfp-zoom-in.mfp-ready .mfp-content {
    transform: translateY(0);
    opacity: 1;
  }

  .mfp-zoom-in.mfp-removing .mfp-content {
    transform: translateY(60px);
    opacity: 0;
  }
}

/* ---------- MOBILE MENU BUTTON ---------- */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 7;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 12px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  backdrop-filter: blur(4px);
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s ease;
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #1a1a1a;
  z-index: 9;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-nav-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-nav-close {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.7);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  font-weight: 300;
  z-index: 9;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav-links a {
  font-family: "Tenor Sans", serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
  color: #fff;
}

.mobile-enquire-btn {
  font-family: "Neulis Sans", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.28em !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 14px 40px !important;
  margin-top: 12px;
}

/* ---------- STICKY NAV SCROLLED STATE ---------- */
.hero-nav.scrolled {
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(8px);
  transition: background 0.4s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Section in-view state (used by IntersectionObserver) */
.section-in-view {
  opacity: 1;
}

/* ---------- SCROLL ANIMATION — SECTION REVEAL ---------- */
/* AOS handles most, but this adds custom counter animation */
.count-up {
  display: inline-block;
}

/* ================================================
   RESPONSIVE — TABLET & MOBILE
================================================ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .hero-nav {
    padding: 28px 36px;
  }

  .nav-links {
    gap: 28px;
  }

  .feature-text {
    padding: 52px 48px;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  /* Hero nav — hide links, show hamburger */
  .hero-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hero — fix height */
  .hero-section {
    height: 100svh;
    min-height: 560px;
  }

  /* Mobile logo — absolute centered to avoid overflow issues */
  .hero-mobile-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 340px;
    z-index: 5;
  }

  .hero-mobile-logo .logo-tagline {
    letter-spacing: 0.18em;
    font-size: 10px;
  }

  /* Hero bottom tagline — tighter spacing */
  .hero-bottom {
    bottom: 28px;
    left: 16px;
    right: 16px;
  }

  .hero-bottom-text {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
  }

  /* Logo image */
  .nav-logo-img {
    width: 140px;
  }

  /* Intro */
  .section-intro {
    padding: 64px 24px;
  }

  /* Mosaic gallery — tighter rows on mobile */
  .mosaic-grid {
    grid-template-rows: 220px 220px;
    gap: 2px;
  }

  /* Feature grid — stack vertically */
  .feature-grid {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .feature-img-wrap {
    min-height: 300px;
    position: relative;
    height: 300px;
  }

  .feature-img {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  /* Image always on top, text below — on all feature sections */
  .feature-img-wrap {
    order: 1 !important;
  }

  .feature-text {
    order: 2 !important;
  }

  .feature-text {
    padding: 44px 28px;
    min-height: unset;
  }

  /* Footer */
  .footer-cta {
    padding: 72px 24px;
  }

  .footer-heading {
    letter-spacing: 0.12em;
  }

  .footer-sub {
    letter-spacing: 0.18em;
  }

  /* Footer button — prevent overflow */
  .btn-enquire {
    padding: 14px 32px;
    letter-spacing: 0.18em;
  }

  /* Modal — full width on mobile */
  .mfp-wrap .mfp-container {
    padding: 0 !important;
  }

  .mfp-content {
    vertical-align: middle !important;
  }

  .enquire-modal {
    width: 92% !important;
    max-width: 92% !important;
    margin: auto !important;
    padding: 36px 24px 32px !important;
    border-radius: 4px;
    min-height: unset;
  }

  .modal-close-btn {
    top: 16px;
    right: 16px;
  }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .mosaic-grid {
    grid-template-rows: 170px 170px;
  }

  .feature-text {
    padding: 36px 20px;
  }

  .enquire-modal {
    padding: 28px 18px;
  }

  .heading-xl {
    font-size: 2.4rem;
  }

  .heading-lg {
    font-size: 1.9rem;
  }

  .section-intro {
    padding: 52px 20px;
  }

  .hero-mobile-logo .logo-tagline {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .hero-bottom-text {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }
  .divider-short {
    margin-top: 5px;
  }
}
/* ================================================
   SITE FOOTER
================================================ */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: #1a1a1a;
  border-top: 1px solid #2e2e2e;
}

.footer-copy {
  font-size: 0.72rem;
  color: #888;
  letter-spacing: 0.05em;
  margin: 0;
}

.footer-privacy-link {
  font-size: 0.72rem;
  color: #aaa;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-privacy-link:hover {
  color: #fff;
}

/* ================================================
   PRIVACY POLICY MODAL
================================================ */
.privacy-modal {
  background: #fff;
  max-width: 680px;
  width: 90%;
  margin: auto;
  border-radius: 2px;
  position: relative;
}

.privacy-modal-inner {
  padding: 44px 44px 36px;
  max-height: 80vh;
  overflow-y: auto;
}

.privacy-body h4 {
  font-family: "Tenor Sans", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 24px 0 8px;
}

.privacy-body p,
.privacy-body li {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.75;
  margin: 0 0 8px;
}

.privacy-body ul {
  padding-left: 18px;
  margin: 8px 0 12px;
}

.privacy-body li {
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    text-align: center;
  }

  .privacy-modal-inner {
    padding: 32px 20px 28px;
  }
}

/* ================================================
   PRIVACY MODAL — mobile centering fix
   Override the global "vertical-align: bottom" rule
   that slides all modals to the bottom on mobile
================================================ */
@media (max-width: 600px) {
  .mfp-privacy.mfp-wrap .mfp-content {
    vertical-align: middle !important;
  }

  .mfp-privacy .privacy-modal {
    width: 92% !important;
    max-width: 92% !important;
    margin: auto !important;
    border-radius: 4px;
  }
}
