html,
body {
  overflow-x: hidden;
  width: 100%;
  font-family: "Marcellus", serif;
}
@media (pointer: fine) {
  html {
    cursor:
      url("assets/images/cursor.png") 4 4,
      auto;
  }
}

* {
  -webkit-tap-highlight-color: transparent;
}

img {
  content-visibility: auto;
  contain-intrinsic-size: 300px 200px;
}

@font-face {
  font-family: "Adelia";
  src: url("assets/fonts/adelia.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.animated-word {
  font-family: "Adelia", cursive;
  font-size: 2.25rem; /* slightly larger */
  display: inline-block;
  transform: translateY(2px); /* aligns baseline nicely */
  color: #8b2624;
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============== NAVBAR =============== */
.navbar {
  padding: 0.5rem 1rem;
  background: transparent !important;
  box-shadow: none !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar .navbar-nav .nav-link {
  padding: 15px;
  color: #fff !important;
  font-family: "marcellus";
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease-in-out;
}

.navbar .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  height: 2px;
  width: 0;
  background-color: #fff;
  transition: width 0.3s;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Toggler */
.navbar-toggler {
  border: 2px solid rgba(141, 11, 65, 0.4);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  position: relative;
  background: radial-gradient(circle at center, #fffdf8 30%, #e6e2da 100%);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.6),
    0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

.navbar-toggler-icon {
  position: relative;
  display: block;
  width: 26px;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(90deg, #8d0b41, #c8a35f);
  border-radius: 3px;
  transition: all 0.4s ease-in-out;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, #8d0b41, #c8a35f);
  border-radius: 3px;
  transition: all 0.4s ease-in-out;
}

.navbar-toggler-icon::before {
  top: -8px;
}
.navbar-toggler-icon::after {
  top: 8px;
}

.navbar.sticky-nav {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.45) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.35s ease-in-out;
  padding: 6px 1rem !important;
}

/* Mobile nav */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
  }
  .navbar-nav {
    margin-top: 1rem;
  }
  .navbar .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* =========================
   HERO SLIDER
========================= */

.lux-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.lux-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.lux-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lux-slide {
  position: absolute;
  display: block !important;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.9s ease;
  will-change: opacity;
}

.lux-slide.active {
  opacity: 1;
}

/* =========================
   ARROWS (DESKTOP)
========================= */

.lux-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px 22px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 1.3rem;
  z-index: 10;
}

.lux-arrow.left {
  left: 20px;
}
.lux-arrow.right {
  right: 20px;
}

/* =========================
   PAGINATION DOTS
========================= */

.lux-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.lux-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.lux-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 992px) {
  .lux-slider {
    height: 100vh !important;
    min-height: 100vh !important;
  }

  .lux-arrow {
    display: none;
  }
}

/* =============== A PIECE OF ROME REIMAGINED =============== */

.sustain-full-section {
  position: relative;
  width: 100%;

  padding: 110px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* BLUR + LIGHT OVERLAY (keeps text readable) */
.sustain-full-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* TEXT CONTENT */
.sustain-left-content {
  max-width: 750px;
  padding: 0 50px;
  margin-left: 5%;
  position: relative;
  z-index: 5;
}

.sustain-heading {
  font-size: 45px;
  font-family: "marcellus";
  font-weight: 600;
  margin-bottom: 20px;
  color: #84241f;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.sustain-subheading {
  font-family: "Marcellus";
  font-size: 18px;
  font-weight: 500;
  text-align: justify;
  color: #4b2223;
  line-height: 1.7;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* REMOVE THE OLD RIGHT PILLAR DIV */
.sustain-pillar-visual {
  display: none;
}

/* === Animated Word Fix === */

.animated-word-wrap {
  display: inline-block;
  min-width: 2ch; /* reserves space for longest word */
}

.animated-word {
  display: inline-block;
  white-space: nowrap;
  line-height: 2.3;
  font-size: 35px;
}

/* Optional luxury cursor */
.animated-word::after {
  margin-left: 6px;
  opacity: 0.6;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 0;
  }
  25%,
  75% {
    opacity: 1;
  }
}

/* Safety for script fonts */
.sustain-heading {
  overflow: hidden;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 988px) {
  .sustain-full-section {
    padding: 20px 0px 20px 0;
    background-size: 140%;
    background-position: 0% center;
  }

  .sustain-full-section::before {
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.06);
  }

  .sustain-left-content {
    padding: 0 20px;
    margin-left: 0;
    text-align: center;
  }

  .sustain-heading {
    font-size: 2.56rem;
    font-weight: 600;
    color: #84241f;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  }
  .animated-word {
    font-size: 2.2rem;
  }

  .sustain-heading .animated-word {
    padding: 0px 90px 10px 0;
  }

  .sustain-subheading {
    padding-right: 60px;
    font-size: 15px;
    font-weight: 500;
    color: #f8f4e8;
    text-shadow: none;
  }
}

/* =============== STEP INTO REFLECTION =============== */
.reflection-section {
  position: relative;
  width: 100vw;
  min-height: unset;
  padding: 120px 0; /* gives breathing room */
}

.reflection-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; /* 👈 SHOW FULL IMAGE */
  background-color: #000; /* fallback for empty space */
  z-index: 1;
}

.ref-desc {
  display: block;
}

.ref-desc-mob {
  display: none;
}

.reflection-content {
  position: relative;
  z-index: 5;
  max-width: 58%;
  margin-left: auto;
  padding: 80px 80px 64px 80px;
  color: #fff;
  font-family: "Marcellus", serif;
}

.ref-title {
  font-size: 2.56rem;
  font-family: "marcellus";
  color: #f3e9d2;
}

.ref-title span {
  padding-left: 0.7rem;
  font-size: 2.4rem;
  font-weight: 900;
  color: #f3e9d2;
}

.ref-desc {
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.2rem;

  /* Glass look (unchanged style, refined sizing) */
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;

  /* 🔑 KEY FIXES */
  padding: 28px 26px;
  margin-top: 34px;
  max-width: 880px; /* ⬅ prevents over-stretching */
}
.ref-grid:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.ref-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ref-icon {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f5ddb4, #d0a86a 75%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.ref-icon i {
  font-size: 30px;
  color: #000;
}

.ref-item p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* ===========================
   MOBILE SECTION
=========================== */
@media (min-width: 768px) {
  .ref-item p {
    color: #000;
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  /* Fix text layout */
  .reflection-section {
    padding-top: 90px !important;
  }
  .reflection-content {
    max-width: 100vw;

    max-height: 900px;
    align-items: flex-start;
    text-align: center;

    padding-top: 0; /* ⬅️ key fix */
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-bottom: 2rem;

    margin-top: 0; /* safety */
  }

  .reflection-bg {
    background-position: 35% !important;
    background-size: cover;
  }

  .ref-grid {
    display: none !important;
  }

  .ref-title {
    font-size: 2.2rem;
  }

  .ref-desc {
    display: none;
    line-height: 1.7;
  }

  .ref-desc-mob {
    display: block;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.7;
  }

  /* MOBILE SLIDER WRAPPER */
  .ref-mob {
    display: block;
    width: 100%;
    position: relative;
    margin-top: 30px;
    padding-bottom: 60px; /* IMPORTANT: prevents collapsing */
    overflow: visible;
  }

  /* The slider track */
  .ref-track {
    display: flex;
    width: 200%;
    transition: transform 0.45s ease;
  }

  /* INDIVIDUAL SLIDES */
  .ref-slide {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 55px;

    width: 50%;
    gap: 6px;
    position: relative;
  }

  /* ICON + TEXT ALIGNMENT */
  .ref-item {
    width: 50%;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: right;
  }

  .ref-item p {
    margin-top: 4px;
    text-align: center;
  }

  .ref-item p {
    color: #efe2c2; /* slightly deeper ivory */

    /* Strong readable contrast without looking harsh */
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.85),
      0 4px 12px rgba(0, 0, 0, 0.55);

    /* KEY FIX — sharpens text on bright areas */
    -webkit-text-stroke: 0.35px rgba(0, 0, 0, 0.35);
    text-stroke: 0.35px rgba(0, 0, 0, 0.35);
  }

  /* BOTTOM CONTROLS GROUP */
  .ref-controls {
    position: absolute;
    bottom: 15px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 50;
  }

  .ref-slide-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f5ddb4, #d0a86a 75%);
    box-shadow:
      0 4px 10px rgba(0, 0, 0, 0.3),
      inset 0 3px 6px rgba(255, 255, 255, 0.55),
      inset 0 -4px 10px rgba(0, 0, 0, 0.25);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    border: none !important;
  }

  .ref-slide-btn i {
    color: black;
    font-size: 22px;
  }

  .ref-slide-btn:active {
    transform: scale(0.92);
  }

  /* DOTS */
  .ref-dots {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .ref-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: 0.3s ease;
    border: none !important;
  }

  .ref-dot.active {
    width: 20px;
    height: 8px;
    border-radius: 10px;
    background: #d0a86a;
    box-shadow: 0 0 6px rgba(208, 168, 106, 0.8);
  }
}

@media (min-width: 769px) {
  .ref-mob {
    display: none !important;
  }
}

/* =============== PROJECT SHOWCASE =============== */
.ps-section {
  height: 100%;
  min-height: 750px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 70px 0 120px;
  overflow: hidden;
  background: url("assets/images/gallery-images/gallery6.webp") center / cover
    no-repeat;
}

.ps-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(20, 20, 20, 0.25);
  backdrop-filter: blur(10px);
}

.ps-container {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 10px 0 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ps-left {
  width: 40%;
  min-width: 280px;
  color: #f5f5dc;
}

.ps-title {
  font-family: "marcellus";
  font-size: 3rem;
  color: #f5f5dc;
  margin-bottom: 20px;
}

.ps-card-title {
  white-space: normal; /* allow wrapping */
  overflow-wrap: break-word; /* modern browsers */
  word-wrap: break-word; /* legacy support */
  word-break: normal; /* DO NOT force breaking letters */
}

.ps-landmark {
  font-size: 2.4rem;
  color: #e9d490;
  padding: 1rem;
}

.ps-desc {
  width: 90%;
  font-family: "Marcellus";
  line-height: 1.5;
  font-size: 1.15rem;
  margin-bottom: 25px;
  text-align: justify;
}

.ps-btn {
  padding: 14px 34px;
  display: inline-block;
  background: linear-gradient(135deg, #fff, #c9a43e);
  border-radius: 35px;
  color: #5a1d0f;
  font-size: 1rem;
  font-family: "marcellus";
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.ps-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #c9a43e, #fff);
  color: #5a1d0f;
}

/* Mobile */
@media (max-width: 768px) {
  .ps-btn {
    bottom: 20px;
    right: 10px;
    border-radius: 30px;
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* MODAL OVERLAY */
.quote-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
}

.quote-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* MODAL BOX */
.modal-box {
  background: rgba(106, 0, 0, 0.85);
  backdrop-filter: blur(18px);
  width: 90%;
  max-width: 520px;
  padding: 40px 35px;
  border-radius: 24px;
  border: 1px solid rgba(255, 215, 150, 0.35);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  animation: scaleUp 0.45s ease;
  text-align: center;
}

/* GOLD GLOW BORDER */
.modal-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, #442222, transparent 30%);
  opacity: 0.4;
  pointer-events: none;
}

/* CLOSE */
.close-modal {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 26px;
  color: #e9d490;
  cursor: pointer;
}

/* TITLE */
.modal-box h2 {
  font-family: "marcellus";
  color: #e9d490;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

/* SUB TEXT */
.modal-box p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 25px;
}

/* FORM */
.modal-box input {
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #fff;
  outline: none;
  font-family: "marcellus";
}

.modal-box input::placeholder {
  color: #bbb;
}

.modal-box input:focus {
  border-color: #c9a43e;
  box-shadow: 0 0 0 2px rgba(201, 164, 62, 0.25);
}

/* SELECT GROUP */

.select-group {
  position: relative;
  flex: 1;
}

.select-group select {
  width: 100%;
  height: 52px;
  padding: 14px 40px 14px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  font-size: 14px;
  color: #fff;
  font-family: "marcellus";
  appearance: none;
  outline: none;
  cursor: pointer;
}

.select-group select option[value=""] {
  color: #aaa;
}

/* arrow */
.select-group::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #e9d490;
  pointer-events: none;
  font-size: 20px;
}

/* LABEL */
.select-group label {
  position: absolute;
  left: 14px;
  top: -10px;
  background: rgba(20, 20, 20, 0.9);
  padding: 2px 8px;
  font-size: 12px;
  color: #e9d490;
  border-radius: 6px;
}

/* focus */
.select-group select:focus {
  border-color: #c9a43e;
  box-shadow: 0 0 0 2px rgba(201, 164, 62, 0.25);
}

/* dropdown options */
.select-group option {
  background: #111;
  color: #fff;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-row input {
  flex: 1;
}

/* BUTTON */
.modal-btn {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 30px;
  font-family: "marcellus";
  font-weight: 600;
  cursor: pointer;
  color: #5a1d0f;
  background: linear-gradient(135deg, #fff, #c9a43e);
  transition: 0.35s ease;
}

.modal-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #c9a43e, #fff);
}

/* MOBILE */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* ANIMATION */
@keyframes scaleUp {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Right slider */
.ps-right {
  width: 60%;
  overflow: hidden;
  position: relative;
}

.ps-track {
  display: flex;
  transition: transform 0.45s ease;
  white-space: nowrap;
  margin: 10px;
}

.ps-card {
  width: 300px;
  min-width: 300px;
  min-height: 350px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  margin-right: 24px;
  color: #f0ead6;
  padding-bottom: 20px;
  overflow: hidden;
  flex-shrink: 0;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
  will-change: transform;
}

.ps-card img {
  width: 100%;
  height: 250px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
  will-change: transform;
}
.ps-card:hover {
  transform: scale(1); /* subtle card zoom */
  box-shadow: 0 28px 40px rgba(0, 0, 0, 0.293);
}

.ps-card:hover img {
  transform: scale(1.12); /* stronger image magnification */
}
.ps-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 215, 150, 0.12),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.ps-card:hover::after {
  opacity: 1;
}

.ps-card-title {
  font-family: "marcellus";
  font-size: 1.3rem;
  margin: 15px 20px 10px 20px;
  color: #f5f5dc;
  text-align: center;
}

.ps-card-desc {
  font-size: 1rem;
  line-height: 1.45;
  font-family: "Marcellus";
  margin: 0 20px;
  white-space: normal !important;
  text-align: justify;
}

/* Controls */
.ps-controls {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 20px;
}

.ps-nav {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #fff, #c9a43e);
  color: #5a1d0f;
  font-size: 1.4rem;
  cursor: pointer;
}
.ps-nav:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #c9a43e, #fff);
  color: #5a1d0f;
}

.ps-count {
  font-size: 2rem;
  margin-left: auto;
  font-family: "marcellus";
  color: #fff;
}

/* Project responsive */
@media (max-width: 992px) {
  .ps-container {
    flex-direction: column;
    padding: 0 30px;
    align-items: center;
    text-align: center;
  }
  .ps-left {
    width: 100%;
  }
  .ps-desc {
    width: 100%;
    margin: 0 auto 25px;
  }
  .ps-right {
    width: 100%;
    padding-left: 20px;
    margin-top: 40px;
  }
  .ps-card {
    width: 260px;
    min-width: 260px;
  }
}
@media (max-width: 600px) {
  .ps-section {
    padding: 40px 0 100px;
  }
  .ps-container {
    padding: 0 18px;
  }
  .ps-title {
    font-size: 2.2rem;
  }
  .ps-desc {
    font-size: 1rem;
  }
  .ps-card {
    width: 240px;
    min-width: 240px;
    margin-right: 18px;
  }
  .ps-card-title {
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .ps-controls {
    justify-content: center;
  }
}
@media (hover: none) {
  .ps-card:hover {
    transform: none;
    box-shadow: none;
  }

  .ps-card:hover img {
    transform: none;
  }
}

/* ================================
   IGBC SECTION
================================ */

/* ================================
   IGBC SECTION BASE
================================ */

.igbc-theme {
  position: relative;
  padding: 120px 0;
  background: url("assets/images/sustain.webp") center / cover no-repeat;
  overflow: hidden;
}

.igbc-theme::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(20, 45, 28, 0.78) 0%,
      rgba(20, 45, 28, 0.55) 35%,
      rgba(20, 45, 28, 0.25) 60%,
      rgba(20, 45, 28, 0.05) 100%
    ),
    radial-gradient(circle, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.35));
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* ================================
   LAYOUT
================================ */

.igbc-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 70px;
}

/* ================================
   LEFT CONTENT
================================ */

.igbc-left {
  width: 55%;
}

.igbc-title {
  font-family: "Marcellus";
  font-size: 2.56rem;
  letter-spacing: 2px;
  color: #e8f5e9;
  margin-bottom: 10px;
}

.igbc-subtitle {
  font-family: "Marcellus";
  font-size: 1.2rem;
  color: #f1e6c8;
  margin-bottom: 25px;
}

.igbc-desc {
  font-family: "Marcellus";
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f7f7f7;
  margin-bottom: 30px;
  text-align: justify;
}

.igbc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: "Marcellus";
  font-size: 1.05rem;
  color: #f7f7f7;
}

.igbc-item i {
  color: #c9c56a;
  font-size: 1.3rem;
}

/* ================================
   IGBC BADGE (NO CONTAINER)
================================ */

.igbc-badge-wrap {
  width: 45%;
  display: flex;
  justify-content: center;
}

.igbc-badge {
  /* background: rgba(255, 255, 255, 0.066); */
  /* backdrop-filter: blur(6px); */
  padding: 16px 18px;
  border-radius: 18px;
  text-align: center;
  /* box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); */
}

.igbc-badge img {
  width: 420px;
  display: block;
}

.igbc-badge p {
  margin-top: 8px;
  font-family: "Marcellus";
  font-size: 0.95rem;
  color: #fff;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .igbc-container {
    flex-direction: column;
    padding: 0 25px;
  }

  .igbc-left,
  .igbc-badge-wrap {
    width: 100%;
    text-align: center;
  }

  .igbc-badge-wrap {
    justify-content: center;
    margin-top: 30px;
  }

  .igbc-item {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .igbc-theme {
    padding: 80px 0;
  }

  .igbc-badge {
    padding: 4px 6px;
  }

  .igbc-badge img {
    width: 320px;
  }

  .igbc-badge p {
    font-size: 0.85rem;
  }
}

/* IGBC Section End */

/* =============== AMENITIES SECTION =============== */

.luxury-gallery-section {
  background-color: #84241f;
  padding: 90px 0 70px;
  overflow: hidden;
  font-family: "Marcellus", serif;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: "marcellus";
  font-size: 2.56rem;
  color: #f5f5dc;
}

.section-title .subtitle {
  font-size: 1.1rem;
  color: #f5f5dc;
  opacity: 0.9;
}

/* Outer spacing */
.amenities-outer {
  padding: 0 60px;
}

.so-indulgences {
  font-size: 2.4rem;
  color: #f5f5dc;
  padding: 1rem;
}

/* Strip */
.amenities-strip {
  display: flex;
  gap: 22px;
  height: 72vh;
}

/* Card */
.amenity-card {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  transition: flex 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Image */
.amenity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.03);
  transition:
    transform 0.6s ease,
    opacity 0.4s ease;
}

/* Overlay */
.amenity-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Text */
.amenity-text {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  color: #fff;
  width: 80%;
}

.amenity-text h3 {
  font-family: "marcellus";
  font-size: 1.45rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
  color: #e9e5dc;
}

.amenity-text p {
  font-size: 0.95rem;
  font-style: italic;
  color: #e9e5dc;
}

/* Gold underline */
.amenity-line {
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto 10px;
  background: linear-gradient(90deg, #c8a35f, #f5dda5);
}

/* Hover expand */
.amenities-strip:hover .amenity-card {
  flex: 1;
}

.amenities-strip .amenity-card:hover {
  flex: 6; /* ~60% */
}

.amenity-card:hover img {
  opacity: 1;
  transform: scale(1.02);
}

.amenities-strip:hover .amenity-card:not(:hover) img {
  filter: grayscale(100%) brightness(0.4);
}

/* ===== TEXT READABILITY FIX ON HOVER ===== */

/* strengthen overlay only on hovered card */
.amenity-card:hover .amenity-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.35) 22%,
    rgba(0, 0, 0, 0.15) 55%,
    rgba(0, 0, 0, 0.4) 80%
  );
}

/* Heading color on hover */
.amenity-card:hover .amenity-text h3 {
  color: #fdfaf2; /* soft ivory */
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

/* Sub text on hover */
.amenity-card:hover .amenity-text p {
  color: #f3ddb0; /* warm champagne gold */
  opacity: 1;
}

/* Gold line brighter on hover */
.amenity-card:hover .amenity-line {
  background: linear-gradient(90deg, #d6b46a, #f7e7b4);
}

/* Slight lift for elegance */
.amenity-card:hover .amenity-text {
  transform: translateX(-50%) translateY(-6px);
  transition: transform 0.6s ease;
}

.amenities-strip {
  contain: layout paint;
}

.amenity-card {
  contain: paint;
}

@media (min-width: 1200px) {
  .amenities-strip {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .amenities-outer {
    padding: 0 20px;
  }

  .amenity-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

/* Center only the first amenity card's text on small screens */
@media (max-width: 768px) {
  .luxury-gallery-section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }
  .section-title .subtitle {
    font-size: 1rem;
  }

  .amenities-outer {
    padding: 0 16px;
  }

  .amenities-strip {
    flex-direction: column;
    height: auto;
    gap: 18px;
  }

  .amenity-card {
    flex: none;
    height: 260px;
    border-radius: 22px;
  }

  .amenities-strip:hover .amenity-card,
  .amenities-strip .amenity-card:hover {
    flex: none;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .amenities-strip {
    flex-direction: row;
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 10px;
  }

  .amenity-card {
    flex: 0 0 70%;
    scroll-snap-align: center;
    border-radius: 22px;
  }

  /* Disable hover expansion */
  .amenities-strip:hover .amenity-card,
  .amenities-strip .amenity-card:hover {
    flex: 0 0 70%;
  }

  .amenity-card img {
    opacity: 0.9;
  }
}

/* =============== VIDEO SECTION =============== */
.video-showcase {
  padding: 80px 0;
  background-color: #f5f5dc;
  text-align: center;
}

.video-showcase h2 {
  font-family: "Marcellus";
  font-size: 2.56rem;
  color: #84241f;
  margin-bottom: 10px;
}

.video-showcase p {
  font-family: "Marcellus";
  font-size: 1.2rem;
  color: #84241f;
  margin-bottom: 40px;
}

.wv-experience {
  font-size: 2.4rem;
}

.vs-wrapper {
  width: 70%;
  margin: auto;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.vs-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Overlay play/pause button */
.vs-control {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: rgba(75, 34, 35, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f5dc;
  font-size: 32px;
  cursor: pointer;
  z-index: 5;

  /* IMPORTANT */
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Hidden state */
.vs-control.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Show ONLY on hover when paused */
.vs-wrapper:hover .vs-control:not(.hidden) {
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .vs-wrapper {
    width: 90%;
    box-shadow: none;
  }
  .video-showcase h2 {
    font-size: 2.2rem;
  }
}

/* =============== GALLERY =============== */
:root {
  --accent: #84241f;
  --deep: #84241f;
  --bg: #f5f5dc;
}

.gallery-masonry {
  padding: 80px 20px;
  background-image: url("assets/images/right.png");
  background-size: cover;
  background-position: center;
}

.container {
  font-family: "Marcellus", serif;
  max-width: 1300px;
  margin: 0 auto;
}

.page-title {
  text-align: center;
  font-family: "Marcellus";
  font-size: 36px;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 60px;
}

.page-title::after {
  content: "";
  width: 90px;
  height: 3px;
  background: var(--accent);
  display: block;
  margin: 10px auto 0;
}

/* masonry grid */
.masonry-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 250px;
  grid-gap: 20px;
}

.masonry-grid.fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.masonry-grid.fade.show {
  display: grid;
  opacity: 1;
}
.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(75, 34, 35, 0.15);
  background: #fff;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  contain: paint;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
  contain-intrinsic-size: 300px 250px;
}

.masonry-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(132, 36, 31, 0.25);
}

.masonry-item:hover img {
  transform: scale(1.03);
}

.masonry-item.wide {
  grid-column: span 2;
}
.masonry-item.tall {
  grid-row: span 2;
}

/* gallery toggle */
.gallery-toggle {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.gallery-toggle button {
  padding: 10px 25px;
  border: none;
  background: #84241f;
  color: #f5f5dc;
  font-family: "Marcellus";
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.gallery-toggle button.active {
  background: #84241f;
  color: #fff;
  transform: translateY(-2px);
}

.fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.fade.show {
  opacity: 1;
}

@media (max-width: 480px) {
  .masonry-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
}
@media (hover: none) {
  .masonry-item:hover {
    transform: none;
    box-shadow: none;
  }

  .masonry-item:hover img {
    transform: none;
  }
}
@media (max-width: 768px) {
  /* Reset masonry behavior on mobile */
  .masonry-item.wide,
  .masonry-item.tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .masonry-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .full-mobile {
    grid-column: 1 / -1; /* span full width */
  }
}

/* =============== SINGLE IMAGE STICKY =============== */
.roman-sticky-section {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.roman-sticky-bg {
  position: sticky;
  top: 0;
  width: 100%;
  height: 400px;
  background: url("assets/images/swiming-pool.webp") center center / cover
    no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.roman-sticky-bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.roman-bg-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
}

.roman-bg-title {
  font-family: "Marcellus";
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #f5f5dc;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .roman-sticky-section,
  .roman-sticky-bg {
    height: 300px;
  }
  .roman-sticky-bg {
    background-image: url("assets/images/Infinity-pool.webp");
    background-attachment: scroll;
  }
  .roman-bg-title {
    font-size: 2rem;
  }
}

/* =============== LOCATION =============== */
.location-section {
  background-image: url("assets/images/right.png");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: #84241f;
}

.location-wrapper {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  flex-wrap: wrap;
}

.map-box {
  position: relative;
  width: 550px;
  height: 450px;
}

.map-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  cursor: pointer;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.map-link img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.location-content {
  max-width: 450px;
}

.loc-heading {
  font-family: "Marcellus";
  font-size: 2.6rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #84241f;
}

.loc-subtext {
  font-family: "Marcellus";
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.loc-points li {
  font-family: "Marcellus";
  margin: 10px 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* LARGE SCREENS */
@media (max-width: 1200px) {
  .location-wrapper {
    gap: 40px;
  }

  .map-box {
    width: 500px;
    height: 420px;
  }

  .loc-heading {
    font-size: 2.2rem;
  }
}

/* TABLET */
@media (max-width: 992px) {
  .location-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .map-box {
    width: 100%;
    max-width: 600px;
    height: auto;
  }

  .location-section {
    padding: 60px 20px;
  }

  .location-content {
    max-width: 600px;
  }

  .loc-heading {
    font-size: 2rem;
  }

  .loc-subtext {
    font-size: 1rem;
    text-align: center;
  }

  .loc-points {
    text-align: left;
    margin-top: 10px;
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .location-section {
    padding: 50px 16px;
  }

  .map-box {
    border-radius: 12px;
  }

  .loc-heading {
    font-size: 1.6rem;
  }

  .loc-subtext {
    font-size: 0.95rem;
  }

  .loc-points li {
    font-size: 0.95rem;
  }
}

/* =============== MITTAL STRIP =============== */
.footer-brand-section {
  background-image: url("assets/images/right.png");
  background-size: cover;
  background-position: center;
  padding: 90px 0 70px 0; /* ⬅️ increased */
  margin-top: -40px;
  position: relative;
}

/* Soft divider */
.footer-brand-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(70, 58, 2, 0.1), transparent);
}
/* Match Atlantis vertical baseline */
.footer-brand-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* LOGO */
.footer-logo-box {
  display: flex;
  align-items: flex-start;
}

.mittal-logo {
  max-height: 160px; /* visually matches Atlantis logo */
  width: auto;
  filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.15));
}

/* TEXT */
.footer-brand-content {
  padding-top: 12px; /* 🔑 baseline alignment */
  text-align: justify;
}

.footer-brand-content h3 {
  font-family: "Marcellus";
  font-size: 2.4rem;
  color: #4b2223;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-brand-content p {
  font-family: "Marcellus";
  font-size: 1rem;
  line-height: 1.6;
  color: #4b2223;
  opacity: 0.85;
  max-width: auto;
}

.mittal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  max-width: 150px;
  height: 40px;
  padding: 0 24px;

  background: linear-gradient(125deg, #84241f, #c9a43e);
  border: none;
  border-radius: 30px;

  color: #fff;
  text-decoration: none;
  font-family: "Marcellus";
  font-size: 0.95rem;
  letter-spacing: 0.5px;

  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Hover */
.mittal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #fff, #c9a43e);
  color: #84241f;
}

/* MOBILE (unchanged behavior, cleaner) */
/* TABLET */
@media (max-width: 1024px) {
  .footer-brand-section {
    padding: 70px 0 60px 0;
  }

  .mittal-logo {
    max-height: 120px;
  }

  .footer-brand-content h3 {
    font-size: 1.8rem;
  }

  .footer-brand-content p {
    font-size: 0.95rem;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-brand-section {
    padding: 60px 20px 50px 20px;
  }

  .footer-brand-row {
    flex-direction: column;
    gap: 16px;
  }

  .footer-logo-box {
    justify-content: center;
  }

  .mittal-logo {
    max-height: 100px;
  }

  .footer-brand-content {
    text-align: center;
    padding-top: 0;
  }

  .footer-brand-content h3 {
    display: none; /* clean mobile look */
  }

  .footer-brand-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .mittal-btn {
    width: auto;
    max-width: none;
    padding: 0 26px;
    height: 42px;
    font-size: 0.9rem;
    margin-top: 18px;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .footer-brand-section {
    padding: 50px 16px 40px 16px;
  }

  .mittal-logo {
    max-height: 85px;
  }

  .footer-brand-content p {
    font-size: 0.85rem;
  }

  .mittal-btn {
    height: 40px;
    font-size: 0.85rem;
  }
}

/* CONTACT SECTION */

.contact-section {
  padding: 90px 0;
  background: url("assets/images/footer-img.jpg") center/cover no-repeat;
  position: relative;
  color: #fff;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
}

.contact-container {
  position: relative;
  z-index: 2;
}

.contact-heading {
  font-family: "Marcellus";
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #f9e7bd;
}

.cs-luxury {
  font-size: 2.6rem;
  color: #f9e7bd;
}

.contact-row {
  align-items: center; /* ✅ THIS centers left & right */
}

.contact-info h2 {
  margin-bottom: 25px;
}

.contact-info p {
  margin-bottom: 18px;
}

/* FORM BOX */
.luxury-form-box {
  width: 100%;
  max-width: 520px;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.45);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lux-group {
  position: relative;
  margin-bottom: 2rem;
}

.lux-group input,
.lux-group select {
  width: 100%;
  padding: 1rem 1.1rem;
  background: rgba(132, 36, 31, 0.45);
  border: 1px solid rgba(255, 215, 0, 0.6);
  color: #fff;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s ease;
}

.lux-group label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  transition: 0.3s ease;
  color: rgba(255, 255, 255, 0.85);
}

/* FLOAT LABEL */
.lux-group input:focus + label,
.lux-group input:not(:placeholder-shown) + label,
.lux-group select:focus + label,
.lux-group select:not([value=""]) + label {
  top: -0.6rem;
  font-size: 1rem;
  /* background: #84241f; */
  padding: 6px;
  border-radius: 5px;
}

.lux-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #fff, #c9a43e);
  border: none;
  border-radius: 14px;
  color: #84241f;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.lux-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #c9a43e, #fff);
}

/* INFO SIDE */
.info-side {
  padding-left: 50px;
}

.info-title {
  font-size: 2.2rem;
  font-family: "Marcellus";
  margin-bottom: 1.5rem;
  color: #f9e7bd;
}

.info-content {
  margin: 0 20px;
}

.info-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #f0ead6;
  text-align: start;
}

.social-links a {
  font-size: 2.6rem;
  color: #f9e7bd;
  margin-right: 20px;
  transition: 0.3s;
}

.social-links a:hover {
  transform: scale(1.2);
}

/* RESPONSIVE FIXES */
@media (max-width: 992px) {
  .info-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #f0ead6;
    text-align: center;
  }
  .info-side {
    margin-top: 50px;
    padding-left: 0;
    text-align: center;
  }
}

/* =============== MAIN FOOTER =============== */
.roman-footer {
  background: url("assets/images/footer-img.jpg") center/cover no-repeat;
  color: #f5f5dc;
  font-family: "Playfair Display", serif;
  position: relative;
  overflow: hidden;
}

.roman-footer::before {
  content: "";
  position: absolute;
  inset: 0;

  /* TOP BLEND ONLY */
  background: linear-gradient(
    to bottom,
    rgba(88, 8, 8, 0.9) 0%,
    rgba(88, 8, 8, 0.6) 18%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.45) 100%
  );

  z-index: 1;
  pointer-events: none;
}

.roman-footer > * {
  position: relative;
  z-index: 2;
}

.footer-logo {
  max-width: 160px; /* ⬅️ perfect for footer */
  height: auto;
  filter: brightness(1.2);
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #f0ead6;
  text-align: justify;
}
.footer-left {
  display: flex;
  align-items: center;
}

.footer-right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
/* 
.footer-links {
  text-align: center;
} */
.footer-links a {
  color: #f5f5dc;
  text-decoration: none;
  font-weight: 500;
  margin: 0 5px;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.footer-text-col {
  padding-left: 0px;
}

.footer-right {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center; /* ✅ vertical centering */
  height: 100%;
}

.rera-wrap {
  gap: 14px;
  display: flex;
}
.rera-logo {
  width: 90px;
  border: 2px solid #f5f5dc;
  padding: 6px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

.rera-qr {
  width: 90px;
  border: 2px solid #f5f5dc;
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
  background: url("assets/images/footer-img.jpg") center/cover no-repeat;
  border-top: 1px solid rgba(245, 245, 220, 0.2);
  font-size: 0.85rem;
  color: #f5f5dc;
  letter-spacing: 0.5px;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  inset: 0;

  /* TOP BLEND ONLY */
  background: linear-gradient(
    to bottom,
    rgba(88, 8, 8, 0.9) 0%,
    rgba(88, 8, 8, 0.6) 18%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.45) 100%
  );

  z-index: 1;
  pointer-events: none;
}
.footer-bottom > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .footer-text {
    text-align: justify;
    line-height: 1.7;
    max-width: 92%;
    margin: 0 auto 20px auto;
  }
  .footer-logo {
    margin-bottom: 1rem;
  }
  .footer-text-col {
    padding-left: 0;
  }
  .footer-right {
    margin-top: 1rem;
  }
  .footer-links {
    text-align: center; /* center links */
    display: flex;
    justify-content: center; /* true horizontal centering */
    gap: 8px;
    margin-top: 16px;
  }

  .footer-links a {
    margin: 0; /* remove inherited spacing */
  }
  .footer-text strong {
    font-weight: 600;
  }
}

/* =============== 360 & WHATSAPP BUTTONS =============== */
.view360-wrapper {
  position: fixed;
  bottom: 30px;
  left: 26px;
  width: 120px;
  height: 120px;
  z-index: 9999;
}

.view360-orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.circle-text {
  width: 120px;
  height: 120px;
  position: absolute;
  font-weight: 700;
  animation: rotateCircle 12s linear infinite;
  pointer-events: none;
  fill: #c8b08a;
}

@keyframes rotateCircle {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.view360-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 30% 30%, #d4b483, #8b5a2b 70%);
  border: 3px solid rgba(255, 220, 160, 0.6);
  box-shadow:
    0 0 18px rgba(132, 36, 31, 0.6),
    inset 0 0 12px rgba(255, 255, 255, 0.3),
    inset 0 0 25px rgba(0, 0, 0, 0.6);
  position: relative;
}

.view360-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: gold;
  border-left-color: rgba(255, 215, 0, 0.4);
  animation: spin 4s linear infinite;
  opacity: 0.7;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.view360-inner {
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: rgba(245, 245, 220, 0.35);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.view360-inner img {
  width: 50px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.view360-btn:hover {
  transform: scale(1.1);
  transition: 0.3s ease;
}

.view360-btn::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.45),
    transparent 60%
  );
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
}

.view360-btn:hover::after {
  animation: shine 0.9s ease forwards;
}

@keyframes shine {
  from {
    transform: scale(0);
    opacity: 0.9;
  }
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ===============================
   360 VIEW VIDEO MODAL
================================ */
.view360-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.view360-modal.active {
  display: block;
}

.circle-text {
  pointer-events: none;
}

.view360-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.view360-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.view360-content video {
  width: 100%;
  height: auto;
  max-height: 90vh;
  display: block;
}

/* Close button */
.view360-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 50px;
  width: 65px;
  height: 65px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: 0.3s ease;
  color: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

/* align on mobile */
@media (max-width: 768px) {
  .view360-wrapper {
    bottom: 15px;
    left: 15px;
    width: 80px;
    height: 80px;
  }
  .circle-text {
    width: 90px;
    height: 90px;
  }
  .circle-text text {
    font-size: 11px;
  }
  .view360-btn {
    width: 50px;
    height: 50px;
  }
  .view360-inner img {
    width: 35px;
  }

  .whatsapp-float {
    right: 25px;
    bottom: 30px;
    width: 50px;
    height: 50px;
  }
}

/* RESET ANY CONFLICT */
.enquire-side {
  all: unset;
}

/* SIDE ENQUIRE BUTTON */
.enquire-side {
  position: fixed;
  right: -38px; /* pulls button halfway outside */
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);

  background: linear-gradient(180deg, #d6b25e, #f0d58a);
  color: #5a1d0f;

  padding: 12px 15px;
  border-radius: 20px 20px 0 0;

  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-decoration: none;
  white-space: nowrap;

  z-index: 999999;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);

  cursor: pointer;
}

.enquire-side:hover {
  background: linear-gradient(180deg, #f0d58a, #d6b25e);
  color: #3e1207;

  transition: all 0.3s ease;
}
/* Tap feedback (mobile) */
/* .enquire-side:active {
  transform: translateY(-50%) rotate(-90deg) scale(0.95);
} */

/* iOS Safe Area Fix */
@supports (right: env(safe-area-inset-right)) {
  .enquire-side {
    right: calc(-38px + env(safe-area-inset-right));
  }
}

@media (max-width: 480px) {
  .mobile-enquiry-wrap {
    position: fixed;
    bottom: 0px; /* STICKS to bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    z-index: 999999;
  }

  /* Phone box */
  .mobile-call {
    background: #fff;
    color: #5a1d0f;

    padding: 8px 11px;
    border-radius: 8px 0 0 8px;

    font-size: 9px;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }

  /* Enquire button */
  .enquire-side {
    position: static; /* remove fixed */
    transform: none; /* remove rotation */

    border-radius: 0 8px 8px 0;
    padding: 8px 12px;
    font-size: 9px;
  }
}
@media (min-width: 481px) {
  .mobile-call {
    display: none;
  }
}

/* =============== PRELOADER =============== */
#lux-preloader {
  position: fixed;
  inset: 0;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
}

.loader-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

.loader-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
  animation: fadePulse 2.5s infinite ease-in-out;
}

.loader-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(rgba(255, 215, 0, 0.4), rgba(255, 215, 0, 0));
  filter: blur(20px);
  animation: glowPulse 3s infinite ease-in-out;
}

.halo-ring {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 3px solid rgba(255, 215, 0, 0.4);
  border-left-color: transparent;
  border-right-color: transparent;
  animation: haloSpin 4s linear infinite;
  filter: drop-shadow(0 0 8px gold);
}

@keyframes haloSpin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes fadePulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

#lux-preloader.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

@media (hover: none) {
  .amenities-strip {
    flex-direction: column;
  }

  .amenity-card {
    flex: 1 !important;
  }

  .amenity-card img {
    opacity: 1;
    transform: none;
  }
}

/* Brochure Popup */
.brochure-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.popup-box {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  text-align: center;
  max-width: 320px;
  width: 90%;
}

.popup-box h3 {
  margin-bottom: 10px;
}

.popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.popup-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.popup-btn.yes {
  background: #d6b25e;
  color: #5a1d0f;
}

.popup-btn.no {
  background: #333;
  color: #fff;
}
