/* =====================================================================
   Sattva Lumina — UI/UX enhancement layer
   Loaded LAST so it cleanly overrides theme.css / style.css.
   1) Typography  2) CTA gradient + motion  3) Orange GIF icons  4) UX polish
   ===================================================================== */

:root {
  --brand: #e2640f;
  --brand-2: #f59e0b;
  --brand-dark: #c24e0c;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ------------------------------- 1. Typography ------------------------------- */
body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 15.5px;
  line-height: 1.65;
  color: #23272f;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6,
.section-title, .modal-title, .price-sub-text, .overview-data h2 {
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif !important;
  letter-spacing: -0.01em;     /* the old 1.2px tracking hurt readability */
  line-height: 1.22;
}
.section-title { font-weight: 700; }
p, li, .overview-info, label { letter-spacing: 0.003em; }
.overview-info { line-height: 1.7; }

/* keyframes */
@keyframes ctaShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ctaSheen {
  0%        { left: -60%; }
  60%, 100% { left: 130%; }
}

/* --------------------- 2. CTA buttons: orange gradient + motion --------------------- */
/* Kill the green (#72c526) base + the spinning conic-gradient "border" animation */
.custom-btn {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  overflow: visible !important;
  border-radius: 12px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), filter 0.28s ease !important;
}
.custom-btn::before { content: none !important; animation: none !important; display: none !important; }
.custom-btn:focus { box-shadow: none; }
.custom-btn:hover { transform: translateY(-3px) scale(1.015); }
.custom-btn:active { transform: translateY(-1px) scale(0.99); }

/* the visible pill surfaces get the animated orange gradient */
.enquireNowBtn,
.navbar-nav .brochure span,
.micro-form-btn,
.effetMoveGradient {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #e2640f 0%, #f59e0b 50%, #e2640f 100%) !important;
  background-size: 200% 100% !important;
  animation: ctaShift 5s ease infinite !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(226, 100, 15, 0.3);
  transition: box-shadow 0.28s ease, filter 0.28s ease, transform 0.28s var(--ease);
}

/* light sweep / sheen on hover */
.enquireNowBtn::after,
.micro-form-btn::after,
.effetMoveGradient::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.custom-btn:hover .enquireNowBtn::after,
.micro-form-btn:hover::after,
.effetMoveGradient:hover::after { animation: ctaSheen 0.8s var(--ease); }

.custom-btn:hover .enquireNowBtn,
.micro-form-btn:hover,
.effetMoveGradient:hover {
  box-shadow: 0 12px 26px rgba(226, 100, 15, 0.42);
  filter: brightness(1.05) saturate(1.05);
}
.micro-form-btn:hover,
.effetMoveGradient:hover { transform: translateY(-2px); }

/* nav "Brochure" button: clean orange, no spin */
.navbar-nav .brochure { background: transparent !important; padding: 0 !important; border-radius: 18px; }
.navbar-nav .brochure::before { content: none !important; animation: none !important; display: none !important; }
.navbar-nav .brochure span { border-radius: 18px; padding: 6px 16px !important; }

/* Floating WhatsApp button motion */
.whatsaapBtn { transition: transform 0.28s var(--ease); }
.whatsaapBtn:hover { transform: translateY(-3px) scale(1.06); }

/* sticky/footer action buttons */
.footer-enquiryBtn .monCall,
.desktop-summary .btn,
.callBackBtn { transition: transform 0.25s var(--ease), box-shadow 0.25s ease; }
.footer-enquiryBtn .monCall:active { transform: scale(0.95); }

/* --------------------------- 3. GIF icons -> brand orange --------------------------- */
/* CSS tint (source-independent). For pixel-perfect icons, supply real orange GIF/SVG assets. */
img[src$=".gif"] {
  filter: grayscale(1) sepia(1) saturate(7) hue-rotate(-12deg) brightness(1.02);
}

/* ------------------------------- 4. UX polish ------------------------------- */
html { scroll-behavior: smooth; }

a, .nav-link, input, textarea, select, .data-id-btn {
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* visible keyboard focus everywhere (accessibility) */
:focus-visible {
  outline: 3px solid rgba(226, 100, 15, 0.55);
  outline-offset: 2px;
  border-radius: 8px;
}

/* form fields: clear orange focus ring */
.form-control:focus,
.micro-form-field:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 0.2rem rgba(226, 100, 15, 0.18) !important;
}

/* nav link hover -> brand */
.navbar-light .navbar-nav .nav-item:hover a.nav-link,
.navbar-light .navbar-nav .nav-link:hover { color: var(--brand) !important; }

/* card / image hover lift */
.highlightData,
.amenity-content,
.gallery-img-holder { transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.highlightData:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1); }
.gallery-img-holder { overflow: hidden; border-radius: 12px; }
.amenity-content img { transition: transform 0.45s var(--ease); }
.amenity-content:hover img,
.gallery-img-holder:hover .gallery-img { transform: scale(1.04); }

/* pricing table readability */
.sec-price .table thead th { letter-spacing: 0.02em; }
.table-pricing td { vertical-align: middle; }

/* ---- Uniform image sizing: gallery + amenities ----
   Source renders have mixed aspect ratios (16:9 / 4:3 / square), which made
   tiles render at different heights. Force one height + cover-crop. */
.gallery-img-holder {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}
.gallery-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
#slick1 .slide-item,
.amenity-content { width: 100%; }
#slick1 .slick-slide img,
.amenity-content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
@media (max-width: 600px) {
  .gallery-img { height: 220px; }
  #slick1 .slick-slide img,
  .amenity-content img { height: 190px; }
}

/* respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
