/* Custom CSS for TRI XPRESS Company Profile Website */

:root {
  --primary-color: #003087;
  --accent-color: #FF6B00;
}

/* Base custom resets and enhancements */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky navbar */
}

/* Styling scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F3F4F6;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Sticky glassmorphism navbar state when scrolled */
.nav-scrolled {
  background-color: rgba(0, 48, 135, 0.96); /* Deep primary brand blue (#003087) */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations & Transitions */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Custom Glassmorphism Hero Box Overlay */
.hero-glass {
  background: rgba(26, 26, 46, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Subtle Hover Effects for Cards */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 48, 135, 0.15);
}

/* Premium active branch map container */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}
.map-container:hover {
  transform: scale(1.01);
}

/* Custom animations for special details */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
  }
}

.glow-btn {
  animation: pulseGlow 2.5s infinite;
}

/* Vision / Mission interactive cards styling */
.vision-glow:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F7FA 100%);
  border-left: 4px solid var(--primary-color);
}

.mission-glow:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F7FA 100%);
  border-left: 4px solid var(--accent-color);
}

/* Responsive Maps standard layout */
.google-map-iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 8px;
}

/* Branch image overlay styling */
.branch-img-gradient {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
}

/* Form floating labels style or simple transitions */
.form-input-focus:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.15);
}

/* Skeleton image/card placeholder dynamic backgrounds */
.image-placeholder-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  background-size: 200% 200%;
  animation: shimmerBg 5s ease infinite;
}

@keyframes shimmerBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scroll-locking utilities when mobile drawer is active */
html.overflow-hidden,
body.overflow-hidden {
  overflow: hidden !important;
  height: 100% !important;
  position: relative !important;
}
