/* ==========================================================================
   Sujata Makeover’s Studio - Luxury Theme Styling
   Bhilai, Chhattisgarh
   ========================================================================== */

:root {
  --primary-gold: #c5a059;
  --primary-gold-light: #e5c583;
  --primary-gold-dark: #99732e;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f6e7b2 50%, #b8860b 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --bg-dark: #0f0c13;
  --bg-dark-surface: #18131f;
  --bg-card: rgba(29, 23, 38, 0.7);
  --bg-card-hover: rgba(41, 32, 54, 0.85);
  
  --border-gold: rgba(212, 175, 55, 0.2);
  --border-gold-bright: rgba(212, 175, 55, 0.5);
  
  --text-main: #f9f6f0;
  --text-muted: #b7adb6;
  --text-gold: #d4af37;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Base resets & smooth scroll */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #2f253d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* Hide scrollbar for clean horizontal touch scroll */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: var(--gold-gradient);
}

/* Luxury Glassmorphism & Borders */
.glass-panel {
  background: rgba(24, 19, 31, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
}

.glass-panel-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-panel-hover:hover {
  background: rgba(33, 26, 43, 0.85);
  border-color: var(--border-gold-bright);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.5), 0 0 20px -5px var(--gold-glow);
}

/* Gold Button Styles */
.btn-gold {
  background: var(--gold-gradient);
  color: #120e17;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.6s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.5);
  color: #000;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-outline-gold {
  border: 1.5px solid var(--primary-gold);
  color: var(--primary-gold-light);
  background: rgba(212, 175, 55, 0.04);
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #120e17;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

/* Pulse animation for live status badge */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.15);
  }
}

.animate-pulse-dot {
  animation: pulse-subtle 2s infinite ease-in-out;
}

/* Floating WhatsApp Button Animation */
@keyframes whatsapp-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.whatsapp-float-btn {
  animation: whatsapp-bounce 3s infinite ease-in-out;
}

/* Service Card Image Zoom */
.service-card-img-wrapper {
  overflow: hidden;
}
.service-card-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}
.service-card:hover .service-card-img-wrapper img {
  transform: scale(1.08);
}

/* Badge Styling */
.badge-gold {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #f3dfb2;
}

/* Active Service Tab */
.service-tab-btn.active {
  background: var(--gold-gradient);
  color: #120e17;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

/* Image Lightbox */
#lightboxModal.show {
  display: flex !important;
}

/* Hide scrollbar for category tabs on mobile */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Subtle background glowing orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.orb-gold {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0) 70%);
}

.orb-plum {
  background: radial-gradient(circle, rgba(142, 68, 173, 0.15) 0%, rgba(142, 68, 173, 0) 70%);
}

/* ==========================================================================
   Infinite Horizontal Scrolling Client Reviews (GPU-Optimized)
   ========================================================================== */
@keyframes infiniteScrollLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-track-row1 {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: infiniteScrollLeft 44s linear infinite;
}

.marquee-track-row2 {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: infiniteScrollLeft 50s linear infinite;
}

/* Smooth Pause on hover */
.marquee-container:hover .marquee-track-row1,
.marquee-container:hover .marquee-track-row2 {
  animation-play-state: paused;
}

/* Review Card Styling & Hover */
.review-card-item {
  width: 370px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 640px) {
  .review-card-item {
    width: 310px;
  }
}

.review-card-item:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.75), 0 0 25px -5px rgba(212, 175, 55, 0.25);
  background: rgba(36, 27, 49, 0.95);
}

/* ==========================================================================
   Mobile & Smartphone Touch / Side-by-Side Optimizations
   ========================================================================== */

/* Prevent iOS Safari auto-zoom on input focus */
@media (max-width: 640px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Safe Area Insets & Strict Containment for Modern Phones */
.mobile-sticky-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  z-index: 50 !important;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px)) !important;
  overflow: hidden !important;
}

.mobile-sticky-bar > a {
  min-width: 0 !important;
}

/* Mobile Drawer & Overlay High Priority */
#mobileMenuDrawer {
  z-index: 9999 !important;
}

/* Prevent AOS offscreen transforms from causing horizontal scroll on mobile */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ambient-orb {
    display: none !important;
  }
  /* Remove heavy backdrop-filter blurs on phones for 60fps smooth scrolling */
  .glass-panel {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #181220 !important;
  }
  #mobileMenuDrawer {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(10, 8, 14, 0.95) !important;
  }
  .glass-panel-hover:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Smooth Touch Momentum Scrolling */
.touch-scroll {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.touch-scroll > * {
  scroll-snap-align: start;
}

/* Compact side-by-side 2-column mobile text clamps and card sizing */
@media (max-width: 640px) {
  .service-card .service-card-img-wrapper {
    height: 9rem !important;
  }
  .service-card .service-card-img-wrapper span {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  .service-card > div > div.p-6 {
    padding: 0.65rem 0.75rem !important;
  }
  .service-card h3 {
    font-size: 0.875rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.25rem !important;
  }
  .service-card p {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.4rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .service-card .border-y {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
    margin-bottom: 0.4rem !important;
    font-size: 0.68rem !important;
  }
  .service-card > div.px-6.pb-6 {
    padding: 0 0.75rem 0.75rem 0.75rem !important;
  }
  .service-card button {
    font-size: 0.72rem !important;
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
  }
}


