/* ============================================
   VISTRA INDUSTRIAL CITY - RED THEME
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #dc2626;
  --primary-hover: #b91c1c;
  --primary-light: #fee2e2;
  --primary-dark: #991b1b;
  --secondary-color: #1f2937;
  --accent-color: #f59e0b;

  --industrial-red: #dc2626;
  --industrial-dark: #1a1a1a;
  --industrial-gray: #4b5563;
  --industrial-light: #f3f4f6;
  
  --gradient-primary: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(153, 27, 27, 0.9) 100%);
  
  /* Override old variables with red theme */
  --turquoise: #dc2626;
  --slate: #1f2937;
  --text-main: #0f172a;
  --border-soft: #e5e7eb;
}

#preloader {
  background: var(--bg-main);
}

.preloader-inner {
  text-align: center;
}

/* Line Loader */
.line-loader {
  background: rgba(255,255,255,.1);
}

body.white .line-loader::before {
  background: var(--primary-color);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate);
}

.section {
  padding: 110px 0;
}

/* ============================================
   SECTION BACKGROUNDS - RED THEME
   ============================================ */
.section-soft {
  background: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%) !important;
}

.section-sand {
  background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%) !important;
}

/* ============================================
   BADGES - RED THEME
   ============================================ */
.badge-soft {
  background: rgba(0,0,0,.6) !important;
  color: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.01) !important;
  padding: 6px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   BUTTONS - RED THEME
   ============================================ */
.btn-primary {
  background: var(--gradient-primary) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 32px;
  transition: all 0.3s ease !important;
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  border: none !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(220, 38, 38, 0.2);
  color: #ffffff !important;
}

.btn-outline-primary {
  border: 2px solid #dc2626 !important;
  color: #dc2626 !important;
  background: transparent;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
}

/* ============================================
   TEXT COLORS - RED THEME
   ============================================ */
.text-primary {
  color: #dc2626 !important;
}

.text-success {
  color: #dc2626 !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #1f2937;
}

.fw-bold {
  font-weight: 700;
}

/* ============================================
   STATS & NUMBERS - RED GRADIENT
   ============================================ */
.text-primary.fw-bold {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   LINKS - RED THEME
   ============================================ */
a {
  color: #dc2626;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #b91c1c;
}

/* ============================================
   HERO PANORAMA SECTION
   ============================================ */
.hero-pano {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 95vh;
  background: #000;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-pano #slides,
.hero-pano .slide,
.hero-pano .pano {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* ============================================
   HERO OVERLAY - RED GRADIENT
   ============================================ */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.hero-overlay .container,
.hero-overlay .btn {
  pointer-events: auto;
}

.hero-content {
  color: #fff;
}

.hero-content h1 {
  color: #ffffff;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.loader img {
  width: 60px;
  height: 60px;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.line-loader {
  background: var(--gradient-primary);
}

/* ============================================
   PANORAMA SLIDES
   ============================================ */
#slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}

.pano {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pnlm-container,
.pnlm-render-container {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.pnlm-render-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.pnlm-controls-container,
.pnlm-hot-spot-debug-indicator,
.pnlm-about-msg {
  display: none !important;
}

.pnlm-container * {
  box-sizing: border-box;
}

/* ============================================
   ICON BOXES - RED THEME
   ============================================ */
.icon-box {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--primary-color);
  font-size: 28px;
}

.icon-box i {
  font-size: 28px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.card:hover .icon-box {
  background: var(--gradient-primary);
  transform: scale(1.1);
}

.card:hover .icon-box i {
  color: #ffffff;
}

/* ============================================
   CARDS - RED THEME
   ============================================ */
.card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #ffffff !important;
}

.card:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
  transform: translateY(-5px);
}

/* ============================================
   HIGHLIGHT BACKGROUND - RED GRADIENT
   ============================================ */
.highlight-bg {
  position: relative;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
}

.highlight-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.8;
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion-button:not(.collapsed) {
  background: rgba(220, 38, 38, 0.1);
  color: var(--slate);
}

/* ============================================
   NAVBAR - CITY RED THEME
   ============================================ */
body.white .custom-navbar.city {
  background: rgba(255, 255, 255, 0) !important;
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  padding: 20px 0;
  transition: all .3s ease;
}

body.white .custom-navbar.city.is-scrolled {
  background: #ffffff !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(220, 38, 38, 0.1);
  border-bottom: 1px solid var(--border-soft);
}

body.white .custom-navbar.city .custom-nav .nav-link {
  font-weight: bold;
  font-size: 14px;
  font-weight: bold;
  color: #fff !important;
  padding: 0px 14px !important;
  margin: 5px;
  text-transform: uppercase;
  border-radius: 12px;
  letter-spacing: .5px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

body.white .custom-navbar.city.is-scrolled .custom-nav .nav-link{
  color: #1a1a1a !important;
  transition: all 0.3s ease;
}

body.white .custom-navbar.city.is-scrolled .custom-nav .nav-link:hover{
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.custom-navbar.city .nav-link {
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.custom-navbar.city .nav-link:hover,
.custom-navbar.city .nav-link.active {
  color: #fff !important;
  transition: all 0.3s ease;
}

body.white .custom-navbar.city .custom-nav .nav-link:hover {
  color: rgba(255,255,255,.6) !important;
  transition: all 0.3s ease;
}

.nav-item.is-active a.nav-link {
  color: var(--primary-color) !important;
  background: none;
  transition: all 0.3s ease;
}

.custom-navbar.city.is-scrolled .nav-item.is-active a.nav-link {
  color: var(--primary-color) !important;
}
.custom-navbar.city.is-scrolled .nav-item.is-active a.nav-link:hover{
  color: var(--primary-color) !important;
}

/* ============================================
   NAVBAR LOGO
   ============================================ */
.navbar-brand img {
  height: 25px;
}

.logo {
  height: 25px;
  transition: opacity .25s ease;
}

.custom-navbar.city .logo-dark {
  display: none;
}

.custom-navbar.city .logo-white {
  display: block;
}

.custom-navbar.is-scrolled .logo-white {
  display: none;
}

.custom-navbar.is-scrolled .logo-dark {
  display: block;
}

/* ============================================
   BURGER MENU - RED THEME
   ============================================ */
.burger-menu span {
  background: #1f2937;
}

.custom-navbar.city .burger-menu span {
  background: #1f2937;
}

.custom-navbar.scrolled .burger-menu span,
.custom-navbar.is-scrolled .burger-menu span {
  background: #dc2626;
}

body:has(.custom-navbar.city.fixed-top):not(:has(:target)) 
.custom-navbar.city .burger-menu span {
  background: #1f2937;
}

/* ============================================
   DROPDOWN MENUS
   ============================================ */
.home-dd,
.nav-new-dd {
  position: relative;
}

.home-dd-menu,
.nav-new-menu {
  position: absolute;
  top: 47px;
  left: 100%;
  transform: translateX(-50%);
  background: rgba(11,15,15,.88) !important;
  border: 1px solid rgba(255,255,255,.05) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  z-index: 99;
}

.home-dd-menu {
  display: flex;
  gap: 20px;
  padding: 30px;
}

.nav-new-menu {
  min-width: 200px;
}

.home-dd:hover .home-dd-menu,
.nav-new-dd:hover .nav-new-menu {
  opacity: 1;
  visibility: visible;
}

.home-dd-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  width: 150px;
  flex-shrink: 0;
}

.home-dd-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
  transition: .25s ease;
}

.home-dd-item:hover img {
  opacity: .7;
}

.home-dd-item span {
  opacity: .9;
}

.nav-new-item {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: .15s ease;
}

.nav-new-item:hover {
  color: rgba(255,255,255,.7);
  background: #2c3032 !important;
}

/* ============================================
   CHECK ICONS - RED THEME
   ============================================ */
.bi-check-circle-fill {
  color: #dc2626;
  font-size: 24px;
  flex-shrink: 0;
}

/* ============================================
   FAQ SECTION - RED THEME
   ============================================ */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  padding: .5rem 1.25rem;
  background: #ffffff;
  border: none !important;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1f2937;
}

.faq-question:hover {
  background: var(--primary-light);
  color: #dc2626;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #dc2626;
  margin-left: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  background: var(--primary-light);
  border-color: #dc2626;
  color: #dc2626;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
  color: #dc2626;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 0px;
  background: #fff;
}

.faq-answer p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: #666;
  line-height: 1.6;
}

body.white .faq-item.active .faq-answer p {
  color: #666;
}

/* ============================================
   FOOTER - RED THEME
   ============================================ */
footer {
  background: #1f2937;
  color: #ffffff !important;
}

footer p {
  color: #fff !important;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dc2626 !important;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #dc2626;
  color: #ffffff !important;
  transform: translateY(-3px);
}

/* ============================================
   BACK TO TOP - RED THEME
   ============================================ */
.back-to-top,
.back-to-top::before {
  background: var(--gradient-primary) !important;
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

/* ============================================
   FORMS - RED THEME
   ============================================ */
#form-message {
  color: #dc2626 !important;
}

.form-control:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.15);
}

.custom-input input:focus {
  border-color: #dc2626;
}

.date-picker-popup td:hover {
  background: #dc2626 !important;
}

/* ============================================
   VIRTUAL TOUR BUTTON - RED THEME
   ============================================ */
.main-play-btn {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.main-play-btn .play-btn {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.main-play-btn .play-btn::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.main-play-btn .play-btn i {
  font-size: 40px;
  color: #dc2626;
  margin-left: 5px;
}

.main-play-btn:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.main-play-btn .title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   EXPERIENCE CARDS - RED THEME
   ============================================ */
.experience-card {
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(220, 38, 38, 0.2);
  border-color: #dc2626;
}

.experience-card .imgcard {
  overflow: hidden;
  height: 200px;
}

.experience-card .imgcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.experience-card:hover .imgcard img {
  transform: scale(1.1);
}

.experience-card .experience-body h6 {
  color: #1f2937;
  font-weight: 700;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.experience-card:hover .experience-body h6 {
  color: #dc2626;
}

/* ============================================
   TESTIMONIALS - STAR RATINGS
   ============================================ */
.bi-star-fill.text-warning {
  color: #f59e0b !important;
}

/* ============================================
   LIGHTBOX - RED THEME
   ============================================ */
.gallery-lightbox .lightbox-overlay {
  background: rgba(31, 41, 55, 0.95);
}

.lightbox-close {
  background: #dc2626;
  color: #ffffff;
}

.lightbox-close:hover {
  background: #b91c1c;
  transform: rotate(90deg);
}

/* ============================================
   UTILITY CLASSES - RED THEME
   ============================================ */
.industrial-gradient {
  background: var(--gradient-primary);
}

.industrial-border {
  border: 2px solid #dc2626;
}

.industrial-shadow {
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
}

.industrial-text {
  color: #dc2626;
  font-weight: 600;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   IMAGE HOVER EFFECTS
   ============================================ */
.img-fluid {
  transition: all 0.3s ease;
}

.rounded-3:hover {
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.2);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 992px) {
  .highlight-bg{
    background-size: auto 100%;
  }

  body.white .custom-navbar.city {
    background: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(100px) saturate(120%);
  }

  .custom-navbar.city .navbar-nav {
    background: #ffffff;
    padding: 120px 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.1);
  }
  
  .custom-navbar.city .nav-link::after {
    display: none;
  }

  .navbar.navbar-expand-lg.fixed-top.shadow-sm.custom-navbar.city.is-scrolled {
    background: #ffffff !important;
  }

  .navbar-brand.fw-bold {
    z-index: 9999;
  }

  .custom-navbar.city .logo-dark {
    display: block !important;
  }

  .custom-navbar.city .logo-white {
    display: none !important;
  }

  .navbar.navbar-expand-lg.fixed-top.shadow-sm.custom-navbar.city.is-scrolled .nav-link {
    color: #1f2937 !important;
  }

  .navbar.navbar-expand-lg.fixed-top.shadow-sm.custom-navbar.city .nav-link {
    color: #1f2937 !important;
    text-align: center;
    font-size: 1.3rem;
  }

  .custom-navbar.is-scrolled .logo-white {
    display: none;
  }

  .hero-pano {
    min-height: 600px;
  }
}

@media (max-width: 768px) {
  .hero-pano {
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .main-play-btn .play-btn {
    width: 80px;
    height: 80px;
  }
  
  .main-play-btn .play-btn i {
    font-size: 32px;
  }
}