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

/* ========================
   CSS VARIABLES
   ======================== */
:root {
  --primary: #2E7D6B;
  --primary-light: #3b9b84;
  --primary-dark: #1a5c4f;
  --accent: #C8813B;
  --accent-light: #dfa05a;
  --bg: #FAFAF8;
  --surface: #F2F0EB;
  --surface-dark: #E5E2DC;
  --text: #1C1C1C;
  --text-muted: #666;
  --border: #DEDAD5;
  --footer-bg: #1a2e2a;
  --footer-text: #d0ddd9;
  --white: #fff;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --nav-height: 90px;
}

/* ========================
   RESET
   ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========================
   UTILITIES
   ======================== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }

.section-title {
  font-size: 2rem; font-weight: 800; color: var(--text);
  text-align: center; margin-bottom: 48px; position: relative;
}
.section-title::after {
  content: ''; display: block; width: 60px; height: 4px;
  background: var(--accent); margin: 12px auto 0; border-radius: 2px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700; transition: var(--transition); cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(46,125,107,0.35); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #b0712e; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(200,129,59,0.35); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); font-weight: 700; }
.btn-white:hover { background: var(--surface); }

/* ========================
   NAVBAR
   ======================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); box-shadow: var(--shadow); height: var(--nav-height);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.navbar-logo img { height: 80px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  padding: 8px 14px; border-radius: var(--radius); font-weight: 600;
  font-size: 0.9rem; transition: var(--transition); color: var(--text);
  display: flex; align-items: center; gap: 4px;
}
.nav-links > li > a:hover, .nav-links > li > a.active {
  color: var(--primary); background: rgba(46,125,107,0.08);
}
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 220px; padding: 8px 0; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: var(--transition); border: 1px solid var(--border);
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu li a {
  display: block; padding: 10px 20px; font-size: 0.88rem;
  font-weight: 600; transition: var(--transition); color: var(--text);
}
.dropdown-menu li a:hover { background: var(--surface); color: var(--primary); padding-left: 28px; }
.dropdown-caret { font-size: 0.7rem; transition: transform 0.3s; display: inline-block; }
.dropdown:hover .dropdown-caret { transform: rotate(180deg); }
.menu-toggle { display: none; font-size: 1.5rem; color: var(--text); padding: 8px; }
.page-content { padding-top: var(--nav-height); }

/* ========================
   HERO SLIDER
   ======================== */
.hero-slider { position: relative; height: 580px; overflow: hidden; background: #1a2e2a; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease;
  background-size: cover; background-position: center; display: flex; align-items: center;
}
.slide.active { opacity: 1; }
.slide:nth-child(1) { background-color: #1a3a35; }
.slide:nth-child(2) { background-color: #2d1a0e; }
.slide:nth-child(3) { background-color: #1a2035; }
.slide:nth-child(4) { background-color: #1e2d1a; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.slide-content { position: relative; z-index: 2; color: var(--white); max-width: 580px; padding: 0 60px; }
.slide-content .badge {
  display: inline-block; background: var(--accent); color: var(--white); font-size: 0.78rem;
  font-weight: 700; padding: 4px 14px; border-radius: 50px; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 1px;
}
.slide-content h2 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.slide-content p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; line-height: 1.7; }
.slider-controls {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.35); cursor: pointer;
  transition: var(--transition); border: none;
}
.slider-dot.active { background: var(--white); width: 28px; border-radius: 5px; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  width: 48px; height: 48px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem; z-index: 10; transition: var(--transition);
}
.slider-btn:hover { background: rgba(255,255,255,0.28); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* ========================
   CATEGORY TABS (HOMEPAGE)
   ======================== */
.category-tabs-section { padding: 56px 0; background: var(--white); }
.tabs-nav {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none; margin-bottom: 36px; flex-wrap: wrap;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0; padding: 10px 22px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 700; color: var(--text-muted);
  transition: var(--transition); white-space: nowrap; border: 2px solid transparent;
}
.tab-btn:hover { color: var(--primary); background: rgba(46,125,107,0.07); }
.tab-btn.active { color: var(--primary); background: rgba(46,125,107,0.1); border-color: var(--primary); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ========================
   PRODUCT GRID
   ======================== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border);
  display: block;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.product-card-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 16px; }
.product-card-name { font-size: 0.9rem; font-weight: 700; color: var(--text); transition: var(--transition); line-height: 1.4; }
.product-card:hover .product-card-name { color: var(--primary); }
.product-card-cat { font-size: 0.76rem; color: var(--text-muted); margin-top: 4px; font-weight: 600; }

/* ========================
   PAGE HERO BANNER
   ======================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: var(--white); padding: 64px 0 48px; text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: 0.83rem;
  margin-top: 20px; justify-content: center; opacity: 0.8; flex-wrap: wrap;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }

/* ========================
   HAKKIMIZDA PAGE
   ======================== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-intro-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; }
.about-intro-text h2 span { color: var(--primary); }
.about-intro-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.about-intro-visual {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--radius-lg); padding: 48px; color: var(--white); text-align: center;
}
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-item h3 { font-size: 2.4rem; font-weight: 800; }
.stat-item p { font-size: 0.82rem; opacity: 0.8; font-weight: 600; margin-top: 4px; }
.stat-divider { height: 1px; background: rgba(255,255,255,0.15); margin: 8px 0; grid-column: 1 / -1; }

.why-us-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-us-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition);
}
.why-us-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.why-us-icon {
  width: 64px; height: 64px; background: rgba(46,125,107,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  font-size: 1.8rem; color: var(--primary);
}
.why-us-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 10px; }
.why-us-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-card {
  background: var(--surface); border-radius: var(--radius); padding: 28px 20px;
  text-align: center; border: 1px solid var(--border); transition: var(--transition);
}
.audience-card:hover { border-color: var(--primary-light); background: var(--white); }
.audience-card .aud-icon { font-size: 2.2rem; margin-bottom: 12px; }
.audience-card h4 { font-size: 0.9rem; font-weight: 700; }

.certs-section { background: var(--footer-bg); color: var(--white); padding: 64px 0; text-align: center; }
.certs-section .section-title { color: var(--white); }
.certs-section .section-title::after { background: var(--accent); }
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 840px; margin: 0 auto; }
.cert-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 28px 20px; }
.cert-item .cert-icon { font-size: 2.2rem; margin-bottom: 12px; color: var(--accent-light); }
.cert-item h4 { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.9); }

.cta-section { background: var(--primary); color: var(--white); padding: 64px 0; text-align: center; }
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.cta-section p { opacity: 0.85; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ========================
   PRODUCT DETAIL PAGE
   ======================== */
.product-detail { padding: 56px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-detail-image { position: sticky; top: 90px; }
.product-detail-image-wrapper {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--surface); cursor: zoom-in; aspect-ratio: 1;
}
.product-detail-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-detail-image-wrapper:hover img { transform: scale(1.04); }
.product-detail-info h1 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; line-height: 1.25; }
.product-category-badge {
  display: inline-block; background: rgba(46,125,107,0.1); color: var(--primary);
  font-size: 0.8rem; font-weight: 700; padding: 4px 14px; border-radius: 50px; margin-bottom: 20px;
}
.product-description { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 28px; }
.product-features-list { background: var(--surface); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.product-features-list h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 14px; }
.product-features-list ul { display: flex; flex-direction: column; gap: 8px; }
.product-features-list ul li { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 8px; }
.product-features-list ul li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.usage-areas { margin-bottom: 28px; }
.usage-areas h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 12px; }
.usage-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.usage-tag {
  background: rgba(200,129,59,0.1); color: var(--accent); font-size: 0.82rem;
  font-weight: 700; padding: 5px 14px; border-radius: 50px; border: 1px solid rgba(200,129,59,0.2);
}
.product-back-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--primary);
  font-weight: 700; font-size: 0.88rem; transition: var(--transition); margin-bottom: 28px;
}
.product-back-link:hover { gap: 10px; color: var(--primary-dark); }

/* ========================
   BLOG
   ======================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 210px; display: flex; align-items: center; justify-content: center; font-size: 3.2rem;
  overflow: hidden; position: relative; text-decoration: none;
}
.blog-card-img.has-img { background: var(--surface); }
.blog-card-img.has-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease; display: block;
}
.blog-card:hover .blog-card-img.has-img img { transform: scale(1.06); }
.blog-card-icon { font-size: 3.2rem; }
.blog-card-img.bg1 { background: linear-gradient(135deg, #1a5c4f, #3b9b84); }
.blog-card-img.bg2 { background: linear-gradient(135deg, #2d1a0e, #c8813b); }
.blog-card-img.bg3 { background: linear-gradient(135deg, #1a2035, #3b5bdb); }

/* Blog detail hero image */
.blog-detail-hero {
  width: 100%; height: 420px; border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-lg);
}
.blog-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-detail-hero-gradient {
  width: 100%; height: 280px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; margin-bottom: 36px;
}
.blog-detail-hero-gradient.bg1 { background: linear-gradient(135deg, #1a5c4f, #3b9b84); }
.blog-detail-hero-gradient.bg2 { background: linear-gradient(135deg, #2d1a0e, #c8813b); }
.blog-detail-hero-gradient.bg3 { background: linear-gradient(135deg, #1a2035, #3b5bdb); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-size: 0.76rem; color: var(--text-muted); font-weight: 600; margin-bottom: 10px; }
.blog-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 10px; line-height: 1.4; transition: var(--transition); }
.blog-card:hover h3 { color: var(--primary); }
.blog-card p { font-size: 0.87rem; color: var(--text-muted); flex: 1; line-height: 1.65; margin-bottom: 16px; }
.blog-read-more { font-size: 0.85rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; transition: var(--transition); }
.blog-read-more:hover { gap: 8px; }

.blog-detail-page { max-width: 800px; margin: 0 auto; padding: 56px 24px; }
.blog-detail-page h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.blog-detail-meta { display: flex; align-items: center; gap: 16px; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.blog-detail-content { font-size: 1.01rem; line-height: 1.85; color: var(--text); }
.blog-detail-content p { margin-bottom: 20px; }
.blog-detail-content h2 { font-size: 1.5rem; font-weight: 800; margin: 32px 0 14px; color: var(--primary-dark); }
.blog-detail-content h3 { font-size: 1.15rem; font-weight: 700; margin: 24px 0 10px; }
.blog-detail-content ul, .blog-detail-content ol { margin: 14px 0 20px 24px; }
.blog-detail-content li { margin-bottom: 8px; }
.blog-back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 0.88rem; margin-bottom: 32px; transition: var(--transition); }
.blog-back-link:hover { gap: 10px; }

/* ========================
   CONTACT PAGE
   ======================== */
.contact-map { width: 100%; height: 400px; background: var(--surface); overflow: hidden; }
.contact-map iframe { width: 100%; height: 100%; border: none; }
.contact-content { padding: 64px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-form h2, .contact-info-col h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.87rem; font-weight: 700; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: inherit; font-size: 0.95rem;
  background: var(--white); transition: var(--transition); color: var(--text);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,125,107,0.12); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input.invalid,
.form-group textarea.invalid { border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,0.12); }
.field-error { display: block; font-size: 0.78rem; color: #e53e3e; margin-top: 4px; font-weight: 600; min-height: 18px; }

/* Form geri bildirim kutuları */
.form-feedback {
  border-radius: var(--radius-lg); padding: 28px 24px; margin-bottom: 24px; text-align: center;
}
.form-feedback-icon {
  width: 52px; height: 52px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 14px;
  font-size: 1.4rem; font-weight: 800;
}
.form-feedback h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.form-feedback p  { font-size: 0.9rem; opacity: 0.85; }
.form-feedback--success { background: rgba(46,125,107,0.08); border: 1px solid rgba(46,125,107,0.2); color: var(--primary-dark); }
.form-feedback--success .form-feedback-icon { background: rgba(46,125,107,0.12); color: var(--primary); }
.form-feedback--error   { background: rgba(229,62,62,0.07); border: 1px solid rgba(229,62,62,0.2); color: #c53030; }
.form-feedback--error   .form-feedback-icon { background: rgba(229,62,62,0.12); color: #e53e3e; }

/* Gönder butonu spinner */
.btn-spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff; border-radius: 50%;
  display: inline-block; animation: spin 0.7s linear infinite; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; background: rgba(46,125,107,0.1); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-item p { font-size: 0.95rem; font-weight: 600; }
.social-links { display: flex; gap: 10px; margin-top: 28px; }
.social-link {
  width: 44px; height: 44px; background: var(--surface); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: var(--transition); border: 1px solid var(--border);
}
.social-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ========================
   BELGELERIMIZ PAGE
   ======================== */
.belgeler-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.belge-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); cursor: pointer; transition: var(--transition);
}
.belge-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.belge-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.belge-card-label { padding: 14px 16px; font-size: 0.87rem; font-weight: 700; text-align: center; }
.belgeler-empty { text-align: center; padding: 80px 24px; color: var(--text-muted); }
.belgeler-empty .empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.belgeler-empty p { font-size: 1rem; }

/* ========================
   LIGHTBOX
   ======================== */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: fixed; top: 18px; right: 22px; color: var(--white); font-size: 1.8rem;
  cursor: pointer; background: rgba(255,255,255,0.1); width: 44px; height: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ========================
   FOOTER
   ======================== */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { margin-bottom: 14px; }
.footer-logo img { height: 58px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-slogan { font-size: 0.86rem; opacity: 0.65; line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 800; color: var(--white); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.86rem; opacity: 0.7; transition: var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--accent-light); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 0.86rem; opacity: 0.75; }
.footer-contact-item i { color: var(--accent-light); margin-top: 2px; flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 38px; height: 38px; background: rgba(255,255,255,0.07); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; text-align: center; font-size: 0.8rem; opacity: 0.5; }

/* ========================
   BLOG PREVIEW SECTION
   ======================== */
.blog-preview-section { background: var(--surface); padding: 64px 0; }

/* ========================
   CATEGORY SECTION HERO
   ======================== */
.category-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: var(--white); padding: 60px 0; text-align: center;
}
.category-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 10px; }
.category-hero p { opacity: 0.85; max-width: 600px; margin: 0 auto; font-size: 1rem; }
.category-products { padding: 48px 0; }

/* ========================
   MISC
   ======================== */
.loading { text-align: center; padding: 48px; color: var(--text-muted); }
.no-items { text-align: center; padding: 64px 24px; color: var(--text-muted); }
.section-bg { background: var(--surface); }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 75px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 16px; box-shadow: var(--shadow-lg); transform: translateY(-100%);
    opacity: 0; visibility: hidden; transition: var(--transition);
    max-height: calc(100vh - var(--nav-height)); overflow-y: auto; gap: 2px; z-index: 999;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links > li > a { padding: 12px 16px; border-radius: var(--radius); }
  .dropdown-menu {
    position: static; box-shadow: none; border: none; opacity: 1; visibility: visible;
    transform: none; background: var(--surface); border-radius: var(--radius);
    margin: 4px 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0;
  }
  .dropdown.open .dropdown-menu { max-height: 400px; padding: 8px 0; }
  .dropdown-menu li a { padding: 10px 24px; }
  .hero-slider { height: 420px; }
  .slide-content { padding: 0 28px; max-width: 100%; }
  .slide-content h2 { font-size: 1.85rem; }
  .slider-btn { width: 38px; height: 38px; font-size: 1rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 36px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-image { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .belgeler-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .about-intro-text h2 { font-size: 1.6rem; }
  .product-detail-info h1 { font-size: 1.6rem; }
  .blog-detail-page h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .belgeler-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 360px; }
  .slide-content h2 { font-size: 1.5rem; }
  .slide-content p { font-size: 0.9rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
}
