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

:root {
  --hero-height: 90vh;
  /* intro sonrası hero yüksekliği */
  --transition: 800ms ease;
  --brand: #f37022;
  --ink: #2d3b45;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 74px; /* sticky header yüksekliği ayarlaması */
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #1f2a30;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.6s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==== NAVBAR ==== */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(45, 59, 69, 0.85);
  z-index: 999;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.3s ease, opacity var(--transition);
}

.site-header.intro-hidden {
  opacity: 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
}

.logo img {
  height: 50px;
  margin-left: 150px;
}

.logo img:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.menu ul {
  display: flex;
  gap: 30px;
}

.menu ul li {
  position: relative;
}

.menu a {
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: #f37022;
}

/* DİL SEÇİMİ */
.language-switch img {
  width: 24px;
  height: 24px;
  margin-left: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.language-switch img:hover {
  transform: scale(1.1);
}

/* DROPDOWN */
.dropdown .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2d3b45;
  display: none;
  flex-direction: column;
  padding: 10px 0;
  min-width: 200px;
  gap: 0;
}

.dropdown:hover .submenu {
  display: flex;
}

.submenu li {
  padding: 6px 16px;
}

.submenu li:hover {
  background-color: #f37022;
}

.submenu li:hover a {
  color: #fff;
}

.has-sub .sub-submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #2d3b45;
  min-width: 200px;
}

.has-sub:hover .sub-submenu {
  display: block;
}

/* ==== INTRO + HERO ==== */
#videoIntroHero {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  transition: height var(--transition);
}

#videoIntroHero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#videoIntroHero .v-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

#videoIntroHero .hero-caption {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}

/* Başlangıç: full ekran intro */
#videoIntroHero.intro-phase {
  height: 100vh;
}

/* 5.snden sonra: hero yüksekliği */
#videoIntroHero.hero-mode {
  height: var(--hero-height);
}

/* Sayfa içeriği 5.snden sonra görünür */
#pageContent {
  opacity: 0;
  transition: opacity var(--transition);
}

#pageContent.show {
  opacity: 1;
}

/* ==== ABOUT ==== */
.about-section {
  background-color: #f4f4f4;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.about-container {
  max-width: 800px;
  text-align: center;
}

.about-container h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #f37022;
}

.about-container p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
}

.btn-orange {
  background-color: #f37022;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: #d85c14;
}

/* ==== PRODUCTS ==== */
.products-section {
  padding: 80px 40px;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.products-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  justify-content: center;
}

.product-card {
  background-color: #f4f4f4;
  border-radius: 12px;
  padding: 100px 20px 40px 40px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card h3 {
  font-size: 22px;
  color: #2d3b45;
  margin-bottom: 15px;
}

.product-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
}

/* ==== REFERANSLAR RIBBON ==== */
.visual-ribbon {
  overflow: hidden;
  background-color: #fff;
  padding: 30px 150px;
}

.ribbon-header h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #f37022;
  text-align: center;
  margin-bottom: 50px;
}

.ribbon-header p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: scrollRibbon 30s linear infinite;
}

.ribbon-track img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  margin-right: 20px;
  margin-bottom: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes scrollRibbon {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==== WHATSAPP ==== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ==== WATERMARK ==== */
.watermark-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.watermark-logo img {
  width: 100%;
  height: auto;
  filter: grayscale(50%) blur(1px);
}

/* ==== FOOTER ==== */
.site-footer {
  background-color: #2d3b45;
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #f37022;
}

.footer-col ul {
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #f37022;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.social-icons img:hover {
  filter: grayscale(0%);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: #bbb;
}

/* ==== HAMBURGER / MOBILE MENU ==== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger X Animasyonu */
.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%; /* sticky header'ın hemen altından başlar */
  left: 0;
  width: 100%;
  background-color: rgba(45, 59, 69, 0.98); /* Blur etkisine uyumlu hafif şeffaf */
  z-index: 1000;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
}

.mobile-menu ul li {
  margin: 15px 0;
}

.mobile-menu ul li a {
  color: white;
  font-size: 18px;
  text-decoration: none;
}

.mobile-menu ul li a:hover {
  color: #f37022;
}

.mobile-menu.open {
  display: block;
}

.menu li.has-submenu>a::after {
  content: " ▼";
  font-size: 0.7em;
}

.menu li.has-submenu .submenu {
  display: none;
  padding-left: 10px;
  background-color: #344854;
  border-radius: 4px;
}

.menu li.has-submenu.open .submenu {
  display: block;
}

#mobileMenu .has-submenu ul.submenu {
  padding-left: 15px;
  margin-top: 5px;
  background-color: #2e3b42;
  border-left: 2px solid #ff7a00;
}

#mobileMenu .has-submenu ul.submenu li {
  margin: 5px 0;
  font-size: 14px;
}

#mobileMenu .has-submenu ul.submenu li a {
  color: #ddd;
  text-decoration: none;
  display: block;
}

#mobileMenu .has-submenu ul.submenu li a:hover {
  color: #fff;
}

#mobileMenu ul.sub-menu-mobile {
  display: none;
  padding-left: 20px;
}

#mobileMenu li.has-sub-mobile.open>ul.sub-menu-mobile {
  display: block;
}

/* ==== RESPONSIVE (Temizlenmiş) ==== */
@media (max-width: 991px) {
  .navbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
  }

  .logo {
    order: 1;
  }

  .logo img {
    margin-left: 0;
  }

  .menu {
    display: none !important;
    order: 2;
  }

  .language-switch {
    order: 3;
    display: flex;
    gap: 8px;
  }

  .hamburger {
    order: 4;
    display: flex !important;
    margin-left: auto;
  }

  .header-actions {
    display: none;
  }

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

  #pageContent .bullets {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-content {
    grid-template-columns: 1fr;
  }

  /* Hero video düzenlemeleri */
  .hero-media {
    height: auto !important;
  }

  .hero-video {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
  }

  .hero-overlay {
    pointer-events: none;
  }

  #videoIntroHero {
    height: auto !important;
  }

  #videoIntroHero video {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
}

@media (max-width: 800px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .contact-btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .visual-ribbon .ribbon-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    float: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  .visual-ribbon .ribbon-header h2 {
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    padding: 0 !important;
  }
}

@media (max-width: 640px) {
  .stats{ grid-template-columns: 1fr; max-width: 520px; }
  .stats + .cta-row, .ctas .cta-row{ max-width: 520px; }
}

/* Ekran hareket hassasiyeti olanlar için */
@media (prefers-reduced-motion: reduce) {
  #videoIntroHero,
  #pageContent,
  .site-header {
    transition: none !important;
  }
}

/* Makinalar üst başlık tıklanmasın */
.menu .dropdown>a.no-link {
  pointer-events: none;
  cursor: default;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

/* İLETİŞİM / CONTACT */
.contact-wrap {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
}

.contact-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  padding: 20px;
  position: relative;
  z-index: 1;
}

.contact-header {
  margin-bottom: 14px;
}

.contact-header h1,
.contact-header h2 {
  font-size: 28px;
  margin: 0 0 6px;
  color: #2d3b45;
}

.contact-header p {
  margin: 2px 0;
  color: #4a4a4a;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form textarea {
  grid-column: 1 / -1;
  min-height: 140px;
  resize: vertical;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8dee6;
  border-radius: 10px;
  background: #f8fafc;
  color: #1f2937;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f37022;
  box-shadow: 0 0 0 3px rgba(243, 112, 34, .15);
  background: #fff;
}

.contact-actions {
  grid-column: 2 / -1;
  justify-self: end;
}

.contact-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: #f37022;
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  letter-spacing: .2px;
  box-shadow: 0 10px 20px rgba(243, 112, 34, .25);
  transition: transform .1s ease, box-shadow .2s ease, opacity .2s ease;
}

.contact-btn:hover {
  transform: translateY(-1px);
}

.contact-btn:active {
  transform: translateY(0);
}

/* Konteyner ve boşluklar */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: clamp(32px, 4vw, 72px) 0;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

h1 {
  font-size: clamp(28px, 5vw, 48px);
}

h2 {
  font-size: clamp(22px, 3.6vw, 32px);
}

p,
li {
  font-size: clamp(15px, 2.2vw, 16px);
  line-height: 1.7;
}

.anchor-target,
[id] {
  scroll-margin-top: var(--header-h);
}

/* Mobil menü scroll kilit */
html.menu-open,
body.menu-open {
  overflow: hidden;
}

/* Smooth Page Transitions */
html.js body {
  transition: opacity .35s ease;
}

html.js.pt-hidden body,
html.js.pt-exit body {
  opacity: 0;
}

/* Düzen - Hizalama (Bölüm Kartları, Liste vb.) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#pageContent .desc-section {
  padding: clamp(40px, 6vw, 80px) 0;
  background: #fff;
  text-align: center;
}

#pageContent .desc-section .container {
  max-width: 900px;
}

#pageContent .desc-section .lead {
  color: #3c3c3c;
  margin-bottom: 12px;
}

#pageContent .desc-section p {
  color: #4a4a4a;
  margin-bottom: 12px;
}

#pageContent .bullets {
  max-width: 900px;
  margin: 22px auto 0;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

#pageContent .bullets li {
  list-style: none;
  position: relative;
  padding-left: 22px;
  text-align: left;
  color: #2a2a2a;
}

#pageContent .bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 28px;
}

.site-footer .footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 40px;
}

/* MISYON, İLKELER, ETKİMİZ (Responsive Merkezleme) */
#misyon .bullets {
  grid-template-columns: repeat(2, auto);
  gap: 10px 40px;
  justify-content: center;
  align-items: start;
  max-width: 820px;
  margin: 16px auto 0;
}
#misyon .bullets li:nth-child(3) { display:none; }

.pillars .cards, .ss-section .cards {
  grid-template-columns: repeat(2, 360px);
  justify-content: center;
  gap: 24px;
  margin: 0 auto;
}

.stats {
  grid-template-columns: repeat(3, 280px);
  justify-content: center;
  gap: 22px;
  max-width: 920px;
  margin: 0 auto 18px;
}
.stats .stat { width: 280px; }

.cta-row, .stats + .cta-row, .ctas .cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 920px;
  margin: 16px auto 0;
}

.cta-row .btn-glass,
.cta-row .btn-orange {
  min-height: 44px;
  padding: 12px 22px;
}

.ctas { padding-top: 16px; padding-bottom: 36px; }

@media (max-width:1100px) {
  #misyon .bullets { grid-template-columns: 1fr; max-width: 560px; }
  .pillars .cards, .ss-section .cards { grid-template-columns: 1fr; max-width: 560px; }
  .stats { grid-template-columns: repeat(2, minmax(240px, 1fr)); max-width: 760px; }
  .stats .stat { width: auto; }
  .stats + .cta-row, .ctas .cta-row { max-width: 760px; }
}