/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');
@import './project-modal.css';

:root {
  /* Color Palette */
  --color-bg-primary: #f5f5f7;
  --color-bg-secondary: #ffffff;
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-accent: #d4af37;
  /* Metallic Gold */
  --color-accent-hover: #b89628;
  --color-thermal: #607d8b;
  --color-blackout: #0f0f0f;
  --color-bg-dark: #121212;
  --color-text-inverse: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Utilities */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
  --transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-sm);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

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

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

ul {
  list-style: none;
}

/* Components */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--color-accent);
  z-index: 2000;
  width: 0%;
  transition: width 0.1s ease;
}

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

.btn {
  display: inline-flex;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--color-text-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent);
  color: #000;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--color-text-primary);
  color: var(--color-text-primary);
}

.btn-outline:hover {
  background: var(--color-text-primary);
  color: #fff;
}

/* Setup & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--color-text-primary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo .tm {
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 2px;
  margin-top: -10px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
  color: var(--color-accent);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 2px;
  background: #000;
  transition: 0.3s;
}

/* Hero */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  /* Fill container completely (no gaps) */
  background-repeat: no-repeat;
  background-position: center;
  /* Enhance clarity and contrast as requested */
  filter: contrast(1.2) brightness(1.1);
  /* Matching site bg color for gaps */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* Removed filter: brightness(0.6) for clearer images */
}

.hero-slide.active {
  opacity: 1;
}

.slider-nav-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  z-index: 10;
  cursor: pointer;
  /* Optional: hover effect to indicate interactivity */
  /* background: rgba(255,255,255,0.05); */
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  pointer-events: none;
  /* Let clicks pass through to slider zones if not on buttons */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content * {
  pointer-events: auto;
}

/* Re-enable pointer events for text/buttons */

/* Subtle gradient overlay to help text readability without darkening whole image */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradient removed for brighter image */
  background: none;
  z-index: 0;
  pointer-events: none;
}

.hero-title {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-cta .btn-outline {
  border-color: #fff;
  color: #fff;
  border-width: 2px;
}

.hero-cta .btn-outline:hover {
  background: #fff;
  color: #000;
}

/* Animation class for pop-in effect */
.pop-in {
  animation: popIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 10;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 2s infinite ease-in-out;
}

@keyframes scrollMouse {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

/* Why Section */
.section-why {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.why-item {
  text-align: center;
  padding: 2rem;
  transition: var(--transition);
}

.why-item:hover {
  transform: translateY(-5px);
}

.why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 100%;
  height: 100%;
}

.why-item h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.why-item p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Sections */
.section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .eyebrow {
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

/* Grids */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

/* Cards & Features */
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 2rem;
}

.feature-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 1rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
  color: var(--color-text-secondary);
}

/* Specific Images */
#honeycomb-img-placeholder {
  background-image: url('./assets/honeycomb-lifestyle.jpg');
}

#pleated-img-placeholder {
  background-image: url('./assets/pleated.png');
}

/* Mounting Options Section */
.section-full-width {
  padding: 0;
  margin: 0 0 var(--spacing-xl) 0;
}

.mounting-options-wrapper {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 0;
  min-height: 650px;
  max-height: 700px;
}

.mounting-content {
  background: #4a4a4a;
  color: #fff;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mounting-content h2 {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  font-weight: 700;
}

.mounting-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.mounting-item {
  display: grid;
  grid-template-columns: 200px 40px 1fr;
  gap: var(--spacing-sm);
  align-items: start;
}

.mounting-label {
  background: none;
  border: none;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  font-family: inherit;
}

.mounting-label:hover {
  opacity: 0.8;
  transform: translateX(5px);
}

.mounting-label.active {
  text-decoration: underline;
}

.mounting-arrow {
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: 300;
}

.mounting-description {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.mounting-image-container {
  position: relative;
  min-height: 650px;
  max-height: 700px;
  overflow: hidden;
}

.mounting-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.mounting-image.active {
  opacity: 1;
  pointer-events: auto;
}

/* Placeholder images - will be replaced with actual photos */
#mounting-img-glazing {
  background-image: url('./assets/mounting-glazing.jpg');
  background-color: #f0f0f0;
}

#mounting-img-frame {
  background-image: url('./assets/mounting-frame.jpg');
  background-color: #f0f0f0;
}

#mounting-img-front {
  background-image: url('./assets/mounting-front.jpg');
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  .mounting-options-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
  }

  .mounting-content {
    padding: 2rem;
  }

  .mounting-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .mounting-arrow {
    display: none;
  }

  .mounting-image-container {
    min-height: 300px;
    max-height: 400px;
  }
}



/* Blackout Video Section */
.video-side {
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.blackout-video {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
}


#commercial-img-placeholder {
  background-image: url('./assets/commercial.png');
  background-size: cover;
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-md);
}

/* Dark Section */
.dark-section {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.dark-section h2,
.dark-section h3,
.dark-section h4 {
  color: #fff;
}

.dark-section p,
.dark-section li {
  color: rgba(255, 255, 255, 0.7);
}

.dark-section .btn-outline {
  border-color: #fff;
  color: #fff;
}

.image-side {
  height: 100%;
  min-height: 400px;
}

/* Product Range */
.bg-light {
  background: #fff;
}

.product-item {
  padding: 2rem;
  background: var(--color-bg-primary);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.product-item:hover {
  background: var(--color-text-primary);
  color: #fff;
}

.product-item:hover p,
.product-item:hover h3 {
  color: #fff;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.benefit-item h4 {
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

/* LEHA Style Footer */
.footer-pre {
  background-color: #D6FF01;
  padding: 1.5rem 0;
  text-align: center;
  color: #1a1a1a;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer-pre a {
  color: #1a1a1a;
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: 600;
}

.footer-section {
  background-color: #2E2E2E;
  color: #FFFFFF;
  padding: 5rem 0 0;
  border: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.footer-col p,
.footer-col ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #FFFFFF;
  transition: opacity 0.3s ease;
}

.footer-col ul li a:hover {
  opacity: 0.7;
}

.footer-col .highlight {
  color: #D6FF01;
  font-weight: 600;
}

.footer-bottom-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.footer-logo .tm {
  font-size: 0.6rem;
  margin-left: 2px;
  margin-top: -8px;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: #FFFFFF;
  font-size: 1.1rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  opacity: 1;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-strip {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .mobile-menu-btn.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  h1 {
    font-size: 2.5rem;
  }

  .grid-2-col {
    grid-template-columns: 1fr;
  }

  .reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--spacing-md);
  }

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

/* Privacy Banner */
.privacy-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.privacy-banner.visible {
  transform: translateY(0);
}

.privacy-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.privacy-content p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--color-text-secondary);
  max-width: 800px;
}

.privacy-buttons {
  display: flex;
  gap: 1rem;
}

@media (min-width: 768px) {
  .privacy-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .privacy-content p {
    text-align: left;
    padding-right: 2rem;
  }
}

/* Product Page Specifics */
.product-grid {
  margin-top: 2rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

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

.product-image-container {
  height: 250px;
  background: #f0f0f0;
  overflow: hidden;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: #000;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-category {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Specific Assets Mapping */
.prod-pleated-basic {
  background-image: url('./assets/pleated.png');
}

.prod-honeycomb-basic {
  background-image: url('./assets/honeycomb-basic.jpg');
  background-position: center top;
}

.prod-pleated-premium {
  background-image: url('./assets/pleated-lifestyle.jpg');
}

.prod-honeycomb-premium {
  background-image: url('./assets/honeycomb-blackout.jpg');
}

.prod-roller {
  background-image: url('./assets/roller-blind-new.jpg');
}

.prod-zebra {
  background-image: url('./assets/zebra-blinds-new.jpg');
}

.prod-wooden {
  background-image: url('./assets/wooden-basswood.jpg');
}

.prod-curtain {
  background-image: url('./assets/curtain-lifestyle.jpg');
}

.product-card:hover .product-placeholder {
  transform: scale(1.05);
}

.product-details {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-details h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.btn-text {
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
  font-size: 0.9rem;
}

.btn-text:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* Split Screen Page */
.split-screen-container {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  margin-top: 0;
  /* Header is fixed, layout handles it */
}

.split-panel {
  position: relative;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.panel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.5s;
}

.panel-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  transform: translateY(0);
  transition: transform 0.6s ease, opacity 0.6s ease;
  padding: 2rem;
}

.split-panel h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.panel-subtitle {
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-transform: uppercase;
  font-weight: 300;
}

.btn-light {
  border-color: #fff;
  color: #fff;
  border-width: 1px;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.btn-light:hover {
  background: #fff;
  color: #000;
}

/* Hover Interactions */
@media (min-width: 768px) {
  .split-panel:hover {
    width: 60%;
  }

  /* When hovering one, the other shrinks */
  .split-screen-container:hover .split-panel:not(:hover) {
    width: 40%;
  }

  .split-panel:hover .panel-bg {
    transform: scale(1.05);
  }

  .split-panel:hover .panel-overlay {
    background: rgba(0, 0, 0, 0.1);
  }
}

/* Mobile Stack */
@media (max-width: 768px) {
  .split-screen-container {
    flex-direction: column;
  }

  .split-panel {
    width: 100%;
    height: 50%;
  }
}

/* BLACKOUT Technical Engineering Section */
.tech-section {
  background-color: #0f0f0f;
  padding: var(--spacing-xl) 0;
  color: #ffffff;
  overflow: hidden;
}

.tech-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.tech-header .logo {
  font-size: 1.5rem;
  opacity: 0.5;
  justify-content: center;
  color: #ffffff;
}

.tech-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-top: 1rem;
  font-size: 2.5rem;
  background: linear-gradient(to bottom, #ffffff, #888888);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.tech-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.tech-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.tech-card:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Specific grid layouts for 5 items in 6 columns */
.tech-card:nth-child(1) {
  grid-column: span 3;
}

.tech-card:nth-child(2) {
  grid-column: span 3;
}

.tech-card:nth-child(3) {
  grid-column: span 2;
}

.tech-card:nth-child(4) {
  grid-column: span 2;
}

.tech-card:nth-child(5) {
  grid-column: span 2;
}

.tech-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.tech-feature {
  margin-bottom: 1.5rem;
}

.tech-feature:last-child {
  margin-bottom: 0;
}

.tech-feature strong {
  display: block;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.tech-feature p {
  color: #a0a0a0;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-card:nth-child(1),
  .tech-card:nth-child(2),
  .tech-card:nth-child(3),
  .tech-card:nth-child(4),
  .tech-card:nth-child(5) {
    grid-column: span 1;
  }

  .tech-card:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-card:nth-child(5) {
    grid-column: span 1;
  }
}