/* ==========================================================================
   GOSHEN INFRASTRUCTURAL ENERGY EMPIRE LIMITED
   Master Custom Stylesheet
   Note: All Color & Typography Tokens are dynamically injected into :root 
   from config/site.php (Single Source of Truth).
   ========================================================================== */

/* Base Body Styles */
body {
  font-family: var(--font-body);
  color: var(--color-graphite);
  background-color: var(--color-off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Heading Typography */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-navy-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-navy-secondary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-accent);
}

/* Hero Section Image Background Styles */
.hero-bg-container {
  background-color: var(--color-navy-primary);
  background-image: linear-gradient(180deg, rgba(16, 38, 61, 0.78) 0%, rgba(16, 38, 61, 0.88) 60%, rgba(16, 38, 61, 0.98) 100%), url('../images/hero_industrial.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.subpage-hero-bg {
  background-color: var(--color-navy-primary);
  background-image: linear-gradient(135deg, rgba(16, 38, 61, 0.92) 0%, rgba(25, 53, 79, 0.95) 100%), url('../images/hero_industrial.png');
  background-size: cover;
  background-position: center right;
}

/* Metallic Gold Accent Glow */
.gold-glow {
  box-shadow: 0 0 25px rgba(168, 134, 84, 0.25);
}

.gold-border-left {
  border-left: 4px solid var(--color-gold-accent);
}

.gold-divider {
  height: 3px;
  width: 48px;
  background-color: var(--color-gold-accent);
  border-radius: 2px;
}

/* Sticky Navbar Transitions */
.navbar-scrolled {
  background-color: rgba(16, 38, 61, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(168, 134, 84, 0.2);
}

/* Custom Card Hover Effects */
.industrial-card {
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.industrial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(16, 38, 61, 0.1);
  border-color: var(--color-gold-accent);
}

/* Buttons */
.btn-gold {
  background-color: var(--color-gold-accent);
  color: #FFFFFF;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-gold:hover {
  background-color: var(--color-gold-hover);
  box-shadow: 0 6px 20px rgba(168, 134, 84, 0.35);
  transform: translateY(-1px);
}

.btn-navy {
  background-color: var(--color-navy-primary);
  color: #FFFFFF;
  border: 1px solid var(--color-navy-secondary);
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-navy:hover {
  background-color: var(--color-navy-secondary);
  border-color: var(--color-gold-accent);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

/* Badge styling */
.badge-gold {
  background-color: var(--color-gold-muted);
  color: var(--color-gold-accent);
  border: 1px solid rgba(168, 134, 84, 0.3);
}

/* Keyframes & Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* Custom Modal Backdrop */
.modal-backdrop {
  background-color: rgba(11, 27, 44, 0.85);
  backdrop-filter: blur(6px);
}

/* Hero Carousel Image Slow Zoom & Swiper Custom Controls */
.hero-swiper .swiper-slide img {
  transform: scale(1.0);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-swiper .swiper-slide-active img {
  transform: scale(1.08);
}

/* Modern Swiper Pagination Dots */
.hero-swiper-pagination {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 30;
  display: flex;
  gap: 0.5rem;
}
.hero-swiper-pagination .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all 0.3s ease;
}
.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 44px;
  background: var(--color-gold-accent);
}

