/* ==========================================================================
   RAS ENTERPRISES - CORPORATE THEME STYLESHEET
   Crisp White Corporate Theme + Deep Navy & Metallic Gold Accents
   ========================================================================== */

:root {
  --color-primary-dark: #07111e;
  --color-navy-950: #07111e;
  --color-navy-900: #0b192c;
  --color-navy-800: #132a48;
  --color-navy-700: #1e3e62;
  --color-gold-300: #fce08b;
  --color-gold-400: #f5b041;
  --color-gold-500: #d4af37;
  --color-gold-600: #b8972e;
  --color-gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8972e 50%, #916f15 100%);
  --color-gold-glow: rgba(212, 175, 55, 0.25);
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-600: #475569;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
}

/* Font Family Defaults: Montserrat (Headings) & Inter (Body) */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Montserrat', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

/* Radiant Metallic Gold Text and Background Gradients */
.gold-gradient-text {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Super Bright Luminous Gold for Hero Banners & Dark Backgrounds */
#hero-section .gold-gradient-text,
.hero-slide .gold-gradient-text,
.bg-navy-950 .gold-gradient-text {
  background: linear-gradient(135deg, #FFF9C4 0%, #FFE082 25%, #FFD54F 50%, #FFCA28 75%, #FFA000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85));
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #fce08b 0%, #d4af37 50%, #aa820a 100%);
}

.navy-gradient-bg {
  background: linear-gradient(135deg, #07111e 0%, #0b192c 50%, #132a48 100%);
}

/* White Corporate Card System */
.white-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.white-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.navy-card-bg {
  background: linear-gradient(145deg, #0b192c 0%, #132a48 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.navy-card-bg:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 30px -10px rgba(11, 25, 44, 0.3);
}

/* Glow & Shadow Effects */
.gold-glow {
  box-shadow: 0 0 25px -5px rgba(212, 175, 55, 0.35);
}

.gold-glow-hover:hover {
  box-shadow: 0 10px 30px -5px rgba(212, 175, 55, 0.4);
}

.text-shadow-hero {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b8972e;
}

/* Slider Controls & Animations */
.hero-slide {
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.03);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide-content {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Progress Indicator */
.slider-progress-bar {
  transition: width 5s linear;
}

/* Card Hover 3D Tilt & Lift */
.service-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-6px);
}

/* Gallery Hover Overlay */
.gallery-item {
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Pulse Animation for Floating WhatsApp & Phone Buttons */
@keyframes pulse-gold {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

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

.animate-pulse-whatsapp {
  animation: pulse-whatsapp 2.5s infinite;
}

/* Clean White Sticky Nav */
.glass-nav-white {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
}

/* Brand Logo Image Control */
.brand-logo-img {
  max-height: 72px;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .brand-logo-img {
    max-height: 54px;
  }
}

/* Active Nav link underline */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--color-gold-500);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Modal Transitions */
.modal-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-box {
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal-content-box {
  transform: scale(1) translateY(0);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(0);
}

/* Floating Action Stack */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .floating-actions {
    bottom: 82px;
    right: 16px;
  }
}
