/* ==========================================================================
   ASYADEĞİRMEN - Premium Industrial Flour & Milling Systems
   Design System & Theme Styles
   Color Palette derived from Asya Değirmen:
   --green: #173f35;
   --green-light: #295e4d;
   --gold: #c89a48;
   --gold-light: #e7c98d;
   --cream: #f7f1e5;
   --white: #ffffff;
   --text: #19342c;
   --muted: #687a73;
   ========================================================================== */

:root {
  --green-dark: #173f35;
  --green-main: #1d4d41;
  --green-light: #295e4d;
  --green-soft: #3b7a66;
  
  --gold-dark: #a67c33;
  --gold-main: #c89a48;
  --gold-light: #e7c98d;
  --gold-cream: #f4e6ca;
  
  --cream-light: #faf7f0;
  --cream-main: #f7f1e5;
  --cream-dark: #eee2ce;
  
  --white: #ffffff;
  --text-main: #19342c;
  --text-muted: #687a73;
  --border-light: rgba(23, 63, 53, 0.12);
  --border-gold: rgba(200, 154, 72, 0.3);
  
  --shadow-sm: 0 4px 12px rgba(23, 63, 53, 0.05);
  --shadow-md: 0 8px 24px rgba(23, 63, 53, 0.08);
  --shadow-lg: 0 16px 40px rgba(23, 63, 53, 0.12);
  --shadow-gold: 0 10px 30px rgba(200, 154, 72, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--cream-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Noise & Grid Background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  background-image: 
    linear-gradient(rgba(23, 63, 53, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 63, 53, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

.container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

/* Common UI Components */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  color: var(--green-light);
}

.badge-pill.gold {
  background: rgba(200, 154, 72, 0.15);
  border-color: var(--gold-main);
  color: var(--green-dark);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-main);
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold-main);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-main) 0%, var(--gold-dark) 100%);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(135deg, #d8a855 0%, var(--gold-main) 100%);
}

.btn-secondary {
  background: var(--green-dark);
  color: var(--cream-light);
  border: 1px solid var(--green-light);
}

.btn-secondary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}

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

.section-tag {
  color: var(--gold-main);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
  color: var(--green-dark);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin-bottom: 40px;
}

.section-padding {
  padding: 100px 0;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.topbar {
  background: var(--green-dark);
  color: var(--gold-light);
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(232, 201, 141, 0.15);
  position: relative;
  z-index: 101;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-info i {
  color: var(--gold-main);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-selector {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

.lang-selector a {
  color: var(--cream-light);
  font-weight: 600;
  opacity: 0.7;
}

.lang-selector a.active {
  color: var(--gold-main);
  opacity: 1;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 229, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-md);
  background: rgba(247, 241, 229, 0.98);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-light) 100%);
  border: 2px solid var(--gold-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-main);
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.logo-text h2 {
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--green-dark);
}

.logo-text h2 span {
  color: var(--gold-main);
}

.logo-text p {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--green-dark);
}

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

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--green-dark);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: 
    radial-gradient(circle at 10% 10%, rgba(200, 154, 72, 0.15), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(23, 63, 53, 0.12), transparent 40%),
    linear-gradient(135deg, #faf7f0 0%, #f3eadb 50%, #eee2ce 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

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

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  margin: 20px 0 24px;
  color: var(--green-dark);
}

.hero-title span {
  color: var(--gold-main);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-features {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
}

.hero-feature-item i {
  color: var(--gold-main);
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
  background: var(--green-dark);
}

.hero-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.hero-card-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(23, 63, 53, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 201, 141, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-badge h4 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.hero-card-badge p {
  font-size: 0.85rem;
  color: var(--cream-main);
  opacity: 0.9;
}

/* Floating Decorative Elements */
.float-box {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.float-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(200, 154, 72, 0.15);
  color: var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ==========================================================================
   Stats Counter Section
   ========================================================================== */
.stats-section {
  background: var(--green-dark);
  color: var(--white);
  padding: 60px 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold-main);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold-main);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--cream-main);
  font-weight: 600;
}

/* ==========================================================================
   About & Technology Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.feature-box {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.feature-box i {
  font-size: 2rem;
  color: var(--gold-main);
  margin-bottom: 14px;
  display: block;
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tech-banner {
  background: linear-gradient(135deg, var(--green-main) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
}

.tech-banner h3 {
  color: var(--gold-light);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.tech-list {
  margin-top: 24px;
}

.tech-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.tech-list i {
  color: var(--gold-main);
}

/* ==========================================================================
   Product Showcase Section
   ========================================================================== */
.products-section {
  background: var(--cream-main);
  position: relative;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--green-dark);
  color: var(--gold-main);
  border-color: var(--green-dark);
  box-shadow: var(--shadow-sm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-img-wrap {
  position: relative;
  height: 240px;
  background: #f0ece1;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green-dark);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-specs {
  background: var(--cream-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.82rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.spec-item span {
  color: var(--text-muted);
  display: block;
}

.spec-item strong {
  color: var(--green-dark);
}

.product-actions {
  display: flex;
  gap: 10px;
}

.product-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Turnkey Projects Section
   ========================================================================== */
.turnkey-section {
  background: linear-gradient(180deg, var(--cream-light) 0%, #efe5d4 100%);
}

.turnkey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.project-img-wrap {
  height: 240px;
  position: relative;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-capacity-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--gold-main);
  color: var(--white);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.project-body {
  padding: 28px;
}

.project-body h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.project-features-list {
  margin: 16px 0 24px;
}

.project-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.project-features-list i {
  color: var(--green-light);
}

/* Workflow Steps */
.workflow-box {
  margin-top: 60px;
  background: var(--green-dark);
  color: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 36px;
}

.step-item {
  position: relative;
  text-align: center;
}

.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold-main);
  color: var(--white);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(200, 154, 72, 0.4);
}

.step-item h4 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--cream-main);
  opacity: 0.85;
}

/* ==========================================================================
   Interactive Proposal Calculator Wizard
   ========================================================================== */
.quote-wizard-section {
  background: var(--green-dark);
  color: var(--white);
  position: relative;
}

.wizard-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.wizard-steps-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.wizard-steps-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
  transform: translateY(-50%);
}

.wiz-step-btn {
  position: relative;
  z-index: 2;
  background: var(--green-dark);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wiz-step-btn.active {
  border-color: var(--gold-main);
  background: var(--gold-main);
  color: var(--white);
}

.wizard-form-step {
  display: none;
}

.wizard-form-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}

.opt-card {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.opt-card:hover, .opt-card.selected {
  border-color: var(--gold-main);
  background: rgba(200, 154, 72, 0.18);
}

.opt-card i {
  font-size: 2.2rem;
  color: var(--gold-main);
  margin-bottom: 12px;
  display: block;
}

.opt-card h4 {
  color: var(--white);
  font-size: 1.05rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-main);
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Download Center & Catalog Section
   ========================================================================== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.download-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--gold-main);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dl-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(200, 154, 72, 0.15);
  color: var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.dl-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.dl-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.dl-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dl-link:hover {
  color: var(--gold-main);
}

/* ==========================================================================
   Contact & Location Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--green-dark);
  color: var(--white);
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
}

.contact-info-card h3 {
  color: var(--gold-light);
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-item i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 154, 72, 0.2);
  color: var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h5 {
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--cream-main);
}

.contact-form-card {
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.contact-form-card .form-control {
  background: var(--cream-light);
  color: var(--text-main);
  border-color: var(--border-light);
}

.contact-form-card .form-control:focus {
  border-color: var(--gold-main);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #112a23;
  color: var(--cream-main);
  padding: 80px 0 30px;
  border-top: 4px solid var(--gold-main);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--cream-main);
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold-main);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold-main);
  color: var(--white);
}

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

/* Modal System */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 42, 35, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--cream-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green-dark);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream-main);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }
}

/* ==========================================================================
   Hero Video & Cinematic Intro Layout (100% Match to Screenshot)
   ========================================================================== */
.cinematic-hero-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background: #091c16;
}

.fullscreen-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.fullscreen-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.15) brightness(0.95);
}

.fullscreen-vignette {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 50%, transparent 20%, rgba(9, 28, 22, 0.75) 100%),
    linear-gradient(180deg, rgba(9, 28, 22, 0.7) 0%, transparent 25%, transparent 75%, rgba(9, 28, 22, 0.9) 100%);
  pointer-events: none;
}

.intro-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(9, 28, 22, 0.95) 0%, rgba(9, 28, 22, 0.6) 70%, transparent 100%);
  backdrop-filter: blur(10px);
}

.intro-nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.intro-nav-menu .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.intro-nav-menu .nav-link:hover,
.intro-nav-menu .nav-link.active {
  color: #e7c98d;
  background: rgba(200, 154, 72, 0.2);
  border-color: rgba(200, 154, 72, 0.4);
}


.intro-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.intro-brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #173f35 0%, #295e4d 100%);
  border: 2px solid #c89a48;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c89a48;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(200, 154, 72, 0.3);
}

.intro-brand-text h1 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 0;
  color: #fff;
  letter-spacing: -0.5px;
}

.intro-brand-text h1 span {
  color: #c89a48;
}

.intro-brand-text p {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: #e7c98d;
  font-weight: 700;
}

.intro-content-center {
  position: absolute;
  bottom: 80px;
  left: 60px;
  z-index: 10;
  max-width: 680px;
  color: #fff;
  animation: fadeInUp 1.2s ease;
}

.intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 154, 72, 0.2);
  border: 1px solid #c89a48;
  padding: 8px 18px;
  border-radius: 30px;
  color: #e7c98d;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.intro-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: #faf7f0;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.intro-main-title span {
  color: #c89a48;
  font-style: italic;
}

.intro-subtitle-text {
  font-size: 1.15rem;
  color: #eee2ce;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.intro-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.intro-btn-gold {
  background: linear-gradient(135deg, #c89a48 0%, #a67c33 100%);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(200, 154, 72, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-btn-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 40px rgba(200, 154, 72, 0.6);
  background: linear-gradient(135deg, #d8a855 0%, #c89a48 100%);
}

.intro-btn-glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.intro-btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.intro-spec-cards {
  position: absolute;
  right: 60px;
  bottom: 80px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
}

.spec-card-item {
  background: rgba(23, 63, 53, 0.75);
  border: 1px solid rgba(200, 154, 72, 0.4);
  backdrop-filter: blur(16px);
  padding: 18px 24px;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.spec-card-item:hover {
  border-color: #c89a48;
  transform: translateX(-6px);
  background: rgba(23, 63, 53, 0.88);
}

.spec-card-item h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: #e7c98d;
  font-family: var(--font-serif);
}

.spec-card-item p {
  margin: 0;
  font-size: 0.82rem;
  color: #eee2ce;
  opacity: 0.85;
}

@media (max-width: 992px) {
  .intro-content-center {
    left: 20px;
    right: 20px;
    bottom: 40px;
  }
  .intro-spec-cards {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-video-floating-bar {
    right: 20px;
    left: 20px;
    justify-content: space-between;
  }
}

.hero-video-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold-main);
  box-shadow: 0 20px 50px rgba(23, 63, 53, 0.3), 0 0 30px rgba(200, 154, 72, 0.25);
  background: #091c16;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-video-element {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: contrast(1.08) saturate(1.15);
}

.hero-video-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(180deg, rgba(9, 28, 22, 0.75) 0%, transparent 40%, transparent 60%, rgba(9, 28, 22, 0.88) 100%),
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(9, 28, 22, 0.5) 100%);
  pointer-events: none;
}

.hero-video-top-bar {
  position: relative;
  z-index: 3;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 28, 22, 0.75);
  border: 1px solid var(--gold-main);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 30px;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.pulse-dot-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 10px #ff4d4d;
  animation: pulseRed 1.5s infinite;
}

@keyframes pulseRed {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 1; }
}

.hero-video-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v-control-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(9, 28, 22, 0.75);
  border: 1px solid rgba(200, 154, 72, 0.5);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  font-size: 0.9rem;
}

.v-control-btn:hover {
  background: var(--gold-main);
  color: #fff;
  border-color: var(--gold-light);
  transform: scale(1.1);
}

.hero-play-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hero-play-link:hover {
  background: #fff;
  color: var(--green-dark);
  transform: scale(1.15);
}

.nav-link.highlight-link {
  color: var(--gold-dark);
  font-weight: 800;
  background: rgba(200, 154, 72, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--gold-main);
}

.nav-link.highlight-link:hover {
  background: var(--gold-main);
  color: #fff !important;
}

/* Dedicated Video Showcase Section */
.video-showcase-section {
  background: linear-gradient(135deg, #091c16 0%, #173f35 50%, #0c241d 100%);
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--border-gold);
  border-bottom: 2px solid var(--border-gold);
}

.video-showcase-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
}

.video-player-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold-main);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(200, 154, 72, 0.25);
  background: #000;
  aspect-ratio: 16 / 9;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
}

.video-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(9, 28, 22, 0.85) 100%);
  pointer-events: none;
}

.video-showcase-controls {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sc-ctrl-btn {
  background: rgba(9, 28, 22, 0.85);
  border: 1px solid var(--gold-main);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.sc-ctrl-btn:hover {
  background: var(--gold-main);
  color: #fff;
  transform: translateY(-2px);
}

.sc-ctrl-btn.gold-btn {
  background: linear-gradient(135deg, var(--gold-main) 0%, var(--gold-dark) 100%);
  margin-left: auto;
}

.video-showcase-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.v-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 154, 72, 0.3);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.v-info-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-main);
  transform: translateX(6px);
}

.v-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 154, 72, 0.2);
  border: 1px solid var(--gold-main);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.v-info-card h4 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.v-info-card p {
  color: var(--cream-main);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

.spec-card-item:hover {
  border-color: var(--gold-main) !important;
  transform: translateX(-6px);
  background: rgba(23, 63, 53, 0.95) !important;
}



/* ==========================================================================
   Page Hero (inner pages)
   Was duplicated as an inline <style> block in five template pages.
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, #091c16 0%, #173f35 100%);
  padding: 140px 0 60px;
  color: var(--white);
  text-align: center;
  position: relative;
  border-bottom: 2px solid var(--border-gold);
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #faf7f0;
  margin-bottom: 12px;
}

.page-title span {
  color: var(--gold-main);
  font-style: italic;
}

.page-breadcrumb {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-breadcrumb a {
  color: inherit;
}

.page-breadcrumb a:hover {
  color: var(--white);
}

/* ==========================================================================
   Download card — split variant (icon + meta on the left, action on the right)
   Replaces the page-local .download-card override in e-katalog.
   ========================================================================== */
.download-card--split {
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.download-card--split .dl-body {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.download-card--split .dl-info h4 {
  color: var(--green-dark);
  margin-bottom: 2px;
}

.download-card--split .dl-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Floating header — responsive behaviour
   The template shipped none: its mobile rules targeted the unused .navbar,
   so the seven-item menu overflowed the bar on every small screen.
   ========================================================================== */
.intro-header .mobile-toggle {
  color: var(--gold-light);
  background: none;
  border: 0;
  padding: 6px;
  line-height: 1;
}

.intro-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

@media (max-width: 1200px) {
  .intro-header {
    padding: 18px 24px;
  }

  .intro-nav-menu {
    gap: 8px;
  }

  .intro-nav-menu .nav-link {
    font-size: 0.85rem;
    padding: 8px 11px;
  }
}

@media (max-width: 992px) {
  .intro-header {
    padding: 14px 20px;
  }

  .intro-header .mobile-toggle {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
  }

  /* Anchored to the header itself, so the panel follows its real height. */
  .intro-header .intro-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 22px;
    background: rgba(9, 28, 22, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }

  .intro-header .intro-nav-menu.active {
    display: flex;
  }

  .intro-header .intro-nav-menu li {
    width: 100%;
  }

  .intro-header .intro-nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  #btn-toggle-video-mute {
    display: none;
  }

  .intro-content-center {
    bottom: 60px;
  }
}

@media (max-width: 600px) {
  .intro-header {
    padding: 12px 16px;
  }

  .intro-brand-logo {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .intro-brand-text h1 {
    font-size: 1.05rem;
  }

  .intro-brand-text p {
    display: none;
  }

  .intro-header-actions .intro-btn-gold {
    padding: 9px 14px;
    font-size: 0.8rem;
  }

  .page-hero {
    padding: 110px 0 44px;
  }

  .download-card--split {
    align-items: flex-start;
  }

  .download-card--split .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Form feedback (AJAX contact / quote forms)
   ========================================================================== */
.form-feedback {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.form-feedback:empty {
  display: none;
}

.form-feedback.is-success,
.form-feedback.is-error {
  padding: 12px 16px;
}

.form-feedback.is-success {
  background: rgba(59, 122, 102, 0.14);
  border: 1px solid var(--green-soft);
  color: var(--green-dark);
}

.form-feedback.is-error {
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.45);
  color: #b3261e;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b3261e;
}

.form-control.is-invalid {
  border-color: #b3261e;
}

/* Dark surfaces (quote modal, wizard) need light-on-dark feedback. */
.modal-box .form-feedback.is-success,
.wizard-card .form-feedback.is-success {
  background: rgba(200, 154, 72, 0.16);
  border-color: var(--gold-main);
  color: var(--gold-light);
}

.modal-box .form-feedback.is-error,
.wizard-card .form-feedback.is-error,
.modal-box .field-error,
.wizard-card .field-error {
  color: #ff9a94;
}

.modal-box .form-feedback.is-error,
.wizard-card .form-feedback.is-error {
  background: rgba(255, 77, 77, 0.14);
}

/* The wizard's option cards wrap a visually hidden radio so the value posts. */
.opt-card input[type="radio"],
.opt-card input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.opt-card:focus-within {
  outline: 2px solid var(--gold-main);
  outline-offset: 2px;
}

/* Checkbox variant (product / operation multi-select): compact, left-aligned,
   with a tick that only appears once the card is picked. */
.opt-card--check {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 16px 18px;
}

.opt-card--check .opt-check {
  font-size: 0.8rem;
  margin: 0;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: transparent;
  transition: var(--transition);
}

.opt-card--check.selected .opt-check {
  border-color: var(--gold-main);
  background: var(--gold-main);
  color: var(--white);
}

.opt-card--check h4 {
  font-size: 0.98rem;
  margin: 0;
}

.wiz-group-error {
  color: #ffd7a8;
  background: rgba(200, 60, 40, 0.25);
  border: 1px solid rgba(255, 150, 120, 0.4);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  margin: -12px 0 24px;
}

[dir="rtl"] .opt-card--check {
  text-align: right;
}

/* ==========================================================================
   RTL (Arabic locale)
   ========================================================================== */
[dir="rtl"] .intro-content-center {
  left: auto;
  right: 60px;
  text-align: right;
}

[dir="rtl"] .intro-spec-cards {
  right: auto;
  left: 60px;
}

[dir="rtl"] .spec-card-item:hover {
  transform: translateX(6px);
}

[dir="rtl"] .section-tag,
[dir="rtl"] .product-specs,
[dir="rtl"] .dl-info,
[dir="rtl"] .contact-item {
  text-align: right;
}

[dir="rtl"] .project-features-list,
[dir="rtl"] .tech-list,
[dir="rtl"] .footer-links {
  padding-right: 0;
}

[dir="rtl"] .nav-link.active::after,
[dir="rtl"] .wizard-steps-nav::before {
  left: auto;
  right: 0;
}

@media (max-width: 992px) {
  [dir="rtl"] .intro-content-center {
    right: 20px;
    left: 20px;
  }
}

/* ==========================================================================
   Language switcher (the template had no slot for one)
   ========================================================================== */
.intro-lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(200, 154, 72, 0.35);
  background: rgba(9, 28, 22, 0.5);
}

.intro-lang-switch a,
.intro-lang-switch .lang-current {
  display: inline-block;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  transition: var(--transition);
}

.intro-lang-switch a {
  color: rgba(255, 255, 255, 0.7);
}

.intro-lang-switch a:hover {
  color: var(--gold-light);
  background: rgba(200, 154, 72, 0.2);
}

.intro-lang-switch .lang-current {
  color: #091c16;
  background: var(--gold-main);
}

@media (max-width: 600px) {
  .intro-lang-switch {
    display: none;
  }

  /* Keep locale switching reachable: repeat it inside the mobile panel. */
  .intro-header .intro-nav-menu .intro-lang-switch {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
}

/* ==========================================================================
   Honeypot field
   Off-screen positioning (left:-9999px) extends the scrollable area and
   caused horizontal overflow on mobile. Clip it out of layout instead.
   ========================================================================== */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Wizard step nav had no mobile rules and pushed past the viewport. */
@media (max-width: 720px) {
  .wizard-steps-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .wizard-steps-nav::before {
    display: none;
  }

  .wiz-step-btn {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .wizard-card {
    padding: 24px 18px;
  }

  .wizard-form-step [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

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

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

/* ==========================================================================
   Stacking order
   .intro-header and .intro-content-center both sat at z-index 10, so the hero
   copy — later in the DOM — painted over the open mobile menu.
   ========================================================================== */
.intro-header {
  z-index: 60;
}

.intro-nav-menu {
  z-index: 61;
}

.modal-overlay {
  z-index: 100;
}

/* ==========================================================================
   Product detail page
   ========================================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-detail-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

.product-detail-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 78px;
  height: 78px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-light);
  background: var(--white);
  padding: 6px;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-thumb:hover,
.pd-thumb.active {
  border-color: var(--gold-main);
  box-shadow: var(--shadow-gold);
}

.product-detail-copy {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 20px 0;
}

.product-detail-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--green-dark);
  margin: 20px 0;
}

.product-detail-price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.product-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.product-detail-table {
  margin-top: 64px;
}

/* Technical tables in product_table are wide and author-controlled, so they
   scroll inside their own container instead of stretching the page. */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.table-scroll th,
.table-scroll td {
  border: 1px solid var(--border-light);
  padding: 10px 12px;
  font-size: 0.88rem;
  text-align: left;
  vertical-align: middle;
}

.table-scroll thead th,
.table-scroll tr:first-child td {
  background: var(--cream-main);
  font-weight: 700;
  color: var(--green-dark);
}

.table-scroll p {
  margin: 0;
}

@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Map embed on the contact page (hidden when no embed code is configured). */
.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.2);
}

/* ==========================================================================
   Corporate / article layout (kurumsal sub-pages, blog detail)
   ========================================================================== */
.corporate-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.corporate-body {
  color: var(--text-main);
  line-height: 1.85;
}

.corporate-body h2,
.corporate-body h3,
.corporate-body h4 {
  font-family: var(--font-serif);
  color: var(--green-dark);
  margin: 28px 0 12px;
}

.corporate-body p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.corporate-body ul,
.corporate-body ol {
  margin: 0 0 16px 20px;
  color: var(--text-muted);
}

.corporate-body li {
  margin-bottom: 8px;
}

.corporate-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.corporate-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.corporate-body th,
.corporate-body td {
  border: 1px solid var(--border-light);
  padding: 10px 12px;
}

.corporate-sidebar {
  position: sticky;
  top: 110px;
  background: var(--cream-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.corporate-sidebar h4 {
  font-family: var(--font-serif);
  color: var(--green-dark);
  margin-bottom: 16px;
}

.corporate-nav a {
  color: var(--text-muted);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.corporate-nav a:hover,
.corporate-nav a.active {
  color: var(--gold-dark);
  padding-left: 6px;
}

/* ==========================================================================
   Blog listing
   ========================================================================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-main);
  box-shadow: var(--shadow-md);
}

.post-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.post-card-body time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.4;
}

.post-card-body h3 a {
  color: var(--green-dark);
}

.post-card-body h3 a:hover {
  color: var(--gold-dark);
}

.post-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--white);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

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

.gallery-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  background: rgba(9, 28, 22, 0.35);
  transition: var(--transition);
}

.gallery-item:hover .gallery-play {
  background: rgba(9, 28, 22, 0.55);
}

.gallery-item figcaption {
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
}

@media (max-width: 992px) {
  .corporate-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .corporate-sidebar {
    position: static;
  }
}

/* ==========================================================================
   Brand logo
   The uploaded logo is a horizontal lockup that already contains the wordmark,
   so it is shown on its own — no icon box, no repeated text beside it.
   ========================================================================== */
.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.footer-logo {
  height: 52px;
}

@media (max-width: 992px) {
  .brand-logo-img {
    height: 40px;
    max-width: 200px;
  }
}

@media (max-width: 600px) {
  .brand-logo-img {
    height: 34px;
    max-width: 160px;
  }
}

/* Product-group column can hold a dozen categories, so it uses a tighter
   rhythm than the other footer lists. */
.footer-links--compact li {
  margin-bottom: 6px;
}

.footer-links--compact a {
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--cream-dark);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   WhatsApp action button
   ========================================================================== */
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border: 1px solid #25d366;
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

/* ==========================================================================
   Catalogue page: sidebar filter + results
   ========================================================================== */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* The sidebar sticks to the viewport as the (much taller) results column
   scrolls past. The sticky must live on the grid item itself — the grid row
   is as tall as the results, giving the aside room to travel; putting it on
   the inner panel did nothing, since the aside was only as tall as the panel. */
.catalog-filter {
  position: sticky;
  top: 100px;
  align-self: start;
}

.catalog-filter-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  cursor: pointer;
}

.catalog-filter-panel {
  background: var(--cream-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.catalog-filter-panel h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.catalog-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 60vh;
  overflow-y: auto;
}

/* Vertical variant of the tab button: full width, label left, count right. */
.catalog-filter-list .tab-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.catalog-filter-list .tab-btn em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 2px 9px;
  flex-shrink: 0;
}

.catalog-filter-list .tab-btn:hover {
  background: var(--white);
  border-color: var(--border-gold);
}

.catalog-filter-list .tab-btn.active {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}

.catalog-filter-list .tab-btn.active em {
  background: rgba(255, 255, 255, 0.2);
  color: var(--gold-light);
}

.catalog-filter-cta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.catalog-filter-cta p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.catalog-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.catalog-count strong {
  color: var(--green-dark);
  font-size: 1.05rem;
}

/* The grid partial adds its own section padding; inside the results column
   that would double up on the page's own spacing. */
.catalog-results .products-section {
  padding: 0;
}

.catalog-results .products-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Client-side pagination controls, rendered by initProductFilter(). */
.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.catalog-pagination:empty {
  display: none;
}

.catalog-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.catalog-page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--border-gold);
  color: var(--green-dark);
}

.catalog-page-btn.active {
  background: var(--green-main);
  border-color: var(--green-main);
  color: var(--white);
  cursor: default;
}

.catalog-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.catalog-page-ellipsis {
  padding: 0 4px;
  color: var(--text-muted);
  font-weight: 700;
}

@media (max-width: 992px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* On mobile the sidebar collapses into a toggle panel, so drop the sticky. */
  .catalog-filter {
    position: static;
    top: auto;
  }

  .catalog-filter-toggle {
    display: flex;
  }

  .catalog-filter-toggle[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
  }

  .catalog-filter-panel {
    position: static;
    display: none;
    margin-top: 10px;
  }

  .catalog-filter-panel.open {
    display: block;
  }

  .catalog-filter-list {
    max-height: none;
  }
}

[dir="rtl"] .catalog-filter-list .tab-btn {
  text-align: right;
}

/* Card actions: two equal buttons that never wrap their label. In a ~260px
   card the default padding pushed "Hızlı Bilgi Al" onto a second line and
   left the pair at different heights. */
.product-actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.product-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 11px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
  justify-content: center;
  text-align: center;
}

.product-actions .btn i {
  margin-right: 4px;
}

@media (max-width: 420px) {
  .product-actions {
    flex-direction: column;
  }
}

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

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

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

/* Footer headings inherited the default dark body colour whenever a column
   was missing the .footer-col class — invisible on the dark green footer.
   Scoped to the footer itself so the class can never be the deciding factor. */
.footer h4 {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 24px;
}

/* ==========================================================================
   Gallery grid — clickable tiles
   ========================================================================== */
.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  background: rgba(9, 28, 22, 0.15);
  opacity: 0;
  transition: var(--transition);
}

.gallery-open:hover .gallery-overlay,
.gallery-open:focus-visible .gallery-overlay {
  opacity: 1;
  background: rgba(9, 28, 22, 0.5);
}

.gallery-open:focus-visible {
  outline: 3px solid var(--gold-main);
  outline-offset: 2px;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 70px 20px 80px;
  background: rgba(9, 28, 22, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.lightbox-stage {
  flex: 1;
  max-width: 1100px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-stage iframe {
  display: none;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(200, 154, 72, 0.4);
  background: rgba(9, 28, 22, 0.7);
  color: var(--gold-light);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--gold-main);
  color: #091c16;
  border-color: var(--gold-main);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
}

.lightbox-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  color: var(--cream-main);
  font-size: 0.88rem;
  font-weight: 600;
  pointer-events: none;
}

#lightbox-counter {
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .lightbox {
    padding: 64px 8px 72px;
    gap: 4px;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
}
