/* ============================================================
   SOMNATH BIDI FACTORY — Premium Corporate CSS
   ============================================================ */

/* ============ BASE / CURSOR ============ */
*, *::before, *::after { cursor: none !important; }

/* Legacy cursor elements are hidden by JS on desktop; shown on mobile as auto */
#customCursor, #cursorDot { display: none; }

@media (max-width: 768px) {
  *, *::before, *::after { cursor: auto !important; }
}

/* ============ LOADING SCREEN ============ */
#loadingScreen {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, #0a0000 0%, #1a0000 50%, #0a0000 100%);
  z-index: 999998; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loadingScreen.fade-out { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 64px; height: 64px;
  border: 3px solid rgba(212,175,55,0.2);
  border-top-color: #D4AF37; border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loader-brand {
  font-family: 'Cinzel', serif; color: #D4AF37;
  font-size: 0.7rem; letter-spacing: 0.5em;
  text-transform: uppercase; margin-top: 1.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ============ HEALTH WARNING MODAL ============ */
#healthModal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 999997; display: flex;
  align-items: center; justify-content: center; padding: 1rem;
}
#healthModal.hidden { display: none; }
.modal-box {
  background: linear-gradient(145deg, #150000 0%, #2a0505 40%, #1a0000 100%);
  border: 2px solid #D4AF37; border-radius: 16px;
  padding: 2.5rem 2rem; max-width: 480px; width: 100%; text-align: center;
  animation: modalIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
  box-shadow: 0 0 80px rgba(212,175,55,0.25), 0 0 0 1px rgba(212,175,55,0.1) inset;
}
.modal-warning-icon {
  font-size: 3rem; margin-bottom: 1rem;
  animation: warningPulse 1.5s ease-in-out infinite;
}
.modal-close-btn {
  background: #8B0000; color: #FFFDD0;
  font-family: 'Cinzel', serif; font-weight: 600;
  letter-spacing: 0.15em; padding: 0.75rem 2.5rem;
  border-radius: 4px; border: none; cursor: none;
  transition: all 0.3s ease; margin-top: 1.5rem;
  display: inline-block;
}
.modal-close-btn:hover {
  background: #6b0000;
  box-shadow: 0 6px 25px rgba(139,0,0,0.5), 0 0 0 2px #D4AF37;
  transform: translateY(-2px);
}

/* ============ NAVIGATION ============ */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9999; padding: 1rem 1.5rem;
  transition: all 0.4s ease;
  background: transparent;
}
#mainNav.nav-scrolled {
  background: rgba(8,0,0,0.97) !important;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 0.75rem 1.5rem;
  box-shadow: 0 2px 40px rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
}
.nav-link {
  position: relative; color: rgba(255,253,208,0.9);
  font-family: 'Lato', sans-serif; font-size: 0.875rem;
  font-weight: 400; letter-spacing: 0.06em;
  transition: color 0.3s ease; text-decoration: none;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: #D4AF37;
  transition: width 0.35s ease;
}
.nav-link:hover { color: #D4AF37; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #D4AF37; }
.nav-link.active::after { width: 100%; }

/* Dropdown */
.dropdown-parent { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%);
  background: rgba(8,0,0,0.97); backdrop-filter: blur(20px);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 8px; min-width: 210px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease; pointer-events: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  background: rgba(8,0,0,0.97);
  border-left: 1px solid rgba(212,175,55,0.25);
  border-top: 1px solid rgba(212,175,55,0.25);
  transform: translateX(-50%) rotate(45deg);
}
.dropdown-parent:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  pointer-events: auto; top: calc(100% + 8px);
}
.dropdown-item {
  display: block; padding: 0.7rem 1.25rem;
  color: rgba(255,253,208,0.75); font-size: 0.83rem;
  font-family: 'Lato', sans-serif; letter-spacing: 0.03em;
  transition: all 0.2s ease; text-decoration: none;
  border-bottom: 1px solid rgba(212,175,55,0.08);
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover {
  color: #D4AF37; background: rgba(139,0,0,0.25);
  padding-left: 1.6rem;
}

/* ============ GLASSMORPHISM ============ */
.glass {
  background: rgba(255,253,208,0.04);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212,175,55,0.18);
}
.glass-dark {
  background: rgba(8,0,0,0.45);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212,175,55,0.15);
}
.glass-white {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212,175,55,0.2);
}

/* ============ TEXT GRADIENTS ============ */
.text-gold-gradient {
  background: linear-gradient(135deg, #B8960C 0%, #D4AF37 30%, #F5E27A 60%, #D4AF37 80%, #B8960C 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-shimmer {
  background: linear-gradient(90deg, #D4AF37 0%, #F5E27A 25%, #D4AF37 50%, #F5E27A 75%, #D4AF37 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block; background: #8B0000; color: #FFFDD0;
  font-family: 'Cinzel', serif; font-weight: 600;
  letter-spacing: 0.12em; font-size: 0.82rem;
  padding: 0.875rem 2rem; border-radius: 4px;
  transition: all 0.35s ease; text-decoration: none;
  position: relative; overflow: hidden; border: none;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(212,175,55,0.18));
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover {
  background: #6b0000;
  box-shadow: 0 8px 35px rgba(139,0,0,0.55), 0 0 0 2px #D4AF37;
  transform: translateY(-2px);
}
.btn-primary:hover::before { opacity: 1; }

.btn-gold {
  display: inline-block; background: transparent; color: #D4AF37;
  font-family: 'Cinzel', serif; font-weight: 600;
  letter-spacing: 0.12em; font-size: 0.82rem;
  padding: 0.875rem 2rem; border-radius: 4px;
  border: 2px solid #D4AF37;
  transition: all 0.35s ease; text-decoration: none;
}
.btn-gold:hover {
  background: #D4AF37; color: #1a0000;
  box-shadow: 0 8px 35px rgba(212,175,55,0.4);
  transform: translateY(-2px);
}

.btn-green {
  display: inline-block; background: #0B6623; color: #FFFDD0;
  font-family: 'Cinzel', serif; font-weight: 600;
  letter-spacing: 0.12em; font-size: 0.82rem;
  padding: 0.875rem 2rem; border-radius: 4px;
  transition: all 0.35s ease; text-decoration: none; border: none;
}
.btn-green:hover {
  background: #085018;
  box-shadow: 0 8px 35px rgba(11,102,35,0.5);
  transform: translateY(-2px);
}

/* ============ SECTION UTILITIES ============ */
.section-label {
  font-family: 'Cinzel', serif; font-size: 0.7rem;
  letter-spacing: 0.4em; color: #D4AF37;
  text-transform: uppercase; display: block; margin-bottom: 0.75rem;
}
.section-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700; line-height: 1.2; letter-spacing: 0.02em;
}
.section-subheading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic; font-weight: 400;
}
.gold-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  margin: 1.25rem auto;
}
.gold-divider-left {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, #D4AF37, transparent);
  margin: 1.25rem 0;
}
.gold-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
}

/* ============ HERO ============ */
.hero-section {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: 0.03em;
}
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic; font-weight: 400;
}

/* ============ PRODUCT CARDS ============ */
.product-card {
  background: white; border-radius: 8px;
  overflow: hidden; transition: all 0.45s ease;
  border: 1px solid rgba(212,175,55,0.2);
  position: relative; text-decoration: none;
}
.product-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(139,0,0,0.02), rgba(212,175,55,0.06));
  opacity: 0; transition: opacity 0.3s; z-index: 1; pointer-events: none;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 65px rgba(139,0,0,0.18), 0 0 0 2px #D4AF37;
}
.product-card:hover::after { opacity: 1; }
.product-card .card-img { overflow: hidden; }
.product-card .card-img img { transition: transform 0.65s ease; }
.product-card:hover .card-img img { transform: scale(1.1); }

/* ============ GALLERY ============ */
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: 8px; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.65s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.12); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(139,0,0,0.85) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.35s ease;
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover { box-shadow: 0 0 0 3px #D4AF37; }

/* ============ TIMELINE ============ */
.timeline-item {
  position: relative; padding-left: 3rem; padding-bottom: 2.5rem;
}
.timeline-item::before {
  content: ''; position: absolute;
  left: 10px; top: 22px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #D4AF37, rgba(212,175,55,0.1));
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #8B0000; border: 3px solid #D4AF37;
  box-shadow: 0 0 20px rgba(212,175,55,0.45);
}
.timeline-number {
  position: absolute; left: -60px; top: -4px;
  font-family: 'Cinzel', serif; font-size: 3rem;
  font-weight: 900; color: rgba(212,175,55,0.08);
  line-height: 1; user-select: none;
}

/* ============ STATS ============ */
.stat-card {
  text-align: center; padding: 2rem 1.5rem;
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(139,0,0,0.04), rgba(212,175,55,0.02));
  transition: all 0.35s ease;
}
.stat-card:hover {
  border-color: #D4AF37;
  box-shadow: 0 10px 40px rgba(139,0,0,0.12);
  transform: translateY(-5px);
}
.stat-number {
  font-family: 'Cinzel', serif; font-size: 2.75rem;
  font-weight: 900; line-height: 1;
}
.stat-label {
  font-family: 'Lato', sans-serif; font-size: 0.8rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #5A3A1B; margin-top: 0.5rem;
}

/* ============ SOCIAL ICONS ============ */
.social-icon {
  width: 48px; height: 48px;
  border: 2px solid rgba(212,175,55,0.35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #D4AF37; transition: all 0.35s ease; text-decoration: none;
}
.social-icon:hover {
  border-color: #D4AF37;
  background: rgba(212,175,55,0.15);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(212,175,55,0.25);
}

/* ============ FOOTER ============ */
.footer-link {
  color: rgba(255,253,208,0.6);
  transition: color 0.3s ease; font-size: 0.875rem;
  text-decoration: none; display: inline-block;
}
.footer-link:hover { color: #D4AF37; padding-left: 4px; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 9990; display: flex; flex-direction: column; gap: 0.75rem;
}
.whatsapp-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: all 0.3s ease; text-decoration: none;
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37,211,102,0.55);
  animation: none;
}

/* ============ PAGE INNER HERO ============ */
.page-hero {
  min-height: 50vh; position: relative;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0a0000 0%, #1e0000 40%, #2d0a00 70%, #0a0000 100%);
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ============ FORM INPUTS ============ */
.form-input {
  background: rgba(255,253,208,0.05);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 4px; padding: 0.875rem 1rem;
  color: #FFFDD0; font-family: 'Lato', sans-serif;
  transition: all 0.3s ease; outline: none; width: 100%;
  font-size: 0.9rem;
}
.form-input:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
  background: rgba(255,253,208,0.08);
}
.form-input::placeholder { color: rgba(255,253,208,0.3); }
.form-label {
  display: block; color: rgba(255,253,208,0.75);
  font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.5rem;
  font-family: 'Cinzel', serif;
}

/* ============ PAYMENT TABLE ============ */
.payment-row {
  border-bottom: 1px solid rgba(212,175,55,0.1);
  transition: background 0.2s ease;
}
.payment-row:hover { background: rgba(212,175,55,0.04); }
.payment-row:last-child { border-bottom: none; }

/* ============ BREADCRUMB ============ */
.breadcrumb-link {
  color: rgba(212,175,55,0.65); transition: color 0.3s;
  text-decoration: none; font-size: 0.8rem;
}
.breadcrumb-link:hover { color: #D4AF37; }

/* ============ ORNAMENTAL PATTERNS ============ */
.ornament {
  font-family: 'Cinzel', serif; color: #D4AF37;
  font-size: 0.9rem; letter-spacing: 0.5em; opacity: 0.6;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #080000; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #8B0000, #D4AF37);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #D4AF37; }

/* ============ SCROLL TO TOP ============ */
#scrollTop {
  position: fixed; bottom: 2rem; left: 2rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: #8B0000; border: 2px solid #D4AF37;
  display: flex; align-items: center; justify-content: center;
  color: #D4AF37; z-index: 9980;
  transition: all 0.3s ease; opacity: 0; visibility: hidden;
}
#scrollTop.show { opacity: 1; visibility: visible; }
#scrollTop:hover {
  background: #D4AF37; color: #1a0000; transform: translateY(-3px);
}

/* ============ ANIMATIONS ============ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes waPulse { 0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 6px 30px rgba(37,211,102,0.7); } }
@keyframes warningPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-30px) scale(0.93); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Parallax */
.parallax-bg { background-attachment: fixed; background-size: cover; background-position: center; }
@media (max-width: 768px) { .parallax-bg { background-attachment: scroll; } }

/* AOS custom */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* Page transition */
main, .page-content { animation: fadeIn 0.5s ease; }

/* Gold glow hover */
.hover-gold-glow:hover { box-shadow: 0 0 30px rgba(212,175,55,0.3); }

/* Gradient animated bg */
.animated-gradient {
  background: linear-gradient(135deg, #8B0000, #5A3A1B, #0B6623, #8B0000);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
}

/* Info card */
.info-card {
  padding: 2rem; border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.2);
  transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.info-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  transform: scaleX(0); transition: transform 0.4s ease;
}
.info-card:hover::before { transform: scaleX(1); }
.info-card:hover {
  border-color: rgba(212,175,55,0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Map embed */
.map-frame {
  border: 2px solid rgba(212,175,55,0.3);
  border-radius: 8px; overflow: hidden;
  transition: border-color 0.3s;
}
.map-frame:hover { border-color: #D4AF37; }

/* Mobile menu */
#mobileMenu {
  background: rgba(8,0,0,0.98);
  border-top: 1px solid rgba(212,175,55,0.15);
}

/* ============================================================
   RESPONSIVE — comprehensive mobile / tablet fixes
   ============================================================ */

/* ---- GLOBAL MOBILE PADDING ---- */
@media (max-width: 640px) {
  .max-w-7xl { padding-left: 1rem !important; padding-right: 1rem !important; }
}

/* ---- TYPOGRAPHY SCALING ---- */
@media (max-width: 640px) {
  .hero-title  { font-size: 2rem !important; letter-spacing: 0.02em; }
  .hero-subtitle { font-size: 0.95rem !important; }
  .section-heading { font-size: 1.5rem !important; }
  .section-subheading { font-size: 0.95rem !important; }
  .stat-number { font-size: 2rem !important; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .hero-title  { font-size: clamp(2.4rem, 5vw, 3.5rem) !important; }
  .section-heading { font-size: clamp(1.6rem, 3vw, 2.2rem) !important; }
}

/* ---- HERO ---- */
@media (max-width: 640px) {
  .hero-section { min-height: 90vh; }
  .page-hero   { min-height: 42vh; }
  .hero-section .max-w-7xl,
  .page-hero   .max-w-7xl { padding-top: 6rem !important; padding-bottom: 2rem !important; }
  .scroll-indicator { display: none; }
}

/* ---- SECTION VERTICAL PADDING ---- */
@media (max-width: 640px) {
  .py-24 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  .py-20 { padding-top: 3rem   !important; padding-bottom: 3rem   !important; }
  .py-16 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .gap-16{ gap: 2.5rem !important; }
  .gap-14{ gap: 2rem   !important; }
}

/* ---- NAVIGATION ---- */
@media (max-width: 1024px) {
  #mainNav { padding: 0.6rem 1rem !important; }
  #mainNav img { height: 2.5rem !important; }
}
@media (max-width: 640px) {
  #navBrand span:first-child { font-size: 0.85rem !important; }
  #navBrand span:last-child  { font-size: 0.5rem  !important; }
}

/* ---- BUTTONS (stack on mobile) ---- */
@media (max-width: 480px) {
  .btn-primary, .btn-gold, .btn-green {
    display: block; width: 100%; text-align: center;
    padding: 0.875rem 1.5rem;
  }
  section .flex.flex-wrap.gap-4,
  section .flex.flex-wrap.gap-3 { flex-direction: column; align-items: center; }
}

/* ---- PRODUCT CARDS ---- */
@media (max-width: 640px) {
  .product-card .card-img { height: 200px !important; }
}

/* ---- GALLERY MASONRY ---- */
@media (max-width: 480px) {
  .masonry { columns: 1 !important; }
  .masonry-item { height: auto !important; min-height: 180px; }
}
@media (min-width: 481px) and (max-width: 767px) {
  .masonry { columns: 2 !important; }
}

/* ---- REAL IMAGE CARDS ---- */
.img-card {
  position: relative; overflow: hidden;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.img-card-wrap { overflow: hidden; border-radius: 8px; }
.img-card-wrap:hover .img-card { transform: scale(1.08); }

/* ---- STATS STRIP (2-col on xs) ---- */
@media (max-width: 480px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; }
}

/* ---- TIMELINE (mobile) ---- */
@media (max-width: 640px) {
  .timeline-item { padding-left: 2.5rem; padding-bottom: 1.75rem; }
  .timeline-number { display: none; }
}

/* ---- FOOTER (mobile) ---- */
@media (max-width: 640px) {
  footer .grid { gap: 2rem !important; }
}

/* ---- MODAL (mobile) ---- */
@media (max-width: 480px) {
  .modal-box { padding: 2rem 1.25rem; }
  .modal-box p.font-display.text-2xl { font-size: 1.2rem !important; }
}

/* ---- PAYMENT TABLE (mobile scroll) ---- */
@media (max-width: 640px) {
  .payment-row { flex-direction: column; gap: 0.25rem; padding: 0.75rem 1rem; }
  .payment-row span:first-child { color: #8B0000; }
}

/* ---- INFO CARDS (mobile) ---- */
@media (max-width: 640px) {
  .info-card { padding: 1.25rem; }
}

/* ---- WHATSAPP FLOAT (smaller on mobile) ---- */
@media (max-width: 480px) {
  .whatsapp-float { bottom: 1rem; right: 1rem; }
  .whatsapp-btn   { width: 48px !important; height: 48px !important; }
  .whatsapp-btn svg { width: 1.4rem !important; height: 1.4rem !important; }
}

/* ---- LOADING SCREEN (mobile) ---- */
@media (max-width: 480px) {
  #loadingScreen img { height: 3.5rem !important; }
}

/* ---- GALLERY FILTER BUTTONS (wrap nicely) ---- */
@media (max-width: 640px) {
  #galleryFilter { gap: 0.5rem; }
  .filter-btn { font-size: 0.65rem !important; padding: 0.4rem 0.9rem !important; }
}

/* ---- MAP FRAMES (mobile height) ---- */
@media (max-width: 640px) {
  .map-frame { height: 250px !important; }
}

/* ---- REAL IMAGE HELPERS ---- */
.obj-cover  { width:100%; height:100%; object-fit:cover; display:block; }
.img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
}
.real-img-box {
  position: relative; overflow: hidden; border-radius: 8px;
}
.real-img-box img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.65s ease;
}
.real-img-box:hover img { transform: scale(1.06); }

