/* ==========================================================================
   FALCON HYDRO TECH - MASTER STYLESHEET
   Modern, Elegant Industrial Precision Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Colors from Logo */
  --primary: #D71920;
  --primary-dark: #B91016;
  --primary-deep: #6E0017;
  --primary-light: #FEE2E2;
  --primary-glow: rgba(215, 25, 32, 0.25);

  --accent-gold: #F59E0B;
  --accent-gold-dark: #D97706;
  --accent-gold-light: #FEF3C7;

  --hydraulic-blue: #0284C7;
  --hydraulic-blue-light: #E0F2FE;

  /* Neutrals & Dark Theme Accents */
  --dark-950: #070B14;
  --dark-900: #0B1120;
  --dark-850: #0F172A;
  --dark-800: #1E293B;
  --dark-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;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-red: 0 10px 25px -5px rgba(215, 25, 32, 0.35);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::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-body);
  color: var(--dark-800);
  background-color: var(--gray-50);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

/* ==========================================================================
   TOP ANNOUNCEMENT & CONTACT BAR
   ========================================================================== */
.topbar {
  background-color: var(--dark-950);
  color: var(--gray-400);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
  position: relative;
  z-index: 50;
}

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

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gray-300);
}

.topbar-item a {
  color: var(--gray-300);
}

.topbar-item a:hover {
  color: var(--accent-gold);
}

.topbar-badge {
  background: rgba(215, 25, 32, 0.2);
  border: 1px solid rgba(215, 25, 32, 0.5);
  color: #FCA5A5;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   HEADER & NAVIGATION (STICKY GLASSMORPHIC)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 40;
  transition: all var(--transition-normal);
}

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

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

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

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

/* Main Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-800);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

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

.nav-link svg.chevron {
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Mega / Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 100;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--dark-800);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding-left: 1.1rem;
}

.dropdown-link .tag {
  font-size: 0.7rem;
  background: var(--gray-200);
  color: var(--dark-700);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.dropdown-link:hover .tag {
  background: var(--primary);
  color: var(--white);
}

/* Header CTAs & Mobile Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--dark-800);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E52421 0%, var(--primary-dark) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -3px rgba(215, 25, 32, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark-800);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--dark-950);
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FBBF24 0%, var(--accent-gold) 100%);
  color: var(--dark-950);
  transform: translateY(-2px);
}

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

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(215, 25, 32, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(2, 132, 199, 0.15) 0%, transparent 40%),
              linear-gradient(145deg, var(--dark-950) 0%, var(--dark-900) 60%, #17070a 100%);
  color: var(--white);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 2px solid var(--primary);
}

/* Background Engineering Mesh Overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(215, 25, 32, 0.18);
  border: 1px solid rgba(215, 25, 32, 0.45);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  color: #FCA5A5;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #FECACA 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

/* Hero Stats Row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h4 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(16px);
  text-align: center;
}

.hero-card-stack .main-valve-img {
  max-height: 280px;
  width: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
  transition: transform var(--transition-slow);
}

.hero-card-stack:hover .main-valve-img {
  transform: scale(1.04) translateY(-4px);
}

.hero-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.hero-card-info p {
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Floating Badges on Hero */
.floating-badge {
  position: absolute;
  background: rgba(11, 17, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  animation: float 4s ease-in-out infinite;
}

.floating-badge.badge-top {
  top: -15px;
  right: -15px;
  animation-delay: 0s;
}

.floating-badge.badge-bottom {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

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

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  flex-shrink: 0;
}

.floating-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.floating-text span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ==========================================================================
   PAGE HERO / INNER BANNER
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark-950) 0%, var(--dark-900) 70%, var(--primary-deep) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  border-bottom: 2px solid var(--primary);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

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

.breadcrumbs a {
  color: var(--gray-300);
}

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

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 650px;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

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

.section-gray {
  background-color: var(--gray-100);
}

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

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-dark .section-tag {
  background: rgba(215, 25, 32, 0.2);
  color: #FCA5A5;
}

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

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

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

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

/* ==========================================================================
   FEATURED VALUE PROPOSITIONS & ENGINEERING HIGHLIGHTS
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(215, 25, 32, 0.25);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ==========================================================================
   PRODUCT CARDS & SHOWCASE
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

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

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(215, 25, 32, 0.35);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--dark-900);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-card-thumb {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  padding: 2rem;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-thumb img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

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

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

.product-model {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs-list {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--gray-200);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  border-bottom: 1px dashed var(--gray-200);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--gray-500);
  font-weight: 500;
}

.spec-val {
  font-weight: 600;
  color: var(--dark-800);
}

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

/* ==========================================================================
   TECHNICAL SPECIFICATION TABLES
   ========================================================================== */
.spec-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  margin: 1.75rem 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.spec-table thead {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
  color: var(--white);
}

.spec-table th {
  padding: 0.9rem 1.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.88rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-table th:last-child {
  border-right: none;
}

.spec-table tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: background-color var(--transition-fast);
}

.spec-table tbody tr:last-child {
  border-bottom: none;
}

.spec-table tbody tr:nth-child(even) {
  background-color: var(--gray-50);
}

.spec-table tbody tr:hover {
  background-color: #FEF2F2;
}

.spec-table td {
  padding: 0.85rem 1.2rem;
  color: var(--dark-800);
  border-right: 1px solid var(--gray-200);
}

.spec-table td:last-child {
  border-right: none;
}

.spec-table td.model-code {
  font-weight: 700;
  color: var(--primary);
  font-family: monospace, sans-serif;
  font-size: 0.95rem;
}

/* Technical Product Detail Layout */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.product-detail-visual {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
}

.product-detail-visual .main-img {
  max-height: 360px;
  margin: 0 auto 1.5rem;
  cursor: pointer;
  transition: transform var(--transition-slow);
}

.product-detail-visual .main-img:hover {
  transform: scale(1.03);
}

.zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

.product-detail-info h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 0.5rem;
}

.product-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.product-detail-desc {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.product-quick-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.quick-spec-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
}

.quick-spec-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.quick-spec-card strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--dark-900);
}

/* ==========================================================================
   INDUSTRY APPLICATIONS GALLERY
   ========================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.industry-card {
  position: relative;
  background: var(--dark-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  aspect-ratio: 4 / 3;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity var(--transition-normal);
  opacity: 0.85;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.industry-card:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.industry-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 11, 20, 0.85) 50%, var(--dark-950) 100%);
  color: var(--white);
  z-index: 2;
  transition: transform var(--transition-normal);
}

.industry-card-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.industry-card-overlay span {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.industry-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
  z-index: 3;
}

.industry-card:hover .industry-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   MODAL / LIGHTBOX VIEWER
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.lightbox-content {
  position: relative;
  max-width: 850px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  background: var(--white);
}

.lightbox-caption {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.lightbox-close:hover {
  transform: scale(1.15);
  color: var(--primary);
}

/* ==========================================================================
   ENQUIRY / RFQ FORM
   ========================================================================== */
.rfq-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.rfq-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-800);
}

.form-label span.req {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--dark-800);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

/* Form confirmation state */
.form-success-banner {
  display: none;
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: 2rem;
}

.form-success-banner.active {
  display: block;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.contact-actions-row {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.map-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 450px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 450px;
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */
.cta-banner {
  background: radial-gradient(circle at 80% 50%, rgba(245, 158, 11, 0.2) 0%, transparent 50%),
              linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-content {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

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

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

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 1.25rem 0;
  color: var(--gray-400);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

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

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

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

.footer-bottom p {
  color: var(--gray-500);
}

/* ==========================================================================
   FLOATING WHATSAPP & BACK TO TOP
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 99;
}

.btn-whatsapp-float {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.btn-back-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-800);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.btn-back-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-back-top:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    max-width: 550px;
    margin: 0 auto;
  }

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

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

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

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--gray-200);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

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

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    background: var(--gray-50);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 0.25rem;
  }

  .nav-item.open .dropdown-menu {
    display: block;
  }

  .hero-title {
    font-size: 2.35rem;
  }

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

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

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

  .floating-badge {
    display: none;
  }
}
