/* ========================================
   BARI 91 INC - Modern Website Styles
   ======================================== */

/* CSS Variables */
:root {
  --red: #C41E2A;
  --red-dark: #9B1520;
  --red-light: #E8323E;
  --dark: #0D0D0D;
  --dark-gray: #1A1A1A;
  --medium-gray: #2D2D2D;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --text-light: #B0B0B0;
  --text-muted: #888888;
  --gold: #D4A853;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 60px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --radius-lg: 20px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }

.section-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 30, 42, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}

.btn-white:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 12px 28px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 20px 48px;
  font-size: 1.1rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.05);
  filter: brightness(1.15);
}

.navbar.scrolled .nav-logo img {
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

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

.nav-cta {
  padding: 10px 24px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--red-light) !important;
  box-shadow: 0 4px 20px rgba(196, 30, 42, 0.4);
}

.nav-cta::after {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--red);
}

/* ========================================
   HERO SECTION — VIDEO BG + POSITION SLIDER
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg video.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg video.hero-video.active {
  opacity: 1;
}

.hero-bg .hero-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(13, 13, 13, 0.88) 0%,
    rgba(13, 13, 13, 0.65) 40%,
    rgba(13, 13, 13, 0.45) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 30, 42, 0.15);
  border: 1px solid rgba(196, 30, 42, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--red-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* === HERO SLIDER === */
.hero-slider {
  position: relative;
  min-height: 420px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(60px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.6s;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
}

.hero-slide.exit-left {
  opacity: 0;
  transform: translateX(-60px);
}

.hero-slide.exit-right {
  opacity: 0;
  transform: translateX(60px);
}

.hero-slide h1 {
  margin-bottom: 12px;
}

.hero-slide h1 span {
  display: block;
}

.slide-up-text {
  display: inline-block;
  animation: slideUpFade 0.5s ease both;
}

.hero-slide.active .slide-up-text:nth-child(1) { animation-delay: 0.1s; }
.hero-slide.active .slide-up-text:nth-child(2) { animation-delay: 0.2s; }

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pay highlight */
.hero-pay {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.pay-number {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 30px rgba(196, 30, 42, 0.3);
}

.pay-unit {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--text-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
  max-width: 580px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-features li i {
  color: var(--red);
  font-size: 0.85rem;
  width: 20px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === SLIDER NAVIGATION === */
.hero-slider-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.slider-arrow:hover {
  border-color: var(--red);
  background: var(--red);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 8px;
  flex: 1;
}

.slider-dot {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.slider-dot .dot-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.slider-dot .dot-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  border-radius: 0 0 8px 8px;
  transition: none;
}

.slider-dot.active {
  border-color: rgba(196, 30, 42, 0.3);
  background: rgba(196, 30, 42, 0.08);
}

.slider-dot.active .dot-label {
  color: var(--white);
}

.slider-dot.active .dot-progress {
  animation: progressFill 5s linear forwards;
}

.slider-dot:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.slider-dot:hover .dot-label {
  color: var(--white);
}

@keyframes progressFill {
  from { width: 0; }
  to { width: 100%; }
}

/* === STATS === */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat h3 {
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 800;
}

.hero-stat h3 span {
  color: var(--red);
}

.hero-stat p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ========================================
   SECTION COMMON
   ======================================== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ========================================
   POSITIONS / SERVICES CARDS
   ======================================== */
.positions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.position-card {
  background: var(--dark-gray);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
  border: 1px solid rgba(255,255,255,0.05);
}

.position-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

.position-card:hover {
  transform: translateY(-8px);
  border-color: rgba(196, 30, 42, 0.2);
  box-shadow: var(--shadow-lg);
}

.position-card:hover::before {
  transform: scaleX(1);
}

.position-icon {
  width: 64px;
  height: 64px;
  background: rgba(196, 30, 42, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 1.8rem;
  transition: var(--transition);
}

.position-card:hover .position-icon {
  background: var(--red);
  transform: scale(1.1);
}

.position-card h3 {
  margin-bottom: 16px;
}

.position-card .pay-highlight {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 16px;
}

.position-card .pay-highlight small {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.position-card p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.position-features {
  margin-bottom: 32px;
}

.position-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-light);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.position-features li:last-child {
  border-bottom: none;
}

.position-features li .check {
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.position-card .btn {
  width: 100%;
  justify-content: center;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.8s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image .experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--red);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
}

.about-image .experience-badge h3 {
  font-size: 2.5rem;
  line-height: 1;
}

.about-image .experience-badge p {
  font-size: 0.85rem;
  opacity: 0.9;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--dark-gray);
  border-radius: var(--radius);
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--medium-gray);
  transform: translateX(4px);
}

.about-feature .icon {
  width: 44px;
  height: 44px;
  background: rgba(196, 30, 42, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* ========================================
   BENEFITS SECTION
   ======================================== */
.benefits-section {
  background: var(--dark-gray);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--medium-gray);
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
  border: 1px solid rgba(255,255,255,0.03);
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 30, 42, 0.15);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.benefit-card h4 {
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   FLEET / GALLERY SECTION
   ======================================== */
.fleet-section {
  background: var(--dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.8), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Gallery Page Full */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-page-grid .gallery-item {
  aspect-ratio: 16/10;
}

.gallery-page-grid .gallery-item.wide {
  grid-column: span 2;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-banner .cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner .cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 30, 42, 0.9), rgba(155, 21, 32, 0.95));
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   REQUIREMENTS SECTION
   ======================================== */
.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.req-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.req-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--dark-gray);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.req-item:hover {
  border-color: rgba(196, 30, 42, 0.2);
  transform: translateX(4px);
}

.req-item .req-icon {
  width: 48px;
  height: 48px;
  background: rgba(196, 30, 42, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.req-item .req-text h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.req-item .req-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========================================
   DETAIL PAGE HERO
   ======================================== */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,13,0.95), rgba(13,13,13,0.5));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.page-hero-content .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.page-hero-content .breadcrumb a:hover {
  color: var(--red);
}

.page-hero-content .breadcrumb .sep {
  color: var(--text-muted);
}

.page-hero-content h1 {
  margin-bottom: 16px;
}

.page-hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
}

/* ========================================
   DETAIL SECTIONS (Lease, Company, Owner)
   ======================================== */
.detail-section {
  padding: 80px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.detail-main h2 {
  margin-bottom: 24px;
}

.detail-main h3 {
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--red);
}

.detail-main p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--dark-gray);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.05);
}

.sidebar-card h4 {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-card .info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
}

.sidebar-card .info-row:last-child {
  border-bottom: none;
}

.sidebar-card .info-row .label {
  color: var(--text-muted);
}

.sidebar-card .info-row .value {
  font-weight: 600;
  color: var(--white);
}

.sidebar-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}

/* Cost breakdown table */
.cost-table {
  width: 100%;
  margin: 24px 0;
}

.cost-table .cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-radius: 8px;
  transition: var(--transition);
}

.cost-table .cost-row:nth-child(odd) {
  background: rgba(255,255,255,0.02);
}

.cost-table .cost-row:hover {
  background: rgba(196, 30, 42, 0.05);
}

.cost-table .cost-row .cost-label {
  color: var(--text-light);
}

.cost-table .cost-row .cost-value {
  font-weight: 600;
  color: var(--white);
}

.cost-table .cost-row .cost-freq {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.cost-category {
  margin-top: 32px;
  margin-bottom: 16px;
  padding: 12px 20px;
  background: rgba(196, 30, 42, 0.1);
  border-radius: 8px;
  border-left: 3px solid var(--red);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 56px;
  height: 56px;
  background: rgba(196, 30, 42, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--red);
}

.contact-item a:hover {
  color: var(--red-light);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-link {
  width: 48px;
  height: 48px;
  background: var(--dark-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--dark-gray);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand .nav-logo img {
  height: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--red);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom .dot-info {
  display: flex;
  gap: 24px;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--red);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--red);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(8px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slideInCounter {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.8s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .positions-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 350px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-page-grid .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  section { padding: 70px 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .hero { min-height: 100svh; }

  .hero-slider { min-height: 380px; }

  .hero-pay .pay-number { font-size: 3rem; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-slider-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .slider-dots {
    order: 3;
    width: 100%;
    gap: 6px;
  }

  .slider-dot {
    padding: 8px 10px;
  }

  .slider-dot .dot-label {
    font-size: 0.7rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-features li {
    font-size: 0.85rem;
  }

  .positions-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.featured {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .gallery-page-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page-grid .gallery-item.wide {
    grid-column: span 1;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  html { font-size: 14px; }

  .container { padding: 0 16px; }

  .position-card {
    padding: 36px 24px;
  }

  .hero-content {
    padding-top: 80px;
  }
}

/* ========================================
   LOADING / PAGE TRANSITION
   ======================================== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  animation: pulse 1.5s infinite;
}

.loader-logo img {
  height: 80px;
  width: auto;
}

/* Utility */
.bg-dark { background: var(--dark); }
.bg-darker { background: var(--dark-gray); }
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
