/* ----------------------------------------------------
   DESIGN SYSTEM & VARIABLES
   ---------------------------------------------------- */
:root {
  /* Colors */
  --color-bg-base: #06090d;
  --color-bg-darker: #030507;
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-text-muted: rgba(255, 255, 255, 0.4);
  --color-accent: #d4af37; /* Subtle elegant gold accent, if needed, otherwise steel white */
  --color-steel: rgba(224, 235, 255, 0.8);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(255, 255, 255, 0.3);

  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ----------------------------------------------------
   RESET & BASE STYLES
   ---------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ----------------------------------------------------
   BACKGROUND AMBIENT (VIDEO & LIGHTS)
   ---------------------------------------------------- */
.video-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background-color: var(--color-bg-base);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1; /* Full brightness and color */
  transition: opacity 1.5s ease;
}

/* Volumetric Light Cone Effect */
.volumetric-light {
  display: none; /* Removed color filter overlay */
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 100vh;
  background: radial-gradient(
    ellipse at top center,
    rgba(224, 235, 255, 0.15) 0%,
    rgba(224, 235, 255, 0.08) 30%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  transition: transform 0.1s ease-out;
}

/* Vignette shadow overlay */
.dark-vignette {
  display: none; /* Removed color filter overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Fade to black bottom gradient */
.bottom-gradient {
  display: none; /* Removed color filter overlay */
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25vh;
  background: linear-gradient(to top, var(--color-bg-base) 0%, rgba(6, 9, 13, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ----------------------------------------------------
   HEADER & NAVIGATION
   ---------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 102;
  padding: 2rem 0;
  background: linear-gradient(to bottom, rgba(3, 5, 7, 0.8) 0%, rgba(3, 5, 7, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Group */
.logo-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 102;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo-group:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-text-primary);
}

.tagline {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Desktop Nav */
.desktop-nav ul {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: var(--color-text-primary);
}

/* Hamburger button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  z-index: 102;
  position: relative;
}

.bar {
  width: 100%;
  height: 1.5px;
  background-color: var(--color-text-primary);
  transition: var(--transition-smooth);
}

/* Active hamburger icon state */
.mobile-menu-btn.active .bar-top {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .bar-mid {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-btn.active .bar-bot {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(3, 5, 7, 0.98);
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

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

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  color: var(--color-text-secondary);
}

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

/* ----------------------------------------------------
   HERO CONTENT
   ---------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px; /* Header spacing */
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 4%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  min-height: 70vh;
  position: relative;
}

/* Left Content Column */
.hero-content-left {
  max-width: 600px;
  z-index: 10;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin-bottom: 1.8rem;
}

.hero-title .highlight {
  font-weight: 300;
  color: var(--color-steel);
  opacity: 0.9;
}

.hero-description {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

/* Call to Action Button */
.hero-cta-wrapper {
  display: flex;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-text-primary);
  padding: 0.8rem 0;
  position: relative;
  overflow: visible;
}

.cta-arrow {
  color: var(--color-steel);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cta-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 1px;
  background-color: var(--color-text-primary);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* CTA Hover States */
.cta-btn:hover .cta-arrow {
  transform: translateX(8px);
}

.cta-btn:hover .cta-underline {
  width: 100%;
}

/* Center Logo / Watermark Overlay on Tank */
.hero-tank-watermark {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.watermark-icon {
  color: var(--color-steel);
  opacity: 0.2;
  margin-bottom: 1.2rem;
  animation: logoPulse 8s ease-in-out infinite alternate;
}

.watermark-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--color-text-primary);
  opacity: 0.35;
  text-align: center;
  margin-left: 0.35em; /* Compensate for letter-spacing offset */
}

.watermark-tagline {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--color-text-secondary);
  opacity: 0.25;
  text-align: center;
  margin-top: 0.5rem;
  margin-left: 0.4em;
}

/* ----------------------------------------------------
   BOTTOM INDICATORS
   ---------------------------------------------------- */
.hero-bottom-indicators {
  position: absolute;
  bottom: 4%;
  left: 4%;
  right: 4%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
  pointer-events: none;
}

/* Left: Discover indicator */
.bottom-left-discover {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.indicator-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.indicator-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--color-text-primary);
  opacity: 0.8;
}

.indicator-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-text-primary) 0%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0.6;
}

.discover-text {
  display: flex;
  flex-direction: column;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.discover-text strong {
  font-weight: 500;
  color: var(--color-text-primary);
}

/* Right: Scroll indicator */
.bottom-right-scroll {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scroll-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.scroll-text strong {
  font-weight: 500;
  color: var(--color-text-primary);
}

/* Bouncing Mouse Icon */
.scroll-mouse-icon {
  width: 18px;
  height: 28px;
  border: 1px solid var(--color-text-muted);
  border-radius: 10px;
  position: relative;
  opacity: 0.7;
}

.mouse-wheel {
  width: 2px;
  height: 6px;
  background-color: var(--color-text-primary);
  border-radius: 1px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* ----------------------------------------------------
   LOAD & KEYFRAME ANIMATIONS (Subtle & Elegant)
   ---------------------------------------------------- */

/* Reveal animation on page load */
.reveal-on-load {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

/* Watermark subtle pulsing */
@keyframes logoPulse {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.03);
    opacity: 0.25;
  }
}

/* Mouse wheel bounce */
@keyframes mouseScroll {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, 8px);
    opacity: 0;
  }
  50.1% {
    transform: translate(-50%, -4px);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

/* ----------------------------------------------------
   SECTION LAYOUTS & THEMES (Alternating Light/Dark)
   ---------------------------------------------------- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
  width: 100%;
}

.grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Base Section Styling */
section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

/* Light Theme Section */
.section-light {
  background-color: #fbfcff;
  color: #111827;
  position: relative;
  z-index: 1;
}

.section-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(6, 40, 90, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 40, 90, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
  pointer-events: none;
  z-index: -1;
}

.section-light.border-top {
  border-top: 1px solid #f3f4f6;
}

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

/* Section Header Typography */
.section-header {
  margin-bottom: 5rem;
  text-align: center;
}

.section-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #111827;
}

.section-title.text-light {
  color: var(--color-text-primary);
}

.divider-line {
  width: 60px;
  height: 1px;
  background-color: var(--color-text-primary);
  margin: 1.5rem 0 2rem 0;
  opacity: 0.3;
}

.section-footer-link {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

/* Arrow Link Button (Light Theme) */
.arrow-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #111827;
  padding: 0.8rem 0;
  position: relative;
}

.arrow-link-btn svg {
  color: #4b5563;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.arrow-link-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 1px;
  background-color: #111827;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.arrow-link-btn:hover svg {
  transform: translateX(8px);
}

.arrow-link-btn:hover::after {
  width: 100%;
}

/* ----------------------------------------------------
   FEATURES SECTION
   ---------------------------------------------------- */
.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  color: #4b5563;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  transform: translateY(-3px);
  color: #111827;
}

.feature-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  color: #111827;
}

.feature-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: #6b7280;
}

/* ----------------------------------------------------
   PRODUCTS SECTION
   ---------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.product-image-container {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: #f9fafb;
  position: relative;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-info {
  padding: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 1.2rem;
  align-items: flex-end;
  border-top: 1px solid #f3f4f6;
}

.product-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #111827;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.product-desc {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.5;
  color: #6b7280;
}

.product-link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  transition: var(--transition-fast);
}

/* Product Card Hover States */
.product-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 30px 60px rgba(6, 40, 90, 0.06);
  transform: translateY(-8px);
}

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

.product-card:hover .product-link {
  background-color: #111827;
  color: #ffffff;
  border-color: #111827;
}

/* ----------------------------------------------------
   ABOUT US SECTION
   ---------------------------------------------------- */
.about-content {
  max-width: 520px;
}

.about-text {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.about-cta-wrapper {
  margin-top: 2.5rem;
}

/* Welding media box style */
.about-media {
  display: flex;
  justify-content: center;
}

.media-frame {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16/10;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(3, 5, 7, 0.3);
  transition: background 0.4s ease;
  pointer-events: none;
}

.play-btn {
  width: 65px;
  height: 65px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: var(--transition-fast);
  pointer-events: auto;
}

.play-text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: #ffffff;
  opacity: 0.8;
}

/* Media frame hover states */
.media-frame:hover .media-img {
  transform: scale(1.03);
}

.media-frame:hover .play-button-overlay {
  background: rgba(3, 5, 7, 0.45);
}

.media-frame:hover .play-btn {
  background-color: #ffffff;
  color: #030507;
  border-color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}

/* ----------------------------------------------------
   PROJECTS SECTION
   ---------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: #f3f4f6;
  cursor: pointer;
}

.project-img-container {
  width: 100%;
  height: 100%;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
  filter: grayscale(100%) brightness(0.9);
}

.project-hover-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.2rem 1.8rem;
  background: linear-gradient(to top, rgba(3, 5, 7, 0.9) 0%, rgba(3, 5, 7, 0) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: translateY(15px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

.project-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.project-category {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* Project Card Hover States */
.project-card:hover .project-img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(0.95);
}

.project-card:hover .project-hover-info {
  transform: translateY(0);
  opacity: 1;
}

/* ----------------------------------------------------
   CTA SECTION
   ---------------------------------------------------- */
.cta-section {
  padding: 12rem 0; /* Generous, spacious padding */
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Video in CTA */
.cta-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: var(--color-bg-base);
}

.cta-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55; /* Refined opacity to make text legible */
  transition: opacity 1s ease;
}

.cta-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(3, 5, 7, 0.5) 0%,
    rgba(3, 5, 7, 0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Centered content block */
.cta-container-centered {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 0 4%;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.cta-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.cta-button-group-centered {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ----------------------------------------------------
   SITE FOOTER
   ---------------------------------------------------- */
.site-footer {
  background-color: var(--color-bg-darker);
  color: var(--color-text-primary);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr 1fr;
  gap: 4rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-col.brand-col {
  gap: 0;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col ul a {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--color-text-primary);
  padding-left: 5px;
}

.footer-contact-item {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

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

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

.social-link:hover {
  color: var(--color-text-primary);
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.03);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--color-text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a:hover {
  color: var(--color-text-primary);
}

/* ----------------------------------------------------
   SCROLL REVEAL EFFECT
   ---------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================
   PRODUCT DETAIL PAGE STYLES
   ==================================================== */
.product-detail-page {
  padding-top: 80px; /* Make space for fixed header */
  background-color: var(--color-bg-base);
}

.detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
  width: 100%;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #9ca3af;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.breadcrumb-nav a {
  color: #6b7280;
  transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
  color: #111827;
}

.breadcrumb-separator {
  color: #d1d5db;
}

.breadcrumb-current {
  color: #111827;
}

/* Back Link */
.back-to-catalog {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #111827;
  transition: color 0.3s ease;
  margin-bottom: 3.5rem;
}

.back-to-catalog svg {
  transition: transform 0.3s ease;
}

.back-to-catalog:hover {
  color: #4b5563;
}

.back-to-catalog:hover svg {
  transform: translateX(-4px);
}

/* Main Detail Grid */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 5rem;
}

/* Gallery Column */
.detail-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 120px;
}

.main-image-viewport {
  width: 100%;
  aspect-ratio: 4/5;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  overflow: hidden;
}

.main-image-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-thumbnails-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.thumbnail-card {
  width: 75px;
  aspect-ratio: 4/5;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.thumbnail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-card:hover {
  border-color: #9ca3af;
  transform: translateY(-2px);
}

.thumbnail-card.active {
  border-color: #111827;
  box-shadow: 0 0 0 1px #111827;
}

/* Info Column */
.detail-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.product-detail-subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.8rem;
}

.product-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #111827;
  text-transform: uppercase;
  line-height: 1.2;
}

.product-detail-description {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 2.5rem;
}

/* Highlights Box */
.highlights-box {
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  padding: 2rem;
  width: 100%;
  margin-bottom: 3rem;
}

.highlights-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #111827;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.highlights-list {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.highlights-list li {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: #475569;
  list-style-type: circle;
}

/* Action Buttons */
.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  width: 100%;
}

.detail-btn svg {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.detail-btn-primary {
  background-color: #111827;
  color: #ffffff;
  border: 1px solid #111827;
}

.detail-btn-primary:hover {
  background-color: transparent;
  color: #111827;
}

.detail-btn-primary:hover svg {
  transform: scale(1.15);
}

.detail-btn-secondary {
  background-color: transparent;
  color: #4b5563;
  border: 1px solid #d1d5db;
}

.detail-btn-secondary:hover {
  border-color: #111827;
  color: #111827;
}

.detail-btn-secondary:hover svg {
  transform: translateX(4px);
}

/* Specifications Table */
.specifications-section {
  padding: 8rem 0;
}

.table-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.specs-table th {
  background-color: #f8fafc;
  color: #111827;
  padding: 1.4rem 1.8rem;
  border-bottom: 2px solid #e2e8f0;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.specs-table td {
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  line-height: 1.6;
  font-weight: 300;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:nth-child(even) td {
  background-color: #f8fafc;
}

.spec-label {
  width: 30%;
  font-weight: 500;
  color: #111827 !important;
}

/* Related Section */
.related-section {
  padding: 8rem 0;
}

/* Not Found Screen */
.full-height-centered {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.not-found-content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-icon {
  color: #ef4444;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.error-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.error-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.error-redirect {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ---------------------------------------------------- */

/* Desktops and Laptops (Medium-Wide) */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1.3fr 0.7fr;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
  }
  .footer-col.brand-col {
    grid-column: span 4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
    margin-bottom: 1rem;
  }
}

/* Tablets (Portrait & Landscape) */
@media (max-width: 1024px) {
  .site-header {
    padding: 1.5rem 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    min-height: 80vh;
    padding-top: 4vh;
  }

  .hero-content-left {
    max-width: 100%;
  }

  .hero-tank-watermark {
    top: 55%;
    transform: translate(-50%, -50%) scale(0.85);
  }

  .desktop-nav ul {
    gap: 1.5rem;
  }

  /* Grid Conversions for Tablets */
  .grid-two-columns {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

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

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

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .about-media {
    order: -1; /* Welder image on top of text on tablets */
  }

  .cta-visual {
    margin-top: 2rem;
  }
}

/* Mobile Screens (Landscape & Portrait) */
@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }

  .cta-section {
    padding: 6rem 0 10rem 0;
  }

  .waves-container {
    height: 70px;
  }

  /* Product Detail Mobile Overrides */
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .detail-gallery-col {
    position: static;
  }

  .spec-label {
    width: 40%;
  }

  .specs-table th, .specs-table td {
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    align-content: center;
    padding-bottom: 15vh; /* Space for indicators */
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  /* Hide center watermark on mobile as it conflicts with text overlays */
  .hero-tank-watermark {
    display: none;
  }

  .hero-bottom-indicators {
    bottom: 3%;
  }

  /* Make indicators smaller and cleaner on mobile */
  .indicator-line {
    height: 35px;
  }
  
  .discover-text, .scroll-text {
    font-size: 0.6rem;
  }
  
  .scroll-mouse-icon {
    width: 14px;
    height: 22px;
  }
  
  .mouse-wheel {
    top: 4px;
    height: 4px;
  }

  /* Footer responsive grid */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-col.brand-col {
    grid-column: span 2;
  }
}

/* Ultra Small Screens */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
    letter-spacing: 0.03em;
  }
  
  .brand-name {
    font-size: 1.15rem;
  }
  
  .tagline {
    font-size: 0.5rem;
  }

  .cta-btn {
    width: 100%;
    justify-content: space-between;
  }
  
  .cta-underline {
    width: 100%;
  }
  
  /* Simplify bottom indicators on mobile devices */
  .bottom-right-scroll {
    display: none; /* Hide scroll mouse on very small screens, keep discover */
  }
  
  .hero-bottom-indicators {
    justify-content: center;
  }

  /* Stack grids completely on small mobile */
  .features-grid,
  .products-grid,
  .projects-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-col.brand-col {
    grid-column: span 1;
  }

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

  .footer-legal-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* ==========================================================================
   Catalog Category Filters Styles
   ========================================================================== */

.category-filters-container {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  width: 100%;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  background-color: #f8fafc;
  padding: 0.5rem;
  border-radius: 50px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.filter-btn {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #64748b;
  background: transparent;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
  color: #0f172a;
}

.filter-btn.active {
  color: #ffffff;
  background-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

@media (max-width: 768px) {
  .category-filters-container {
    margin-bottom: 2.5rem;
  }
  
  .category-filters {
    gap: 0.5rem;
    border-radius: 12px;
    padding: 0.4rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.7rem;
    border-radius: 8px;
  }
  
  .filter-btn.active {
    border-radius: 8px;
  }
}

