/* OYPAR BALATA - Main: Variables, Base, Sections, Pages */
/* =============================================
   OYPAR BALATA - Main Stylesheet
   Design inspired by xiva.com.tr (Oypar Balata)
   ============================================= */

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  /* Brand Colors - Modern Slate & Blue */
  --color-primary: #02296e;
  --color-primary-light: #1e3a8a;
  --color-primary-dark: #011c4d;
  --color-accent: #2563eb;
  --color-accent-light: #3b82f6;
  --color-red: #ef4444;
  
  /* UI Colors - Minimal & Crisp */
  --color-bg: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-dark: #02296e;
  --color-text: #1e293b;
  --color-text-light: #475569;
  --color-text-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #02296e 0%, #03418f 100%);
  --gradient-dark: linear-gradient(135deg, #011c4d 0%, #02296e 100%);
  --gradient-hero: linear-gradient(135deg, rgba(2,41,110,0.92) 0%, rgba(2,41,110,0.85) 100%);
  --gradient-card: linear-gradient(180deg, transparent 0%, rgba(15,52,96,0.95) 100%);
  
  /* Typography */
  --font-primary: 'Jost', 'Inter', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Spacing */
  --container-max: 1600px;
  --container-pad: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.20);
  --shadow-card: 0 4px 24px rgba(15,52,96,0.10);
  --shadow-hover: 0 12px 40px rgba(15,52,96,0.20);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Header */
  --header-height: 80px;
  --topbar-height: 44px;
}

/* =============================================
   ENTRANCE ANIMATIONS
   ============================================= */
@keyframes slideUpFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDownFadeIn {
  from { opacity: 0; transform: translateY(-60px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(35px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Logo — slide up on page load */
.site-logo {
  animation: slideUpFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Top bar — fade in */
.top-bar {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Top bar items — typewriter-like staggered reveal */
@keyframes typewriterReveal {
  0%   { opacity: 0; transform: translateX(-8px); filter: blur(3px); }
  60%  { filter: blur(0); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}
.top-bar-item:nth-child(1)  { animation: typewriterReveal 0.7s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.top-bar-divider             { animation: typewriterReveal 0.4s 1.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
.top-bar-item:nth-child(3)  { animation: typewriterReveal 0.7s 1.4s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Hero slider — drop down from top */
.hero-slider {
  animation: slideDownFadeIn 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Header pipe separator */
.header-pipe {
  animation: fadeInUp 0.5s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Nav menu items — staggered cascade */
.nav-item:nth-child(1) { animation: fadeInUp 0.5s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-item:nth-child(2) { animation: fadeInUp 0.5s 0.22s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-item:nth-child(3) { animation: fadeInUp 0.5s 0.29s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-item:nth-child(4) { animation: fadeInUp 0.5s 0.36s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-item:nth-child(5) { animation: fadeInUp 0.5s 0.43s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-item:nth-child(6) { animation: fadeInUp 0.5s 0.50s cubic-bezier(0.16, 1, 0.3, 1) both; }
.nav-item:nth-child(7) { animation: fadeInUp 0.5s 0.57s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* B2B button — slide in from right */
.btn-b2b-header {
  animation: fadeInRight 0.6s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* B2B icon — continuous breathing pulse */
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}
.btn-b2b-header i {
  animation: iconPulse 2s ease-in-out infinite;
  display: inline-block;
}

/* ── Hover micro-interactions ──────────────────── */

/* Feature cards — lift + glow */
.feature-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 52, 96, 0.15);
}

/* Feature icon — spin on hover */
.feature-card:hover .feature-icon i {
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Benefit items — lift + border glow */
.benefit-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease !important;
}
.benefit-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(15, 52, 96, 0.25) !important;
  border-color: rgba(255,255,255,0.15) !important;
}

/* Catalog banner cards — subtle lift */
.catalog-banner-grid > div {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}
.catalog-banner-grid > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Top bar items — glow on hover */
.top-bar-item:hover i {
  animation: iconPulse 0.5s ease-in-out 1;
}

/* Scroll-reveal utility (activated via JS) */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Staggered delays for children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Disable animations for reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .site-logo, .hero-slider, .top-bar, .header-pipe, .btn-b2b-header,
  .nav-item, .top-bar-item, .top-bar-divider { animation: none !important; }
  .btn-b2b-header i { animation: none !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1; transform: none; transition: none;
  }
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: 80px 0;
}

.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-accent {
  background: var(--color-accent);
  color: white;
}
.btn-accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--color-primary);
}
.btn-white:hover {
  background: var(--color-bg-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(15,52,96,0.07);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-brand {
  text-align: center;
  padding: 60px 0 20px;
  position: relative;
}

.about-brand-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.about-brand-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.06;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: -20px;
  pointer-events: none;
  user-select: none;
  font-size: clamp(3rem, 8vw, 6rem);
}

/* Features Section */
.features-section {
  background: var(--color-bg-light);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.5rem;
  box-shadow: 0 4px 24px rgba(15,52,96,0.04);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-text);
  box-shadow: 0 16px 40px rgba(15,52,96,0.08);
}

/* Header layout */
.feature-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  font-size: 2.4rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-icon,
.feature-card:hover .feature-title {
  color: var(--color-text);
}

.feature-headings {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
  transition: color 0.3s ease;
}

.feature-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: #7b8698;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.feature-text {
  font-size: 0.9rem;
  color: #7b8698;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

/* =============================================
   WHY US / STATS
   ============================================= */
.why-section {
  background: var(--gradient-dark);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.why-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  color: white;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.why-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.why-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.benefit-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: background var(--transition);
}

.benefit-item:hover { background: rgba(255,255,255,0.1); }

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  flex-shrink: 0;
}

.benefit-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.stat-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.35rem;
}

.stat-number span {
  color: rgba(255,255,255,0.6);
  font-size: 1.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* =============================================
   CATALOG BANNER
   ============================================= */
.catalog-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: 80px 0;
  box-shadow: var(--shadow-xl);
}

.catalog-image {
  position: relative;
  overflow: hidden;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.catalog-image:hover img { transform: scale(1.05); }

.catalog-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,52,96,0.4);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.catalog-image-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.catalog-right {
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  gap: 1.5rem;
}

.catalog-year {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  letter-spacing: -0.05em;
}

.catalog-label {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products-section { padding: 80px 0; }

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
}

.products-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.products-carousel-wrap {
  position: relative;
}

.products-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-image-wrap {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: var(--color-bg-light);
}

.product-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image-wrap img { transform: scale(1.08); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-sku {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-action {
  margin-top: auto;
}

.btn-product {
  width: 100%;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  padding: 0.7rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.product-card:hover .btn-product {
  opacity: 1;
  transform: translateY(0);
}

/* Products Page Grid */
.products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* =============================================
   PRODUCT DETAIL
   ============================================= */
.product-detail {
  padding: 80px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.product-gallery-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.gallery-thumb.active { border-color: var(--color-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info { padding-top: 0.5rem; }

.product-detail-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.product-detail-name {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.product-detail-sku {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.product-detail-desc {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.product-specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--color-border);
  margin-bottom: 2rem;
}

.product-specs-table tr:nth-child(even) td { background: var(--color-bg-light); }

.product-specs-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border-light);
}

.product-specs-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  width: 40%;
}

.product-specs-table td:last-child {
  color: var(--color-text-light);
}

.product-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
}

.product-contact-btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

/* =============================================
   GALLERY / IMAGES
   ============================================= */
.image-gallery {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img { transform: scale(1.08); }

/* =============================================
   CONTACT
   ============================================= */
.contact-section { padding: 80px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(15,52,96,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 0.975rem;
  color: var(--color-text);
  font-weight: 500;
}

.contact-info-value a:hover { color: var(--color-primary); }

.contact-form-box {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-bg-light);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-primary);
  color: var(--color-text);
  transition: all var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(15,52,96,0.08);
}

.form-control::placeholder { color: var(--color-text-muted); }

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* =============================================
   PAGE HEADER (breadcrumb banner)
   ============================================= */
.page-header {
  background: var(--gradient-dark);
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #fff !important;
  opacity: 0.85;
}

.breadcrumbs a { color: #fff !important; }
.breadcrumbs a:hover { color: #fff !important; opacity: 1; }
.breadcrumbs i { font-size: 0.6rem; opacity: 0.7; }

/* =============================================
   STATIC PAGE
   ============================================= */
.static-page-content {
  padding: 60px 0 80px;
  max-width: 860px;
  margin: 0 auto;
}

.static-page-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.static-page-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.25rem; }
.static-page-content p { color: var(--color-text-light); line-height: 1.8; }
.static-page-content ul, .static-page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}
.static-page-content li { margin-bottom: 0.4rem; line-height: 1.7; }

/* =============================================
   NEWSLETTER FORM
   ============================================= */
.newsletter-form { width: 100%; }

.newsletter-input-wrap {
  display: flex;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.15);
}

.newsletter-input-wrap input {
  flex: 1;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: white;
  font-size: 0.875rem;
  font-family: var(--font-primary);
  outline: none;
}

.newsletter-input-wrap input::placeholder { color: rgba(255,255,255,0.45); }

.newsletter-input-wrap button {
  padding: 0.85rem 1.25rem;
  background: white;
  color: var(--color-primary);
  border: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
  font-family: var(--font-primary);
}

.newsletter-input-wrap button:hover { background: var(--color-bg-light); }

.newsletter-msg {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  min-height: 1.2em;
}

.newsletter-msg.success { color: #4ade80; }
.newsletter-msg.error { color: #f87171; }

/* =============================================
   ALERTS / NOTIFICATIONS
   ============================================= */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* =============================================
   404 PAGE
   ============================================= */
.error-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 1rem;
}

.error-404-number {
  font-size: 8rem;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.1;
  line-height: 1;
  letter-spacing: -0.05em;
}

.error-404 h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-newsletter { grid-column: span 2; }
  .products-carousel { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-height: 70px; }
  
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .catalog-banner { min-height: 280px; }
  .products-page-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { gap: 3rem; }
}

@media (max-width: 900px) {  
  .menu-toggle { display: flex; }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    padding: calc(var(--header-height) + 1.5rem) 1.5rem 2rem;
    transition: right var(--transition);
    overflow-y: auto;
  }
  
  .main-nav.open { right: 0; }
  
  .mobile-overlay { display: block; }
  
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-item { width: 100%; }
  
  .nav-link {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border-light);
    width: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .nav-link::after { display: none; }

  /* Mobile dropdown — accordion style */
  .nav-dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 3px solid rgba(15,52,96,0.15) !important;
    border-radius: 0 !important;
    margin-left: 0.75rem !important;
    padding: 0.25rem 0 !important;
    min-width: auto !important;
    background: transparent !important;
    display: none !important;
  }
  .nav-item.has-dropdown.mobile-open > .nav-dropdown { display: block !important; }
  
  .nav-dropdown-link {
    padding: 0.55rem 0.75rem !important;
    font-size: 0.9rem !important;
    color: var(--color-text-light) !important;
    border-bottom: 1px solid var(--color-border-light) !important;
    border-radius: 0 !important;
  }
  .nav-dropdown-link:hover {
    background: rgba(15,52,96,0.05) !important;
    padding-left: 1.1rem !important;
    color: var(--color-primary) !important;
  }
  
  /* Arrow animation for mobile open state */
  .nav-item.has-dropdown.mobile-open > .nav-link .nav-arrow { transform: rotate(180deg); }
  
  .lang-switcher .lang-current span:last-child { display: none; }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; }
  
  .catalog-banner {
    grid-template-columns: 1fr;
  }
  
  .products-carousel { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root {
    --topbar-height: 36px;
    --container-pad: 1rem;
  }
  
  .section { padding: 60px 0; }
  .top-bar-left .top-bar-item:not(:first-child) { display: none; }
  .top-bar-divider { display: none; }
  
  /* Fix conflicting slider rules */
  .slide { min-height: 0; }
  .slide-product-image { display: block; }
  
  /* Features, sections: single column */
  .features-grid { grid-template-columns: 1fr; }
  .why-benefits { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .products-carousel { grid-template-columns: 1fr; }
  .products-page-grid { grid-template-columns: 1fr; }
  .catalog-banner { border-radius: var(--radius-lg); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  /* FOOTER — full single column, no overflow */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .footer-brand { grid-column: auto !important; }
  .footer-newsletter {
    grid-column: auto !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  /* Newsletter form: stack vertically on mobile */
  .newsletter-form {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .newsletter-form input {
    width: 100% !important;
    min-width: 0 !important;
    border-radius: var(--radius-md) !important;
  }
  .newsletter-form button {
    width: 100% !important;
    border-radius: var(--radius-md) !important;
    justify-content: center !important;
  }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  
  .slider-arrow { display: none; }
}

/* =============================================
   SKIP LINK / ACCESSIBILITY
   ============================================= */
.skip-link { position:absolute;top:-100%;left:1rem;background:var(--color-primary);color:white;padding:.5rem 1.25rem;border-radius:0 0 var(--radius-md) var(--radius-md);font-weight:600;font-size:.9rem;z-index:9999;transition:top .2s;text-decoration:none; }
.skip-link:focus { top:0;color:white; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0; }

/* FOOTER QUICK LINKS */
.footer-quick-links { display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0; }
.footer-quick-btn { display:inline-flex;align-items:center;gap:.4rem;padding:.45rem 1rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.8);border-radius:var(--radius-full);font-size:.8rem;font-weight:600;transition:all var(--transition);text-decoration:none; }
.footer-quick-btn:hover { background:rgba(255,255,255,.18);color:white; }
.footer-quick-b2b { background:rgba(233,69,96,.15);border-color:rgba(233,69,96,.25);color:rgba(255,150,160,.9); }
.footer-quick-b2b:hover { background:rgba(233,69,96,.28);color:white; }

/* FOOTER BOTTOM EXTRAS */
.footer-bottom-right { display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap; }
.footer-lang-links { display:flex;gap:.4rem;align-items:center;flex-wrap:wrap; }
.footer-lang-links a { font-size:.72rem;font-weight:600;color:rgba(255,255,255,.38);padding:.2rem .45rem;border-radius:var(--radius-sm);text-transform:uppercase;letter-spacing:.04em;transition:color var(--transition);text-decoration:none; }
.footer-lang-links a:hover { color:rgba(255,255,255,.8); }
.footer-lang-links a.active { color:rgba(255,255,255,.85);font-weight:700; }

.newsletter-gdpr { font-size:.72rem;color:rgba(255,255,255,.3);margin-top:.5rem;line-height:1.5; }
.newsletter-gdpr a { color:rgba(255,255,255,.45);text-decoration:underline; }
.newsletter-gdpr a:hover { color:rgba(255,255,255,.75); }
.newsletter-msg { font-size:.85rem;margin-top:.4rem;min-height:1.2rem; }
.newsletter-msg.success { color:#4ade80; }
.newsletter-msg.error   { color:#f87171; }
.newsletter-msg.info    { color:#60a5fa; }

@media (max-width:640px) {
  .footer-bottom-right { flex-direction:column;align-items:center;gap:.75rem; }
  .footer-lang-links { justify-content:center; }
}

