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

:root {
  /* Dark Theme variables (default) */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-glass: rgba(15, 23, 42, 0.9);
  --bg-glass-active: rgba(30, 41, 59, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  
  --accent-gold: #d97706;
  --accent-gold-hover: #b45309;
  --accent-gold-glow: rgba(217, 119, 6, 0.25);
  
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-blue-glow: rgba(37, 99, 235, 0.2);
  
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-active: rgba(255, 255, 255, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --container-max: 1280px;
}

body.light-theme {
  /* Light Theme variables */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-glass-active: rgba(255, 255, 255, 0.9);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --accent-gold: #b45309;
  --accent-gold-hover: #92400e;
  --accent-gold-glow: rgba(180, 83, 9, 0.15);
  
  --accent-blue: #1d4ed8;
  --accent-blue-hover: #1e40af;
  --accent-blue-glow: rgba(29, 78, 216, 0.15);
  
  --border-glass: rgba(15, 23, 42, 0.08);
  --border-glass-active: rgba(15, 23, 42, 0.16);
  --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.06);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-glass-active);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Language Switching Display Utilities */
body.lang-tr .lang-en {
  display: none !important;
}
body.lang-en .lang-tr {
  display: none !important;
}

/* Floating Glass Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}



.navbar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: -0.75rem; /* Pull logo slightly to the left */
}

.logo span.highlight {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: var(--transition-fast);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.04);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

/* Nav Actions (Lang, Theme, Mobile Toggle) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-icon {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #334155;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: #0f172a;
  color: #0f172a;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #0f172a;
  transition: var(--transition-smooth);
}

/* Main Layout */
.main-content {
  margin-top: 64px;
  min-height: calc(100vh - 64px);
  position: relative;
}

/* Section Wrapper and Animation Setup */
.section-view {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0; /* Do not apply padding when inactive to prevent height leakage */
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.section-view.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  height: auto;
  padding: 4rem 2rem 4rem 2rem; /* All active sections start exactly 2 lines (4rem) below navbar */
  overflow: visible;
  visibility: visible;
}

/* Banner / Section Headers */
.section-header {
  text-align: left;
  margin-bottom: 4rem;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.01rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0.5rem 0 0 0;
}

/* Common UI Elements */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-glass-active);
  transform: translateY(-5px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-gold-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass-active);
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--border-glass);
  border-color: var(--text-primary);
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

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

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

/* Visual Container */
.img-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

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

/* ========================================================
   TAB 1: ANASAYFA (HOME)
   ======================================================== */

.hero {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
  min-height: calc(85vh - 80px);
}

.hero-content {
  margin-top: 2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px var(--accent-gold-glow);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.58rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-title span.gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  height: 500px;
  border-radius: 30px;
  position: relative;
  margin-left: 5rem; /* Shift slider 5 lines/rem to the right */
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-blue));
  border-radius: 31px;
  z-index: -1;
  opacity: 0.3;
}

/* Stats Section */
.stats-banner {
  margin-top: -3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* Features Grid */
.features-section {
  margin-top: 8rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-gold-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========================================================
   TAB 2: KURUMSAL (CORPORATE)
   ======================================================== */
.corporate-content {
  margin-bottom: 6rem;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

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

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border-glass);
  margin-top: 2rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--accent-gold);
  border: 4px solid var(--bg-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-gold-glow);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

/* ========================================================
   TAB 3: ŞİRKET PROFİLİ (PROFILE)
   ======================================================== */
.profile-intro {
  margin-bottom: 5rem;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.profile-card {
  padding: 3rem 2.5rem;
  text-align: center;
}

.profile-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.profile-card-title {
  margin-bottom: 1rem;
}

.capacity-bars {
  margin-top: 5rem;
}

.capacity-title {
  text-align: left;
  margin-bottom: 3rem;
}

.bar-wrapper {
  margin-bottom: 2rem;
}

.bar-label-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.bar-container {
  height: 12px;
  background: var(--border-glass);
  border-radius: 100px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold));
  border-radius: 100px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================================
   TAB 4: BELGELERİMİZ (DOCUMENTS)
   ======================================================== */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.doc-card {
  cursor: pointer;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.doc-preview {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-glass-active);
  position: relative;
}

.doc-preview img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.doc-card:hover .doc-preview img {
  transform: scale(1.1);
}

.doc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}

.doc-card:hover .doc-overlay {
  opacity: 1;
}

.doc-overlay svg {
  width: 36px;
  height: 36px;
  color: #fff;
}

.doc-title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.doc-issuer {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
  color: var(--text-primary);
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
}

/* ========================================================
   TAB 5: ÜRETİM (PRODUCTION)
   ======================================================== */
.production-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.prod-steps-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prod-step-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: var(--transition-smooth);
}

.prod-step-btn:hover {
  background: rgba(255,255,255,0.03);
}

.prod-step-btn.active {
  background: var(--bg-glass-active);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glass);
}

.prod-step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.prod-step-btn.active .prod-step-num {
  color: var(--accent-gold);
}

.prod-step-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.prod-step-btn.active .prod-step-title {
  color: var(--text-primary);
}

.prod-content-display {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.prod-content-display.active {
  display: block;
  animation: stepFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.prod-display-card {
  padding: 0;
  overflow: hidden;
}

.prod-display-img {
  height: 350px;
  width: 100%;
  object-fit: cover;
}

.prod-display-info {
  padding: 2.5rem;
}

.prod-display-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.prod-display-info p {
  color: var(--text-secondary);
}

/* ========================================================
   TAB 6: SHOWROOM
   ======================================================== */
.showroom-filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  color: var(--text-primary);
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px var(--accent-gold-glow);
}

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

.showroom-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.showroom-card.hide {
  display: none;
}

.showroom-img-box {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.showroom-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.showroom-card:hover .showroom-img-box img {
  transform: scale(1.06);
}


.showroom-tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(8, 12, 20, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.showroom-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.showroom-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.showroom-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ========================================================
   TAB 7: KALITE YÖNETIMI (QUALITY MANAGEMENT)
   ======================================================== */
.quality-intro {
  margin-bottom: 5rem;
}

.quality-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.quality-assurance {
  padding: 3rem;
  text-align: left;
}

.assurance-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.metric-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 4px solid var(--border-glass);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--accent-blue-glow);
}

.metric-num {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-blue);
}

/* ========================================================
   TAB 8: MUTLU ÇALIŞANLAR (HAPPY EMPLOYEES)
   ======================================================== */
.employees-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

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

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.benefit-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.benefit-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Testimonials Carousel */
.testimonials-section {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  margin-bottom: 1rem;
}

.author-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  background: none;
  border: 1px solid var(--border-glass-active);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff;
}

/* ========================================================
   TAB 9: ILETIŞIM (CONTACT)
   ======================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  margin-bottom: 5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.contact-info-icon {
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-info-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Contact Form styling */
.contact-form-card {
  padding: 3rem;
}

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

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass-active);
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

body.light-theme .form-control {
  background: rgba(0, 0, 0, 0.02);
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
  background: transparent;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: block;
}

/* Simulated Map */
.map-wrapper {
  margin-top: 2rem;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border-glass);
  position: relative;
}

.map-wrapper iframe {
  transition: var(--transition-smooth);
}

.simulated-map {
  width: 100%;
  height: 100%;
  background: #111827; /* Dark styled map */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

body.light-theme .simulated-map {
  background: #f1f5f9;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(var(--border-glass-active) 1px, transparent 1px),
    radial-gradient(var(--border-glass-active) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  opacity: 0.4;
}

.map-pin {
  width: 24px;
  height: 24px;
  background: var(--accent-gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  animation: pulse-pin 2s infinite;
  z-index: 2;
}

.map-pin::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--bg-primary);
  border-radius: 50%;
  position: absolute;
  top: 7px;
  left: 7px;
}

@keyframes pulse-pin {
  0% { transform: rotate(-45deg) scale(1); }
  50% { transform: rotate(-45deg) scale(1.15); }
  100% { transform: rotate(-45deg) scale(1); }
}

.map-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 320px;
  margin-top: 1.5rem;
  z-index: 2;
  box-shadow: var(--shadow-glass);
}

.map-overlay-card {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--bg-glass-active);
  border: 1px solid var(--border-glass-active);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.25rem;
  border-radius: 12px;
  max-width: 290px;
  z-index: 10;
  box-shadow: var(--shadow-glass);
  pointer-events: auto;
  transition: var(--transition-smooth);
}

.map-overlay-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.map-card h4 {
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
}

/* Success Modal */
.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.success-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.success-card {
  text-align: center;
  max-width: 420px;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.success-modal.active .success-card {
  transform: scale(1);
}

.success-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-glass);
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 5rem 0 2rem;
  margin-top: 6rem;
  position: relative;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: #0f172a;
}

.footer-brand p {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #475569;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: #0f172a;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #0f172a;
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #475569;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-item svg {
  width: 18px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.85rem;
}

/* ========================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ======================================================== */
@media (max-width: 1100px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .docs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .showroom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1150px) {
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    align-items: center;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Grid collapse */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-visual {
    height: 420px;
    order: -1;
    margin-left: 0; /* Reset margin on mobile */
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-content {
    margin-top: 0;
  }

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

  .profile-stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .production-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 600px) {
  html {
    font-size: 15px;
  }

  .map-overlay-card {
    display: none !important;
  }

  .navbar-container {
    padding: 0 1rem;
  }

  .section-view {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 1.61rem;
  }

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

  .grid-3, .grid-4, .docs-grid, .showroom-grid {
    grid-template-columns: 1fr;
  }

  .stats-banner {
    grid-template-columns: 1fr;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

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

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

/* Justify paragraph texts for specific sections to prevent ragged vertical line wraps */
#profile p, 
#quality p, 
#employees p,
.profile-card p,
.testimonial-quote {
  text-align: justify;
  text-align-last: left; /* Keep last line aligned left for natural reading flow */
}

/* Ensure centering is preserved for stat numbers and labels */
#profile .stat-num, 
#profile .stat-label, 
#profile .profile-card-title,
#quality .metric-num,
#quality .assurance-metrics h4 {
  text-align: center;
  text-align-last: center;
}

/* Logo Image Styling */
.brand-logo-img {
  height: 44px;
  width: auto;
  border-radius: 6px;
  transition: var(--transition-smooth);
}



.footer-logo-img {
  height: 52px;
  width: auto;
  border-radius: 6px;
}

/* Default Theme (Dark Theme): Show dark logo (with white text), hide light logo */
.logo-dark-theme {
  display: block;
}
.logo-light-theme {
  display: none;
}

/* Light Theme: Show light logo (with dark text), hide dark logo */
body.light-theme .logo-dark-theme {
  display: none;
}
body.light-theme .logo-light-theme {
  display: block;
}

/* Hero Section Slider Styles */
.hero-slider {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  height: 500px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
}

.slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active img {
  transform: scale(1.06); /* Subtle Ken Burns luxury zoom */
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
  background: rgba(8, 12, 20, 0.45);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
}

.slider-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dots .dot:hover, 
.slider-dots .dot.active {
  background: var(--accent-gold);
  transform: scale(1.2);
  box-shadow: 0 0 6px var(--accent-gold-glow);
}

/* Showroom Image Click Styles */
.showroom-card img {
  cursor: pointer;
}

/* Select Form Control Dropdown Option Styles */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

body.light-theme select.form-control {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

select.form-control option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}











