/* ===================== */
/* :ROOT & Temel Renkler */
/* ===================== */
:root{
  --bg:#0b1020;
  --paper:rgba(255,255,255,0.92);
  --ink:#ffffff;
  --muted:#cbd5e1;
  --accent:#0ea5e9;
  --accent-2:#22c55e;
  --header-h:64px; /* header yüksekliği */
}

/* ===================== */
/* Reset ve Temel Ayarlar */
/* ===================== */
* { box-sizing:border-box; margin:0; padding:0; }
html,body {height:100%; width:100%; font-family: Arial, Helvetica, sans-serif; background:var(--bg); color:var(--ink);}
a{color:inherit; text-decoration:none;}
.container{max-width:1100px;margin:0 auto;padding:0 20px;}

/* ===================== */
/* HEADER & NAV */
/* ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #111; /* sabit koyu renk (siyah) */
  color: #fff;      /* yazılar beyaz */
  border-bottom: 1px solid rgba(0,0,0,0.2); /* altta hafif çizgi */
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);   /* gölge */
}
.nav-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px}
.brand{display:flex;align-items:center;gap:10px}
.brand .logo-spin{width:40px;height:40px;border-radius:10px;object-fit:contain; transform-style:preserve-3d; animation:spinY 10s linear infinite;}
.brand strong{font-weight:800;color:#fff;letter-spacing:0.2px}
.nav{display:flex;gap:12px;align-items:center}
.nav a{font-weight:700;padding:6px 8px;border-radius:8px;transition:all .18s;color:rgba(255,255,255,0.95);}
.nav a:hover{color:var(--accent); transform:translateY(-3px); text-shadow:0 6px 18px rgba(0,0,0,0.45);}
.nav a.active{color:var(--accent-2);}
.menu-toggle{display:none;background:none;border:0;font-size:24px;color:#fff;cursor:pointer}

/* ===================== */
/* HERO & FULLSCREEN BACKGROUND */
/* ===================== */
.fullscreen-bg{
  position:relative; width:100%; min-height:100vh; display:flex; align-items:center; justify-content:center; overflow:hidden;
  background: url('https://www.motodestek.com/assets/motodestekimage.jpg') no-repeat center center/cover;
}
.fullscreen-bg video{
  position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; z-index:0; filter:brightness(.9);
}
.fullscreen-bg::after{
  content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.36)); z-index:1;
}

/* Varsayılan: desktop görünür, mobil gizli */
.bg-video.desktop { display: block; }
.bg-video.mobile { display: none; }

/* 1024px altındaki cihazlarda (tablet + mobil) desktop kapanır */
@media (max-width: 1024px) {
  .bg-video.desktop { display: none; }
  .bg-video.mobile { display: block; }
}


/* ===================== */
/* HERO / INTRO BOX */
.intro{
  position:relative; z-index:2; text-align:center; max-width:880px; padding:28px; border-radius:14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.0));
  backdrop-filter: blur(0px);
}
.intro h1{font-size:40px;margin-bottom:12px;line-height:1.05; transform:perspective(700px) rotateX(6deg); text-shadow:0 12px 30px rgba(0,0,0,0.5)}
.intro p{color:rgba(255,255,255,0.86);margin-bottom:16px;font-size:18px}
.cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:12px;font-weight:800;cursor:pointer;transition:transform .18s,box-shadow .18s}
.btn.primary{background:var(--accent);color:#04121a;box-shadow:0 8px 0 rgba(0,0,0,0.18),0 18px 30px rgba(0,0,0,0.25)}
.btn.primary:hover{transform:translateY(-6px) scale(1.03);box-shadow:0 18px 0 rgba(0,0,0,0.22),0 30px 50px rgba(0,0,0,0.32)}
.btn.ghost{background:transparent;border:2px solid rgba(255,255,255,0.18);color:#fff;box-shadow:none}
.btn.ghost:hover{transform:translateY(-6px);box-shadow:0 10px 30px rgba(0,0,0,0.3)}

/* ===================== */
/* SECTIONS & CARDS */
.section{padding:64px 20px}
.section h2{margin-bottom:18px;font-size:28px;color:#fff;transform:perspective(600px) rotateX(4deg);text-shadow:0 12px 30px rgba(0,0,0,0.5)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{padding:18px;border-radius:12px;background:rgba(255, 255, 255, 0.031);backdrop-filter:blur(6px);box-shadow:0 8px 30px rgba(0,0,0,0.28)}
.card h3{color:var(--accent-2);margin-bottom:8px}
.card p{color:rgba(255,255,255,0.9)}
.section, .intro{padding-bottom:140px}

/* ===================== */
/* İLETİŞİM BOX */
.iletisim-fullscreen{min-height:calc(100vh - var(--header-h)); display:flex;align-items:center;justify-content:center;padding:40px;background-position:center;background-size:cover;position:relative}
.iletisim-content{max-width:480px;padding:18px;background:rgba(0,0,0,0.35);border-radius:12px;color:#fff;backdrop-filter:blur(6px); text-align:left}
.iletisim-content a{color:#fff; display:inline-block;margin:8px 0; font-weight:700;transition:all .18s;}
.iletisim-content a:hover{transform:translateY(-3px) scale(1.02); text-shadow:0 6px 18px rgba(0,0,0,0.7)}

/* ===================== */
/* LIVE CHAT */
.live-chat{position:fixed;bottom:80px;right:48px;display:flex;align-items:center;justify-content:center;z-index:9999;cursor:pointer;transition:transform .2s ease}
.live-chat:hover{transform:translateY(-4px) scale(1.05)}
.chat-icon{width:36px;height:36px}
.live-chat .chat-tooltip{background:rgba(0,0,0,0.8);color:#fff;padding:6px 10px;border-radius:8px;font-size:13px;white-space:nowrap;opacity:0;position:absolute;bottom:100%;right:50%;transform:translateX(50%) translateY(-8px);transition:opacity .2s ease, transform .2s ease;}
.live-chat:hover .chat-tooltip{opacity:1;transform:translateX(50%) translateY(-30px);}

/* 📟 Tabletler (769px - 1024px arası) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .live-chat {
    bottom: 70px;
    right: 42px !important;
  }
  .chat-icon {
    width: 32px;
    height: 32px;
  }
  .live-chat .chat-tooltip {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/* 📱 Mobil uyum */
@media (max-width: 600px) {
  .live-chat {
    bottom: 60px;
    right: 38px !important;
  }

  .chat-icon {
    width: 24px;
    height: 24px;
  }

  .live-chat .chat-tooltip {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/* ===================== */
/* FOOTER */
footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  background: #111; /* sabit koyu renk */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4); /* üstten gölge */
}

.footer-inner {
  font-size: 14px;
}


/* ===================== */
/* LOGO ANIMASYONU */
@keyframes spinY{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}

/* ===================== */
/* RESPONSIVE */
@media(max-width:900px){.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){
  .nav{display:none;position:absolute;top:var(--header-h);right:14px;background:rgba(0,0,0,0.8);padding:12px;border-radius:10px;flex-direction:column}
  .nav.active{display:flex}
  .menu-toggle{display:block}
  .cards{grid-template-columns:1fr}
  .intro h1{font-size:28px}
  .intro p{font-size:15px}
  .iletisim-content{text-align:center}
  .live-chat{right:14px;bottom:74px}
}

/* ===================== */
/* ENGELLEME & KORUMA */
*{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none}
.protect-image{pointer-events:none}
.protect-video{pointer-events:auto;-webkit-user-select:none;user-select:none}
.nocopy{-webkit-user-select:none;user-select:none}

/* ===================== */
/* MEDIA QUERY: İLETİŞİM BOX SOL ÜST */
.iletisim-fullscreen .iletisim-content{position:absolute;top:calc(var(--header-h) + 0.2px);left:28px;max-width:520px;width:calc(100% - 56px);background:rgba(0,0,0,0.6);padding:8px 20px;border-radius:10px;z-index:20;box-shadow:0 8px 30px rgba(0,0,0,0.6);}
.iletisim-fullscreen .iletisim-content h1{margin:0 0 28px 0;font-size:28px;line-height:1.05;font-weight:800;color:#fff;text-shadow:0 6px 20px rgba(0,0,0,0.6);}
.iletisim-fullscreen .iletisim-content p{margin:8px 0;font-size:16px;color:#fff;}
.iletisim-fullscreen .iletisim-content a{margin-right:14px;}
@media(max-width:900px){.iletisim-fullscreen .iletisim-content{top:calc(var(--header-h) + 12px);left:20px;right:20px;width:auto;max-width:none}.iletisim-fullscreen .iletisim-content a{margin-right:12px}}

.iletisim-fullscreen {
  min-height: 100vh; /* tam ekran boyu */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}


/* ===================== */
/* LOGO */
/* ===================== */
.logo-wrapper {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  perspective: 1200px;
}

.logo-hosgelin {
  width: 200px;
  height: auto;
  transform-style: preserve-3d;
  animation: spinY 10s linear infinite;
}

/* Mobilde logo ortada */
@media(max-width: 600px){
  .logo-wrapper { left: 50%; transform: translateX(-50%); top: 20px; }
  .logo-hosgelin { width: 160px; }
}

/* Hoşgeldin kutusu video üstünde */
.welcome-text {
  position: absolute;       /* Video container içinde konumlanacak */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Tam ortala */
  z-index: 2;               /* Video üstünde */
  background: rgba(0,0,0,0.36); /* Yarı saydam arka plan */
  backdrop-filter: blur(3px);   /* Blur efekti */
  padding: 22px 28px;
  border-radius: 14px;
  max-width: 720px;
  text-align: center;
}

.welcome-text h1 {
  color: #ffffff;
  font-size: 34px;
  margin-bottom: 10px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.welcome-text p {
  color: #cbd5e1;
  margin-bottom: 8px;
}

.hint {
  color: #cbd5e1;
  font-size: 13px;
}/* Mobil uyumluluk */
@media (max-width: 600px) {
  .welcome-text {
    padding: 16px 20px;
    max-width: 90%;
  }

  .welcome-text h1 {
    font-size: 24px;
  }

  .welcome-text p,
  .hint {
    font-size: 12px;
  }
}

/* Tablet uyumluluk */
@media (min-width: 601px) and (max-width: 1024px) {
  .welcome-text {
    padding: 18px 24px;
    max-width: 85%;
  }

  .welcome-text h1 {
    font-size: 28px;
  }

  .welcome-text p,
  .hint {
    font-size: 13px;
  }
}

.site-bottom {
  background: #ffffff08;
  color: #fff;
  padding: 70px 20px 30px;
}

.bottom-sections {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
  align-items: start;
}

/* Logo */
.brand {
  max-width: 300px;
}
.footer-logo {
  width: 90px;
  margin-bottom: 15px;
}
.brand h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffcc00;
}
.brand p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

/* Linkler */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-links h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #f1f5f9;
}
.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease;
}
.footer-links a:hover {
  color: #fff;
}

/* Sosyal Medya */
.social h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #f1f5f9;
}
.icons a {
  display: inline-block;
  font-size: 22px;
  color: #cbd5e1;
  margin-right: 15px;
  transition: color .2s ease, transform .2s ease;
}
.icons a:hover {
  color: #ffcc00;
  transform: scale(1.2);
}

/* Telif */
.copyright {
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 18px;
  color: #9fb0c8;
}

/* Mobil */
@media (max-width: 992px) {
  .bottom-sections {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===================== */
/* BLOG / MAKALE GÖRSELLERİ */
/* ===================== */
.article-card img {
  width: 100%;                /* Resim tam container genişliği */
  max-height: 450px;          /* Maksimum yükseklik */
  object-fit: cover;          /* Resim alanına göre kırpma */
  border-radius: 12px;        /* Hafif yuvarlak köşeler */
  box-shadow: 0 8px 30px rgba(0,0,0,0.35); /* Profesyonel gölge efekti */
  margin-bottom: 16px;        /* Alt boşluk */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card img:hover {
  transform: scale(1.03);       /* Hover ile hafif büyütme efekti */
  box-shadow: 0 12px 40px rgba(0,0,0,0.45); 
}

.article-card h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--accent-2);
}

.article-card p, .article-card ul {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}

.article-card ul {
  list-style: disc;
  padding-left: 20px;
}

.article-card .source {
  font-size: 13px;
  color: #a0c4ff;
  margin-top: 8px;
}

.article-card .source a {
  color: #22c55e;
  text-decoration: underline;
}

.article-card .source a:hover {
  color: var(--accent);
}

