/* Infinity Core - 100% PURE WHITE & ROYAL GOLD THEME (FULL-SCREEN UNIFIED SCROLLABLE PROJECT WEBPAGE) */

:root {
  color-scheme: light !important;
  --primary-gold: #c58b1b;
  --gold-light: #e6c265;
  --gold-dark: #99680c;
  --gold-accent: #d49b27;
  --bg-white: #ffffff;
  --bg-ivory: #ffffff;
  --bg-cream: #ffffff;
  --card-white: #ffffff;
  --text-dark: #1a1612;
  --text-muted: #594f43;
  --gold-border: rgba(197, 139, 27, 0.45);
  --gold-glow: rgba(197, 139, 27, 0.25);
}

html, body {
  color-scheme: light !important;
  background-color: #ffffff !important;
  color: #1a1612 !important;
}

/* FORCE LIGHT MODE EVEN IF DEVICE HAS DARK MODE ENABLED */
@media (prefers-color-scheme: dark) {
  :root, html, body {
    color-scheme: light !important;
    background-color: #ffffff !important;
    color: #1a1612 !important;
  }

  .glass-card-white,
  .hero-glass-box,
  .glass-nav-white,
  .mobile-bottom-bar-white,
  .modal-dialog-box,
  .modal-scroll-body,
  .modal-tabs-header,
  section, div, header, footer {
    color-scheme: light !important;
  }
}

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff !important;
  color: var(--text-dark) !important;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, .font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
}

/* HIDE VERTICAL SCROLLBAR ON MODAL & WEBPAGE CONTAINER */
::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

#project-modal, .modal-dialog-box, body {
  -ms-overflow-style: none !important;  /* IE and Edge */
  scrollbar-width: none !important;  /* Firefox */
}

#project-modal::-webkit-scrollbar,
.modal-dialog-box::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
}

/* Metallic Royal Gold Gradients */
.bg-gold-gradient {
  background: linear-gradient(135deg, #c58b1b 0%, #e6c265 50%, #b88117 100%);
  color: #ffffff;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #a37210 0%, #d49b27 50%, #805404 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-gold-glow {
  border: 1px solid rgba(197, 139, 27, 0.45);
  box-shadow: 0 10px 30px rgba(197, 139, 27, 0.15);
}

/* HOMEPAGE-MATCHING PURE WHITE CARDS */
.glass-card-white {
  background: #ffffff !important;
  color: #1a1612 !important;
  border: 1px solid rgba(197, 139, 27, 0.45);
  box-shadow: 0 12px 35px rgba(197, 139, 27, 0.1);
}

/* HERO PURE WHITE BOX */
.hero-glass-box {
  background: #ffffff !important;
  color: #1a1612 !important;
  border: 2px solid rgba(197, 139, 27, 0.6);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.glass-nav-white {
  background: #ffffff !important;
  color: #1a1612 !important;
  border-bottom: 1px solid rgba(197, 139, 27, 0.3);
  box-shadow: 0 4px 20px rgba(197, 139, 27, 0.08);
}

/* Mobile Bottom Fixed Bar */
.mobile-bottom-bar-white {
  background: #ffffff !important;
  border-top: 1px solid rgba(197, 139, 27, 0.4);
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 8px);
}

/* Ken Burns Motion for Nature Background */
@keyframes kenburns-motion {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.12) translate(-1%, -1.5%); }
  100% { transform: scale(1.06) translate(1%, 0.5%); }
}

.kenburns-bg {
  animation: kenburns-motion 20s ease-in-out infinite alternate;
}

/* Project Detail Hero Slow-Zoom Animation */
@keyframes project-hero-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.project-hero-zoom {
  animation: project-hero-zoom 14s ease-out infinite alternate;
}

/* FULL-SCREEN FULLY SCROLLABLE PROJECT WEBPAGE MODAL */
#project-modal {
  padding: 0 !important;
  background-color: #ffffff !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.modal-dialog-box {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #1a1612 !important;
  border: none !important;
  box-shadow: none !important;
  overflow-y: visible !important;
}

.modal-scroll-body {
  overflow-y: visible !important;
  background-color: #ffffff !important;
  color: #1a1612 !important;
  padding-bottom: 6rem !important;
}

/* Subtle Gold Pulse */
@keyframes pulse-gold-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(197, 139, 27, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(197, 139, 27, 0.6);
  }
}

.pulse-gold-light {
  animation: pulse-gold-glow 2.5s infinite;
}

/* Image Zoom */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom-container:hover img {
  transform: scale(1.08);
}

/* Shimmer Animation on VIP Badges */
@keyframes shimmer-gold {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-badge {
  background: linear-gradient(90deg, #ffffff 0%, #fcebbd 50%, #ffffff 100%);
  background-size: 200% 100%;
  animation: shimmer-gold 3s infinite;
}

input[type=range] {
  accent-color: #c58b1b;
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.15rem;
    line-height: 1.2;
  }
  .section-title {
    font-size: 1.75rem;
  }
}
