/* ==========================================================================
   ÇEKSAN SWEEPERS - OFFICIAL WEBSITE STYLESHEET
   Slogan: "For a Cleaner World"
   Color Palette:
     - Navy Primary: #004587
     - Cyan Accent:  #0098d8 / #00adee
     - Deep Dark:    #07152b / #0d1e38
     - Clean Light:  #f8fafc / #ffffff
   ========================================================================== */

:root {
  --primary: #004587;
  --primary-hover: #00366a;
  --primary-light: #e6f0fa;
  --accent: #0098d8;
  --accent-cyan: #00adee;
  --accent-glow: rgba(0, 152, 216, 0.25);
  --green-eco: #10b981;
  --green-eco-glow: rgba(16, 185, 129, 0.25);
  
  --dark-900: #071224;
  --dark-800: #0d1c38;
  --dark-700: #15294e;
  --dark-600: #1e3a6d;
  
  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50:  #f8fafc;
  --white:    #ffffff;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Montserrat', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(7, 21, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(7, 21, 43, 0.08);
  --shadow-lg: 0 16px 40px rgba(7, 21, 43, 0.12);
  --shadow-glow: 0 0 35px rgba(0, 152, 216, 0.35);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 1040px;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: var(--dark-900);
  color: var(--gray-300);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-slogan {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.top-bar-slogan .dot {
  width: 6px;
  height: 6px;
  background: var(--green-eco);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--green-eco);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-300);
}

.top-bar-link:hover {
  color: var(--accent-cyan);
}

.top-lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.top-lang-switch span.active {
  color: var(--accent-cyan);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 69, 135, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

.brand-badge {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
  line-height: 1.15;
}

.brand-badge .slogan {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand-badge .sub {
  font-size: 0.6875rem;
  color: var(--gray-500);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-800);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

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

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary);
}

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

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--white);
  min-width: 260px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 0.75rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 500;
}

.dropdown-item a:hover {
  background: var(--gray-50);
  color: var(--primary);
  padding-left: 1.5rem;
}

/* Mega Menu for Products */
.mega-menu-wrapper {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 20px 45px rgba(7, 21, 43, 0.16);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--gray-200);
  padding: 2.5rem 0 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 1100;
}

.mega-menu-wrapper:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 280px;
  gap: 1.75rem;
}

.mega-col-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-col-title .badge-count {
  font-size: 0.6875rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.mega-item {
  display: flex;
  flex-direction: column;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: var(--transition);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.mega-item:hover {
  background: var(--white);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 69, 135, 0.12);
}

.mega-item-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(0, 69, 135, 0.08);
  color: var(--primary);
  letter-spacing: 0.3px;
  z-index: 2;
}

.mega-item-badge.eco {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-eco);
}

.mega-item-img-wrap {
  width: 100%;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  overflow: hidden;
}

.mega-item-img {
  max-width: 100%;
  max-height: 98px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.14));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.mega-item:hover .mega-item-img {
  transform: scale(1.12);
  filter: drop-shadow(0 10px 18px rgba(0, 69, 135, 0.22));
}

.mega-item-info h4 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-item-info p {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.3;
}

.mega-featured-card {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--primary) 100%);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 173, 238, 0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.mega-featured-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.mega-featured-card p {
  font-size: 0.8125rem;
  color: var(--gray-300);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 69, 135, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(0, 69, 135, 0.45);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 152, 216, 0.3);
}

.btn-accent:hover {
  background: var(--accent-cyan);
  box-shadow: 0 6px 20px rgba(0, 152, 216, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

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

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

.btn-outline-white:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--dark-900);
}

.btn-eco {
  background: var(--green-eco);
  color: var(--white);
  box-shadow: 0 4px 14px var(--green-eco-glow);
}

.btn-eco:hover {
  background: #0d9668;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--gray-900);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION - FULL-PHOTO EDGE-TO-EDGE CINEMATIC SLIDER
   ========================================================================== */
.hero-slider-wrap {
  position: relative;
  width: 100%;
  height: 84vh;
  min-height: 680px;
  max-height: 860px;
  background: var(--dark-900);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.85s;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 6.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(7, 18, 36, 0.95) 0%, 
    rgba(7, 18, 36, 0.82) 42%, 
    rgba(7, 18, 36, 0.45) 75%, 
    rgba(7, 18, 36, 0.7) 100%
  );
  z-index: 2;
}

.hero-slide-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(0, 152, 216, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-slide-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-bottom: 3.5rem;
}

.hero-slide-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

/* Slide Caption Animations */
.hero-slide.active .hero-pill {
  animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-slide.active .hero-title {
  animation: slideInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-slide.active .hero-desc {
  animation: slideInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-slide.active .hero-actions {
  animation: slideInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.hero-slide.active .hero-stats {
  animation: slideInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.hero-slide.active .hero-slide-badge-card {
  animation: slideInRight 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

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

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 152, 216, 0.2);
  border: 1px solid rgba(0, 173, 238, 0.45);
  color: var(--accent-cyan);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
}

.hero-pill.eco {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: var(--green-eco);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-title span.highlight {
  background: linear-gradient(90deg, #38bdf8 0%, #00adee 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-title span.highlight-green {
  background: linear-gradient(90deg, #34d399 0%, #10b981 60%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--gray-300);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 560px;
}

.hero-stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-item .stat-num span {
  color: var(--accent-cyan);
}

.hero-stat-item .stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Floating Right Card in Slide */
.hero-slide-badge-card {
  background: rgba(13, 28, 56, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 173, 238, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.hero-slide-badge-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 152, 216, 0.3) 0%, transparent 70%);
}

.hero-slide-badge-card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.hero-slide-badge-card .model-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-slide-badge-card .model-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-slide-badge-card .model-desc {
  font-size: 0.875rem;
  color: var(--gray-300);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.hero-slide-specs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-spec-col .s-label {
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}

.hero-spec-col .s-val {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
}

/* Slider Controls: Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(7, 18, 36, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 25px rgba(0, 152, 216, 0.5);
}

.slider-arrow.prev {
  left: 2rem;
}

.slider-arrow.next {
  right: 2rem;
}

/* Bottom Slider Nav & Progress */
.slider-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(to top, rgba(7, 18, 36, 0.95) 0%, rgba(7, 18, 36, 0.4) 70%, transparent 100%);
  padding: 1rem 0 1.25rem;
}

.slider-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.slider-tabs {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
}

.slider-tab {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gray-300);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.slider-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.slider-tab.active {
  background: var(--primary);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 69, 135, 0.4);
}

.slider-tab .tab-num {
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 800;
}

.slider-tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent-cyan);
  width: 0%;
}

.slider-tab.active .slider-tab-progress {
  animation: tabProgress 6s linear forwards;
}

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

/* Floating WhatsApp Quick Action */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.875rem;
  transition: var(--transition);
  animation: pulseFloat 3s infinite ease-in-out;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

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

/* ==========================================================================
   VEHICLE LINEUP SELECTOR / CAROUSEL
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-light {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-dark .section-pill {
  color: var(--accent-cyan);
  background: rgba(0, 152, 216, 0.15);
  border: 1px solid rgba(0, 173, 238, 0.25);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--gray-300);
}

/* Filter Buttons */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 69, 135, 0.25);
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-700);
  z-index: 2;
}

.product-card-badge.eco {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-eco);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.product-card-badge.flagship {
  background: rgba(0, 69, 135, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 69, 135, 0.25);
}

.product-card-thumb {
  position: relative;
  height: 240px;
  background: radial-gradient(circle at center, #f8fafc 0%, #eef2f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.product-card-thumb img {
  max-height: 190px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,0.12));
}

.product-card:hover .product-card-thumb img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Specs Pills in Card */
.product-card-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.spec-pill {
  background: var(--gray-50);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.spec-pill .label {
  display: block;
  font-size: 0.6875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  font-weight: 600;
}

.spec-pill .value {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--gray-800);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ==========================================================================
   INTERACTIVE FLEET FINDER / CONFIGURATOR
   ========================================================================== */
.configurator-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.configurator-steps {
  padding: 3.5rem;
}

.config-step {
  margin-bottom: 2rem;
}

.config-step-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.config-step-title .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
}

.config-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.config-btn {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.config-btn:hover {
  border-color: var(--accent);
  background: var(--white);
}

.config-btn.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.config-btn h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

.config-btn p {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.15rem;
}

.configurator-result {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.configurator-result::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 173, 238, 0.25) 0%, transparent 70%);
}

.result-badge {
  display: inline-block;
  background: rgba(0, 173, 238, 0.2);
  border: 1px solid rgba(0, 173, 238, 0.4);
  color: var(--accent-cyan);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.result-vehicle-name {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.result-vehicle-desc {
  font-size: 0.9375rem;
  color: var(--gray-300);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.result-img-box {
  text-align: center;
  margin: 1.5rem 0;
}

.result-img-box img {
  max-height: 180px;
  margin: 0 auto;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
}

.result-specs-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.result-spec-item .label {
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-transform: uppercase;
}

.result-spec-item .val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

/* ==========================================================================
   ENGINEERING PILLARS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 152, 216, 0.25);
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ==========================================================================
   HERITAGE & GLOBAL FOOTPRINT
   ========================================================================== */
.history-banner {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.history-banner-img {
  position: relative;
  min-height: 380px;
}

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

.history-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--primary);
}

.timeline-desc {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.4;
  margin-top: 0.2rem;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE SPECIFIC (MINI-SITE EXPERIENCE)
   ========================================================================== */
.product-hero {
  background: radial-gradient(circle at 70% 30%, #173663 0%, var(--dark-900) 80%);
  color: var(--white);
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.product-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.product-breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.product-detail-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.product-detail-tagline {
  font-size: 1.125rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-detail-desc {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.product-quick-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-spec-item .q-label {
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-transform: uppercase;
  font-weight: 600;
}

.quick-spec-item .q-val {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--white);
}

.product-hero-visual {
  text-align: center;
  position: relative;
}

.product-hero-visual img {
  max-width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.7));
}

/* Sticky Subnav on Product Page */
.product-subnav {
  position: sticky;
  top: 80px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  z-index: 990;
  border-bottom: 1px solid var(--gray-200);
}

.product-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.subnav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.subnav-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
}

.subnav-link:hover, .subnav-link.active {
  color: var(--primary);
}

.subnav-link.active::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
}

/* Feature Callouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.feature-box h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Technical Specification Table */
.specs-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th {
  background: var(--dark-800);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specs-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
}

.specs-table tr:nth-child(even) td {
  background: var(--gray-50);
}

.specs-table tr:hover td {
  background: #f0f7ff;
}

.specs-table td.prop-name {
  font-weight: 700;
  color: var(--gray-900);
  width: 35%;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 260px;
  cursor: pointer;
}

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

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

/* ==========================================================================
   QUOTE / RFQ MODAL & SECTION
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 18, 36, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gray-100);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.form-group.full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-size: 0.875rem;
  color: var(--gray-900);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 69, 135, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================================
   MEGA FOOTER
   ========================================================================== */
.footer {
  background: var(--dark-900);
  color: var(--gray-300);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-slogan {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 0.65rem;
}

.footer-link-item a {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-link-item a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.footer-certs {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-cert-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gray-300);
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title { font-size: 2.85rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .mega-menu-grid { grid-template-columns: repeat(3, 1fr); }
  .mega-featured-card { display: none; }
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { max-width: 500px; margin: 0 auto; }
  .product-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .product-quick-specs { max-width: 500px; margin: 0 auto 2rem; }
  .configurator-box { grid-template-columns: 1fr; }
  .history-banner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .subnav-links { overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.25rem; }
  .product-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .config-options { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .configurator-steps, .configurator-result { padding: 2rem; }
}

/* ==========================================================================
   IMAGE LIGHTBOX MODAL & INTERACTIVE GALLERY
   ========================================================================== */
.gallery-item {
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 18, 36, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 36, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 2rem;
}

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

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.3px;
}

.lightbox-counter {
  font-size: 0.8125rem;
  color: var(--accent-cyan);
  margin-top: 0.35rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.5rem;
  z-index: 2510;
}

.lightbox-close:hover {
  background: var(--accent);
  color: var(--white);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2510;
}

.lightbox-nav-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}
