/*
Theme Name: Aden Medikal
Theme URI: https://adenmedikal.com
Author: Aden Medikal
Author URI: https://adenmedikal.com
Description: Aden Medikal - Dr. Green's Cerrahi Medikal Ürünler için özel WordPress teması. Yeşil tema, TR/EN dil desteği.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adenmedikal
Domain Path: /languages
Tags: medical, surgical, green, bilingual, responsive, custom-logo
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ==================== CSS VARIABLES ==================== */
:root {
  --green-900: #0a3d2a;
  --green-800: #0d5234;
  --green-700: #0f6b3e;
  --green-600: #148a4e;
  --green-500: #1aa85e;
  --green-400: #3ec47a;
  --green-300: #6fdb9e;
  --green-200: #a8ecc4;
  --green-100: #d4f5e2;
  --green-50: #edfaf3;
  --white: #ffffff;
  --gray-50: #f8faf9;
  --gray-100: #f0f3f1;
  --gray-200: #e2e7e4;
  --gray-300: #c5cdc8;
  --gray-600: #5a6b60;
  --gray-700: #3d4f43;
  --gray-800: #2a3a2f;
  --gray-900: #1a2a1f;
  --gold: #c8a951;
  --gold-light: #f0e6c4;
  --shadow-sm: 0 1px 3px rgba(10,61,42,0.08);
  --shadow-md: 0 4px 16px rgba(10,61,42,0.1);
  --shadow-lg: 0 8px 32px rgba(10,61,42,0.12);
  --shadow-xl: 0 16px 48px rgba(10,61,42,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==================== TOP BAR ==================== */
.top-bar {
  background: var(--green-900);
  color: var(--green-200);
  font-size: 0.8rem;
  padding: 8px 0;
  letter-spacing: 0.3px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--green-200); transition: color 0.3s; }
.top-bar a:hover { color: var(--white); }
.top-bar-left { display: flex; gap: 24px; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.lang-switch {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px; padding: 3px;
}
.lang-btn {
  border: none; background: transparent;
  color: var(--green-300);
  padding: 4px 14px; border-radius: 16px;
  cursor: pointer; font-size: 0.78rem;
  font-weight: 600; font-family: inherit;
  transition: all 0.3s; letter-spacing: 0.5px;
}
.lang-btn.active { background: var(--green-600); color: var(--white); }
.lang-btn:hover:not(.active) { background: rgba(255,255,255,0.1); }

/* ==================== HEADER ==================== */
.site-header {
  background: var(--white);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.logo-wrap {
  display: flex; align-items: center; gap: 14px;
}
.logo-wrap img { height: 52px; transition: transform 0.3s; }
.logo-wrap:hover img { transform: scale(1.03); }
.logo-text { display: flex; flex-direction: column; }
.logo-text .brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--green-800); line-height: 1.15;
}
.logo-text .sub {
  font-size: 0.68rem; color: var(--green-600);
  font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==================== NAVIGATION ==================== */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .main-nav > .dropdown > a {
  color: var(--gray-700); font-weight: 500;
  font-size: 0.82rem; padding: 8px 11px;
  border-radius: var(--radius-sm);
  transition: all 0.3s; letter-spacing: 0.1px;
  white-space: nowrap;
}
.main-nav > a:hover, .main-nav > .dropdown > a:hover { color: var(--green-700); background: var(--green-50); }
.main-nav > a.active { color: var(--green-700); font-weight: 600; }
.nav-order-btn { padding: 9px 20px !important; font-size: .8rem !important; white-space: nowrap; margin-left: 4px; }

.dropdown { position: static; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  width: 680px; max-width: 90vw;
  max-height: 70vh; overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); padding: 24px 28px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.3s ease; z-index: 100;
  border: 1px solid var(--green-100);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px 28px;
}
.dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 6px 10px;
  font-size: 0.8rem; border-radius: var(--radius-sm);
  color: var(--gray-700); font-weight: 500;
  white-space: normal;
}
.dropdown-menu a:hover { color: var(--green-700); background: var(--green-50); }
.dropdown-sub { break-inside: avoid; margin-bottom: 12px; }
.dropdown-sub > a {
  font-weight: 700 !important; color: var(--green-800) !important;
  font-size: 0.84rem !important;
  border-bottom: 2px solid var(--green-100);
  margin-bottom: 2px; padding-bottom: 6px !important;
}
.dropdown-sub > a::after { content: '' !important; }
.dropdown-sub .sub-menu {
  position: static !important;
  background: transparent; min-width: auto;
  border-radius: 0;
  box-shadow: none; padding: 0;
  opacity: 1 !important; visibility: visible !important;
  transform: none !important;
  border: none;
  display: block;
}
.dropdown-sub .sub-menu a {
  padding: 4px 10px; font-size: 0.78rem;
  color: var(--gray-600);
}
.dropdown-sub .sub-menu a:hover { color: var(--green-600); background: var(--green-50); }
.dropdown-menu > div[style] {
  grid-column: 1 / -1;
  border-top: 1px solid var(--green-100);
  margin-top: 4px; padding-top: 6px;
}
}
/* dropdown-sub arrow removed — mega menu layout */

.hamburger {
  display: none; cursor: pointer; padding: 8px; z-index: 1001;
  background: none; border: none; color: var(--green-800);
}
.hamburger svg { display: block; }

/* Mobile close (X) button */
.mobile-close {
  display: none; position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 1.6rem;
  color: var(--gray-700); cursor: pointer; padding: 8px 12px;
  z-index: 1002; line-height: 1;
}
.mobile-close:hover { color: var(--green-700); }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-xl);
  font-family: inherit; font-weight: 600;
  font-size: 0.92rem; cursor: pointer;
  border: none; transition: all 0.35s ease;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--green-500); color: var(--white);
  box-shadow: 0 4px 20px rgba(26,168,94,0.35);
}
.btn-primary:hover {
  background: var(--green-400); transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(26,168,94,0.45);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--white); background: rgba(255,255,255,0.08);
}
.btn-gold { background: var(--gold); color: var(--green-900); font-weight: 700; }
.btn-gold:hover { background: #dabb60; transform: translateY(-2px); }

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative; height: 88vh;
  min-height: 600px; overflow: hidden;
  background: var(--green-900);
}
.hero-slider { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,61,42,0.82) 0%, rgba(15,107,62,0.55) 50%, rgba(10,61,42,0.72) 100%);
}
.hero-content {
  position: relative; z-index: 10; height: 100%;
  display: flex; align-items: center; padding: 0 40px;
}
.hero-inner { max-width: 680px; animation: heroFadeUp 1s ease-out; }

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 20px; border-radius: 30px;
  color: var(--green-200); font-size: 0.82rem;
  font-weight: 500; margin-bottom: 24px;
  letter-spacing: 1px; text-transform: uppercase;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-400); animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.6rem; color: var(--white);
  line-height: 1.12; margin-bottom: 18px; font-weight: 700;
}
.hero h1 span { color: var(--green-300); font-style: italic; }
.hero p {
  color: rgba(255,255,255,0.82); font-size: 1.12rem;
  margin-bottom: 36px; line-height: 1.7; max-width: 540px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-indicators {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; gap: 10px;
}
.hero-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: all 0.3s; border: 2px solid transparent;
}
.hero-dot.active {
  background: var(--green-400); border-color: var(--white);
  transform: scale(1.2);
}

/* ==================== STATS BAR ==================== */
.stats-bar {
  background: var(--white); margin-top: -56px;
  position: relative; z-index: 20;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.stat-item {
  padding: 32px 28px; text-align: center;
  border-right: 1px solid var(--green-100);
  transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--green-50); }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--green-700); line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 0.82rem; color: var(--gray-600); font-weight: 500; }

/* ==================== SECTION COMMON ==================== */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--green-600); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 14px;
}
.section-tag::before {
  content: ''; width: 28px; height: 2px;
  background: var(--green-500); border-radius: 2px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem; color: var(--green-900);
  line-height: 1.15; margin-bottom: 20px; font-weight: 700;
}

/* ==================== ABOUT ==================== */
.about { padding: 100px 0 80px; }
.about .container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--green-700); color: var(--white);
  padding: 20px 28px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); text-align: center;
}
.about-img-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700; line-height: 1;
}
.about-img-badge .txt {
  font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 1px; margin-top: 4px;
}
.about-text p {
  color: var(--gray-600); margin-bottom: 16px;
  font-size: 1rem; line-height: 1.75;
}
.cert-badges { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.cert-badge {
  background: var(--green-50); border: 1px solid var(--green-200);
  padding: 8px 18px; border-radius: 30px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--green-700); letter-spacing: 0.5px;
}

/* ==================== WHY US ==================== */
.why-us {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  position: relative; overflow: hidden;
}
.why-us::before {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(62,196,122,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.why-us .section-tag { color: var(--green-300); }
.why-us .section-tag::before { background: var(--green-400); }
.why-us .section-title { color: var(--white); }
.why-us-subtitle { color: rgba(255,255,255,0.7); max-width: 520px; margin-bottom: 52px; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 40px 32px;
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
}
.why-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 700;
  color: rgba(62,196,122,0.15);
  position: absolute; top: 16px; right: 24px; line-height: 1;
}
.why-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(26,168,94,0.3);
}
.why-card h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--white); font-size: 1.3rem;
  font-weight: 600; margin-bottom: 12px;
}
.why-card p { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.65; }

/* ==================== PRODUCTS ==================== */
.products { padding: 100px 0; background: var(--gray-50); }
.products-header { text-align: center; max-width: 600px; margin: 0 auto 52px; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.product-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all 0.4s ease; border: 1px solid var(--green-100);
  border-left: 4px solid var(--green-500);
}
.product-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--green-300); border-left-color: var(--green-400);
}
.product-card-img {
  height: 200px; overflow: hidden;
  background: var(--green-50);
}
.product-card-img .icon-placeholder { display: none; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 28px 24px; }
.product-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem; font-weight: 600;
  color: var(--green-800); margin-bottom: 8px;
}
.product-card .sub-list { display: flex; flex-direction: column; gap: 4px; }
.product-card .sub-list li {
  font-size: 0.8rem; color: var(--gray-600);
  padding: 3px 0 3px 14px; position: relative;
}
.product-card .sub-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-400); transform: translateY(-50%);
}
.product-card .product-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-600); font-size: 0.82rem;
  font-weight: 600; margin-top: 14px; transition: gap 0.3s;
}
.product-card:hover .product-link { gap: 10px; color: var(--green-500); }

/* ==================== CATALOG CTA ==================== */
.catalog-cta { padding: 80px 0; background: var(--white); }
.catalog-inner {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  border-radius: var(--radius-xl); padding: 60px 64px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.catalog-inner::before {
  content: ''; position: absolute;
  right: -80px; bottom: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  border-radius: 50%;
}
.catalog-text h2 {
  font-family: 'Playfair Display', serif;
  color: var(--white); font-size: 2rem; margin-bottom: 10px;
}
.catalog-text p { color: rgba(255,255,255,0.75); font-size: 1rem; }

/* ==================== REFERENCES ==================== */
.references { padding: 80px 0; background: var(--gray-50); }
.ref-track { overflow: hidden; position: relative; }
.ref-slider {
  display: flex; gap: 48px;
  animation: scrollRefs 30s linear infinite;
  width: max-content;
}
@keyframes scrollRefs {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ref-logo {
  width: 180px; height: 180px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--green-100); transition: all 0.3s;
}
.ref-logo:hover { box-shadow: var(--shadow-md); transform: scale(1.08); }
.ref-logo img {
  width: 100%; height: 100%; object-fit: contain;
  filter: grayscale(20%); transition: filter 0.3s;
}
.ref-logo:hover img { filter: grayscale(0%); }

/* ==================== CONTACT ==================== */
.contact-section { padding: 100px 0 80px; background: var(--white); }
.contact-section .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 24px; background: var(--green-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-100); transition: all 0.3s;
}
.contact-card:hover {
  background: var(--white); box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.contact-card-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-card h4 {
  font-size: 0.88rem; color: var(--green-800);
  font-weight: 600; margin-bottom: 4px;
}
.contact-card p, .contact-card a {
  font-size: 0.88rem; color: var(--gray-600); line-height: 1.5;
}
.contact-card a:hover { color: var(--green-600); }

.contact-form-wrap {
  background: var(--gray-50); padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--green-100);
}
.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  color: var(--green-800); font-size: 1.5rem; margin-bottom: 24px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.82rem; font-weight: 600; color: var(--gray-700);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); font-family: inherit;
  font-size: 0.9rem; background: var(--white);
  transition: border-color 0.3s; outline: none; color: var(--gray-800);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(26,168,94,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--green-900); color: var(--green-200); padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 44px; margin-bottom: 16px; filter: brightness(1);
}
.footer-brand p {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  line-height: 1.65; max-width: 300px;
}
.site-footer h4 {
  color: var(--white); font-size: 0.92rem;
  font-weight: 600; margin-bottom: 18px; letter-spacing: 0.5px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55); font-size: 0.86rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--green-300); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px; font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom {
  padding: 22px 0; display: flex; align-items: center;
  justify-content: space-between; font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: var(--green-400); }

/* ==================== SCROLL TOP ==================== */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all 0.4s;
  box-shadow: var(--shadow-md); border: none; z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--green-500); transform: translateY(-3px); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .site-header .container { padding: 10px 16px; }

  /* Logo küçült */
  .logo-wrap img { height: 40px; }
  .logo-text .brand { font-size: 1rem; }

  /* Hamburger her zaman görünsün mobilde */
  .hamburger { display: block !important; }

  /* Mobil nav */
  .main-nav {
    display: none; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column;
    align-items: flex-start; padding: 60px 20px 24px;
    gap: 0; z-index: 999; overflow-y: auto;
  }
  .main-nav.open { display: flex; }

  /* X kapat butonu mobilde görünsün */
  .main-nav.open .mobile-close { display: block; }

  /* Nav linkleri mobilde daha büyük ve tıklanabilir */
  .main-nav > a,
  .main-nav > .dropdown > a {
    font-size: 1rem !important; padding: 14px 8px !important;
    width: 100%; border-bottom: 1px solid var(--green-100);
    white-space: normal !important;
  }

  /* Sipariş butonu mobilde tam genişlik */
  .nav-order-btn {
    width: 100% !important; margin: 16px 0 0 0 !important;
    justify-content: center !important;
    padding: 14px 24px !important; font-size: .9rem !important;
  }

  /* Dropdown mobilde */
  .dropdown-menu {
    position: static !important; box-shadow: none; border: none;
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    transform: none !important; width: 100% !important; max-width: 100% !important;
    left: 0 !important; max-height: none !important; overflow: visible !important;
    padding: 0 0 0 16px; display: none;
    grid-template-columns: 1fr !important;
  }
  .dropdown.open > .dropdown-menu { display: grid; }
  .dropdown-sub { margin-bottom: 8px; }
  .dropdown-sub > a { font-size: .9rem !important; padding: 10px 8px !important; }
  .dropdown-sub .sub-menu { padding-left: 12px; }
  .dropdown-sub .sub-menu a { padding: 8px 8px; font-size: .85rem; }

  /* Hero */
  .hero { height: 70vh; min-height: 480px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: .95rem; }
  .hero-content { padding: 0 16px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; text-align: center; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 20px 16px; }
  .stat-num { font-size: 1.8rem; }

  /* About */
  .about .container { grid-template-columns: 1fr; gap: 32px; }

  /* Why us */
  .why-grid { grid-template-columns: 1fr; }

  /* Products */
  .products-grid { grid-template-columns: 1fr !important; }

  /* Contact */
  .contact-section .container { grid-template-columns: 1fr; }
  .contact-info-cards { gap: 12px; }

  /* Catalog CTA */
  .catalog-inner { flex-direction: column; text-align: center; padding: 32px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }

  /* Top bar */
  .top-bar-left { display: none; }
  .top-bar .container { justify-content: center; }

  /* Section titles */
  .section-title { font-size: 1.8rem; }

  /* Sertifika logoları bandı */
  section[style*="gap:48px"] { gap: 24px !important; }
  section[style*="gap:48px"] img { height: 40px !important; }
}

/* ==================== POLYLANG LANGUAGE SWITCHER ==================== */
.lang-switch ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.lang-switch li { display: inline-block; list-style: none; }
.lang-switch li a {
  color: var(--green-300); padding: 4px 14px;
  border-radius: 16px; font-size: 0.78rem;
  font-weight: 600; text-decoration: none;
  transition: all 0.3s; letter-spacing: 0.5px;
}
.lang-switch li.current-lang a {
  background: var(--green-600); color: #fff;
}
.lang-switch li a:hover { background: rgba(255,255,255,0.1); }

/* Polylang bullet noktalarını gizle */
.lang-switch li::before,
.lang-switch li::marker { display: none !important; content: '' !important; }
