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

/* 
  GAMPAŞ AMBALAJ A.Ş. - Global Style System (Vanilla CSS Layout)
  Designed for maximum aesthetic appeal, responsive layout grids, and premium look.
*/

:root {
  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Premium Palette */
  --primary: #004ad7;
  --primary-hover: #0037ab;
  --primary-light: rgba(0, 74, 215, 0.05);
  --primary-light-hover: rgba(0, 74, 215, 0.1);
  --secondary: #0f172a; /* Slate 900 */
  --accent: #0284c7; /* Sky 600 */
  --success: #10b981; /* Emerald 500 */
  
  /* Backgrounds & Surfaces */
  --bg-main: #ffffff;
  --bg-section: #f8fafc; /* Slate 50 */
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  /* Text Colors */
  --text-main: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #64748b; /* Slate 500 */
  --text-light: #f8fafc;
  
  /* Borders & Dividers */
  --border-color: #e2e8f0; /* Slate 200 */
  --border-focus: #93c5fd; /* Blue 300 */
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 74, 215, 0.03), 0 2px 4px -2px rgba(0, 74, 215, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 74, 215, 0.04), 0 4px 6px -4px rgba(0, 74, 215, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 74, 215, 0.08), 0 8px 10px -6px rgba(0, 74, 215, 0.08);
  --shadow-glow: 0 0 20px rgba(0, 74, 215, 0.15);
  
  /* Timing & Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Grid & Max Width */
  --max-width: 1200px;
  --header-height: 80px;
}

/* Reset & Base Elements */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-main);
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Common Layout Utilities */
section {
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Grid helper */
.grid {
  display: grid;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 16px;
  padding: 6px 18px;
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 74, 215, 0.08);
}

.section-title {
  font-size: 2.75rem;
  color: var(--secondary);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 50px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 74, 215, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2.5px);
  box-shadow: 0 6px 22px rgba(0, 74, 215, 0.32);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(0, 74, 215, 0.25);
}

.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2.5px);
}

/* Glassmorphic Sticky Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all var(--transition-normal);
  padding: 24px 0;
  background: transparent;
}

.header-shrinked {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  object-contain: fit;
  height: 40px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  position: relative;
  font-weight: 550;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 8px 0;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

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

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

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: block;
}

/* Mobile Toggle Hamburger button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 60;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-fast);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Dropdown */
.mobile-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInUp 0.4s forwards;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
}

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

.mobile-cta-btn {
  margin-top: 10px;
  width: 100%;
}



/* 2. HERO SHOWCASE SECTION */
.hero-section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 150px;
  background: linear-gradient(to bottom, rgba(0, 74, 215, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-content {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 24px;
}

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

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.hero-visual {
  grid-column: span 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-boxes {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-svg-illustration {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 25px rgba(0, 74, 215, 0.1));
}

/* 3. STATS OVERLAY BAR (Fix clipping settings) */
.stats-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 30; /* Higher z-index to overlay cleanly */
  padding: 0 24px;
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px rgba(0, 74, 215, 0.08);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 32px 24px;
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.border-left {
  border-left: 1px solid var(--border-color);
}

/* 4. ABOUT US (KURUMSAL) SECTION */
.about-section {
  padding-top: 160px;
  padding-bottom: 120px;
  overflow: visible;
}

.about-tabs-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.about-tabs-nav {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-nav-btn {
  text-align: left;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.about-nav-btn:hover {
  background: rgba(0, 74, 215, 0.03);
  color: var(--primary);
}

.about-nav-btn.active {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.about-tab-content {
  grid-column: span 8;
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 360px;
}

.tab-content-title {
  font-size: 1.75rem;
  font-weight: 850;
  color: var(--secondary);
  margin-bottom: 20px;
}

.tab-content-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.mission-item {
  display: flex;
  flex-direction: column;
}

.mission-item-title {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.mission-item-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cert-card {
  background-color: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.cert-card:hover {
  border-color: var(--primary);
  background-color: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.cert-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.cert-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* 5. PRODUCT CATALOG SHOWCASE SECTION */
.products-section {
  padding: 120px 24px;
}

.filter-axis-selector {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.filter-axis-btn {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  background: var(--bg-section);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.filter-axis-btn.active {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(0, 74, 215, 0.2);
}

.filter-btn-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  background: var(--bg-main);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--bg-section);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 74, 215, 0.12);
}

.product-card-top {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-color: var(--bg-section);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: transform var(--transition-fast);
}

.product-card:hover .product-card-top {
  transform: scale(1.03);
}

.product-svg-element {
  width: auto;
  height: 100%;
  max-width: 100%;
  color: var(--primary);
}

.product-badges-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.product-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.product-shape-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
  text-align: left;
}

.product-card:hover .product-title {
  color: var(--primary);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: left;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  margin-top: 18px;
  border-top: 1px solid var(--bg-section);
  padding-top: 12px;
  text-align: left;
}

.product-more-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.product-card:hover .product-more-link {
  gap: 10px;
}

/* 6. SUSTAINABILITY (SÜRDÜRÜLEBİLİRLİK) SECTION */
.sustain-section {
  padding: 120px 24px;
}

.sustain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.sustain-visual {
  display: flex;
  justify-content: center;
}

.sustain-svg-box {
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-xl);
  border-radius: 50%;
  padding: 40px;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.sustain-svg-illustration {
  width: 100%;
  height: 100%;
}

.sustain-content {
  text-align: left;
}

.eco-tag {
  background-color: rgba(16, 185, 129, 0.05);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.08);
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: start;
}

.value-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.value-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 7. INTERACTIVE CONTACT SECTION */
.contact-section {
  padding: 120px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

.contact-info {
  grid-column: span 5;
  text-align: left;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: start;
}

.info-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.info-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.map-frame {
  margin-top: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-section);
}

.map-overlay-color {
  position: absolute;
  inset: 0;
  background-color: var(--primary);
  opacity: 0.04;
}

.map-content {
  position: relative;
  text-align: center;
  padding: 16px;
  z-index: 2;
}

.map-icon {
  font-size: 1.75rem;
  margin-bottom: 8px;
  display: block;
}

.map-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 6px;
}

.map-link {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

.map-link:hover {
  text-decoration: underline;
}

.contact-form-card {
  grid-column: span 7;
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 32px;
  text-align: left;
}

.form-success-card {
  background-color: rgba(16, 185, 129, 0.03);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.success-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #065f46; /* Emerald 800 */
  margin-bottom: 8px;
}

.success-desc {
  font-size: 0.9rem;
  color: #047857; /* Emerald 700 */
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-section);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  background: var(--bg-main);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 74, 215, 0.08);
}

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

.error-field {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.02);
}

.error-text-span {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
  font-weight: 600;
}

.submit-btn {
  background: var(--primary);
  color: var(--text-light);
  width: 100%;
  padding: 16px;
  font-weight: 750;
  box-shadow: 0 4px 14px rgba(0, 74, 215, 0.2);
}

.submit-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(0, 74, 215, 0.3);
}

.submit-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

/* 8. FOOTER */
.site-footer {
  background-color: var(--secondary);
  color: #94a3b8; /* Slate 400 */
  padding: 80px 24px 40px;
  border-top: 1px solid #1e293b;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-logo {
  filter: brightness(0) invert(1) opacity(0.85);
  height: 40px;
  width: auto;
  object-contain: fit;
  margin-bottom: 20px;
}

.footer-text {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #64748b; /* Slate 500 */
}

.footer-phone {
  font-weight: 700;
  color: var(--text-light) !important;
  margin-top: 10px;
}

.footer-col-title {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

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

.footer-link {
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-light);
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links .footer-link {
  font-size: 0.75rem;
  color: #64748b;
}

.footer-bottom-links .footer-link:hover {
  color: var(--text-light);
}

/* 9. INTERACTIVE PRODUCT DETAIL MODAL DIALOG */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.4s forwards;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-section);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(0, 74, 215, 0.1);
  color: var(--primary);
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  text-align: left;
}

.modal-visual {
  background-color: var(--bg-section);
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border-right: 1px solid var(--border-color);
}

.modal-svg-wrap {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 850;
  color: var(--secondary);
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.specs-section {
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-bottom: 24px;
}

.specs-section-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.spec-item {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-bullet {
  color: var(--primary);
  font-weight: 900;
}

.spec-dimensions {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.modal-cta {
  width: 100%;
  padding: 14px;
  font-weight: 700;
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  z-index: 40;
  opacity: 0;
  transform: scale(0.75);
  pointer-events: none;
  font-size: 0.8rem;
}

.back-to-top-btn.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   ADMIN PANEL & CMS INLINE EDITING STYLES
   ========================================== */

/* Editable element triggers */
.editable-text {
  position: relative;
  transition: outline var(--transition-fast);
}

.editable-text.edit-active:hover {
  outline: 2px dashed var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
  cursor: pointer;
}

.editable-text.edit-active::after {
  content: '✏️';
  position: absolute;
  top: -10px;
  right: -20px;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 10;
  pointer-events: none;
}

.editable-text.edit-active:hover::after {
  opacity: 1;
}

/* Floating Admin Panel Bar */
.admin-bar {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  animation: fadeInUp 0.4s forwards;
}

.admin-title {
  color: var(--text-light);
  font-weight: 800;
  font-size: 0.9rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f59e0b; /* Yellow warning dot */
  display: inline-block;
}

.admin-status-dot.active {
  background-color: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.admin-actions-group {
  display: flex;
  gap: 8px;
}

.admin-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
  transition: all var(--transition-fast);
}

.admin-btn-toggle {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.admin-btn-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

.admin-btn-toggle.active {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(0, 74, 215, 0.4);
}

.admin-btn-save {
  background: var(--success);
  color: white;
}

.admin-btn-save:hover {
  background: #059669;
  transform: translateY(-1.5px);
}

.admin-btn-cancel {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

/* Custom Editable Image Wrapper */
.editable-img-container {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}

.editable-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 74, 215, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 5;
  border-radius: inherit;
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.editable-img-container.edit-active:hover .editable-img-overlay {
  opacity: 1;
}

/* WYSIWYG rich text editor overlay styles */
.editor-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.editor-modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: fadeInUp var(--transition-normal) forwards;
}

.editor-modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.editor-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
}

.editor-modal-close {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.editor-modal-body {
  padding: 24px;
}

.editor-toolbar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px;
  background-color: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.toolbar-btn {
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.toolbar-btn:hover, .toolbar-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.toolbar-select {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: white;
}

.editor-textarea {
  width: 100%;
  min-height: 180px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
  resize: vertical;
}

.editor-modal-footer {
  padding: 20px 24px;
  background-color: var(--bg-section);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* File Upload input */
.hidden-file-input {
  display: none;
}

/* PDF Modal Dialog styling */
.pdf-modal-content {
  max-width: 900px;
  width: 100%;
  height: 80vh;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pdf-viewer-frame {
  width: 100%;
  height: 100%;
  border: none;
  background: #f1f5f9;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Intersection Observer Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries (Responsive Design) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 16px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .desktop-nav, .header-actions {
    display: none;
  }
  
  .hero-section {
    padding-top: 130px;
    padding-bottom: 180px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero-content {
    grid-column: span 12;
    align-items: center;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    grid-column: span 12;
    margin-top: 24px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px 16px;
    gap: 24px;
  }
  
  .border-left {
    border-left: none;
  }
  
  .about-section {
    padding-top: 180px;
  }
  
  .about-tabs-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .about-tabs-nav {
    grid-column: span 12;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .about-nav-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
  }
  
  .about-nav-btn.active {
    transform: none;
  }
  
  .about-tab-content {
    grid-column: span 12;
    padding: 24px;
    min-height: auto;
  }
  
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  
  .sustain-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .sustain-svg-box {
    width: 280px;
    height: 280px;
    padding: 24px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-info {
    grid-column: span 12;
  }
  
  .contact-form-card {
    grid-column: span 12;
    padding: 24px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .modal-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-visual {
    min-height: 240px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .modal-info {
    padding: 24px;
  }
  
  .admin-bar {
    padding: 10px 20px;
    width: 95%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .cert-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin Trigger Button & Modal Styling */
.admin-trigger-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #334155;
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.admin-trigger-dot:hover {
  background-color: var(--primary);
  transform: scale(1.3);
}

.login-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
  animation: modalScaleIn var(--transition-normal) forwards;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- NEW INTERACTIVE & PREMIUM STYLING ADDITIONS --- */

/* Hero Banner Slider Navigation */
.hero-slider-nav {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-slider-dots {
  display: flex;
  gap: 8px;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.hero-slider-dot:hover {
  background: var(--primary-hover);
  transform: scale(1.15);
}

.hero-slider-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: var(--radius-full);
}

.hero-slider-admin-btns {
  display: flex;
  gap: 10px;
}

/* Two Maps Side-by-Side Layout */
.maps-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  width: 100%;
}

@media (max-width: 640px) {
  .maps-container {
    grid-template-columns: 1fr;
  }
}

.map-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-normal);
}

.map-box:hover {
  border-color: rgba(0, 74, 215, 0.15);
  box-shadow: var(--shadow-md);
}

.map-box-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-iframe-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-section);
}

.map-box-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  transition: color var(--transition-fast);
}

.map-box-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Legal Modals (KVKK, Cookie, Privacy) */
.legal-modal-content {
  max-width: 680px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.legal-modal-body {
  padding: 24px;
}

.legal-modal-body h3 {
  color: var(--secondary);
  font-weight: 800;
}

.legal-modal-body h4 {
  color: var(--primary);
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
}

/* Product Detail Modal Image Slider */
.modal-slider-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.modal-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  background: var(--bg-section);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-slider-img {
  max-height: 100%;
  max-width: 100%;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
  box-shadow: var(--shadow-sm);
  padding: 0;
  line-height: 1;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
}

.slider-arrow-left {
  left: 12px;
}

.slider-arrow-right {
  right: 12px;
}

.modal-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.modal-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-slider-dot:hover {
  background: rgba(0, 0, 0, 0.4);
}

.modal-slider-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

.product-modal-content {
  max-width: 820px;
}

.btn-delete-slide:hover {
  background: #fef2f2 !important;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links .footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-bottom-links .footer-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

