/* ============================================
   SCOPE ENDO - Ana CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --navy: #1a2b4a;
  --navy-dark: #0f1e35;
  --navy-light: #243660;
  --red: #c0392b;
  --red-hover: #a93226;
  --white: #ffffff;
  --light-gray: #f5f6f8;
  --mid-gray: #e8eaed;
  --text-dark: #1a2b4a;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #dde2ea;
  --shadow: 0 4px 20px rgba(26,43,74,0.10);
  --shadow-hover: 0 8px 32px rgba(26,43,74,0.18);
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left { display: flex; gap: 24px; align-items: center; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 3px;
  transition: var(--transition);
}
.lang-btn:hover, .lang-btn.active { color: #fff; background: rgba(255,255,255,0.1); }
.lang-btn img { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; }

/* ============================================
   HEADER / NAV
   ============================================ */
header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(26,43,74,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo img { height: 52px; width: auto; }

nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
nav ul li { position: relative; }
nav ul li a {
  display: block;
  padding: 10px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: var(--transition);
}
nav ul li a:hover { color: var(--red); background: rgba(192,57,43,0.05); }
nav ul li.active > a { color: var(--red); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown > a::after {
  content: '▾';
  font-size: 10px;
  margin-left: 5px;
  opacity: 0.6;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--mid-gray);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: var(--light-gray); color: var(--red); padding-left: 24px; }

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 10px 20px !important;
}
.nav-cta:hover { background: var(--red-hover) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block; width: 25px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="80" r="30" fill="rgba(255,255,255,0.02)"/></svg>') no-repeat center;
  background-size: cover;
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(192,57,43,0.15);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,0.4); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  display: inline-block;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ============================================
   SECTION GENEL
   ============================================ */
section { padding: 72px 0; }
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.8;
}
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ============================================
   FEATURES (Ana sayfa - teknik özellikler)
   ============================================ */
.features { background: var(--light-gray); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.feature-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon img { width: 60px; height: 60px; object-fit: contain; }
.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

/* ============================================
   MAKALE / ARTICLE SECTION
   ============================================ */
.article-section { background: var(--navy); color: #fff; }
.article-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.article-img img { border-radius: 8px; width: 100%; }
.article-content .section-title { color: #fff; font-style: italic; font-size: 20px; font-weight: 400; margin-bottom: 24px; }
.article-content p { color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.author-list { margin: 24px 0; }
.author-list li {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 14px;
  padding: 4px 0;
}

/* ============================================
   PRODUCT HIGHLIGHT
   ============================================ */
.product-highlight {
  background: var(--light-gray);
}
.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-inner.reverse { direction: rtl; }
.product-inner.reverse > * { direction: ltr; }
.product-img img { border-radius: 8px; width: 100%; }
.product-content .badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ============================================
   GALLERY / MULTIMEDIA
   ============================================ */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.gallery-card {
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-video {
  background: var(--navy);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-video:hover { background: var(--navy-light); }
.gallery-card-body { padding: 16px; }
.gallery-card-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.gallery-card-body p { font-size: 13px; color: var(--text-mid); }

/* ============================================
   PAGE HEADER (İç sayfalar)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 56px 0;
}
.page-header .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-header .breadcrumb a:hover { color: #fff; }
.page-header .breadcrumb span { margin: 0 8px; }
.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
}

/* ============================================
   KURUMSAL SAYFASI
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.8; }
.about-image img { border-radius: 8px; width: 100%; }
.timeline-img { margin-top: 40px; }
.timeline-img img { border-radius: 8px; width: 100%; }

/* ============================================
   İLETİŞİM SAYFASI
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.contact-detail-text { font-size: 14px; color: var(--text-mid); }
.contact-detail-text strong { color: var(--text-dark); display: block; }

.distributor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.distributor-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid var(--border);
}
.distributor-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.distributor-card p { font-size: 13px; color: var(--text-mid); margin-bottom: 4px; }
.distributor-card a { color: var(--red); font-weight: 600; }

/* Form */
.contact-form { background: var(--light-gray); border-radius: 8px; padding: 32px; }
.contact-form h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,43,74,0.08); }
.form-group textarea { height: 120px; resize: vertical; }
.form-submit {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}
.form-submit:hover { background: var(--red-hover); transform: translateY(-1px); }

/* ============================================
   DÖKÜMANLAR SAYFASI
   ============================================ */
.docs-section { background: var(--white); }
.docs-category { margin-bottom: 48px; }
.docs-category-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 18px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.doc-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--navy); }
.doc-card-icon {
  width: 52px; height: 52px;
  background: #e8eef7;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
}
.doc-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 6px;
}
.doc-card p { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.doc-lang {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.doc-lang.tr { background: #EAF3DE; color: #3B6D11; }
.doc-lang.en { background: #E6F1FB; color: #185FA5; }
.doc-lang.de { background: #FAEEDA; color: #854F0B; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: var(--transition);
  color: #fff;
}
.social-btn:hover { background: var(--red); }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li {
  display: flex; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  align-items: flex-start;
}

/* Newsletter */
.footer-newsletter { margin-top: 8px; }
.footer-newsletter p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: #fff;
  font-size: 13px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 0 4px 4px 0;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--red-hover); }

.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .article-inner,
  .product-inner,
  .about-content,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-inner.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow); padding: 16px; }
  nav.open ul { flex-direction: column; }
  nav.open .dropdown-menu { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; background: var(--light-gray); border-radius: 4px; margin: 4px 0; }
  .menu-toggle { display: flex; }
  header { position: relative; }
}

@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .hero-buttons { flex-direction: column; }
  .top-bar .container { flex-direction: column; gap: 8px; }
}
