@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* GENEL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Üst başlık */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 40px;
  text-align: center;
  font-size: 48px;
  background: rgba(0,0,0,0.5);
  transition: opacity 0.5s ease, transform 0.5s ease; /* Opaklık ve pozisyon için geçiş */
}

/* Kaydırma sırasında küçülme ve yukarı kayma efekti */
header.scrolled {
  opacity: 0;         /* Yavaşça kaybolur */
  transform: translateY(-50px) scale(0.8); /* Yukarı kayma ve küçülme */
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* video fills */
  z-index: -1;
}

/* Navbar üst bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* LOGO DÜZENLEMESİ: CORE logosunun bozulmasını engellemek için filter kodu kaldırıldı. */
.logo img {
  height: 35px;
}

/* MENÜ */
.menu a {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  margin-left: 15px;
  border: 2px solid red;
  border-radius: 25px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Işık efekti */
.menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,0,0,0.6),
    rgba(255,255,255,0.4),
    rgba(255,0,0,0.6)
  );
  transition: all 0.5s ease;
  z-index: 1;
}

/* Hover olunca ışık geçsin */
.menu a:hover::before {
  left: 100%;
}

/* Hover olunca renk ve animasyon */
.menu a:hover {
  background: red;
  color: black;
  transform: scale(1.1);
}

/* Tıklanınca ufak animasyon */
.menu a:active {
  transform: scale(0.95);
}

/* COOKIES */
.cookies {
  background: rgba(0, 0, 0, 0.85);
  padding: 15px;
  font-size: 12px;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999; /* tüm diğer elemanların üstünde */
}

.cookies p {
  margin-bottom: 10px;
}

.cookies a {
  color: #bbb;
  text-decoration: underline;
}

.cookies-buttons {
  display: flex;
  gap: 10px;
}

.cookies-buttons button {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
}

.cookies-buttons .accept {
  background: #fff;
  color: #000;
  font-weight: bold;
}

/* GENEL BUTON STİLİ */
button, .teaser-btn a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: #fff;
  background: transparent;
  border: 1px solid red;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover efekti: arka plandan ışık süzülmesi */
button::before, .teaser-btn a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,0,0,0.6), rgba(255,255,255,0.3), rgba(255,0,0,0.6));
  transition: all 0.5s ease;
}

button:hover::before, .teaser-btn a:hover::before {
  left: 100%;
}

button:hover, .teaser-btn a:hover {
  color: #000;
  background: red;
  transform: scale(1.05);
}

/* TEASER BUTONU ÖZEL */
.teaser-btn a {
  font-size: 18px;
  border: 2px solid red;
  padding: 12px 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
}

/* Cookies accept özel */
.cookies-buttons .accept {
  border: 2px solid #fff;
  background: #fff;
  color: #000;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cookies-buttons .accept:hover {
  transform: scale(1.1) rotate(-2deg);
  background: red;
  color: #fff;
}

/* SOUND butonuna özel */
#sound-btn {
  position: relative;
  display: inline-block;
  padding: 8px 18px;
  border: 2px solid red;
  border-radius: 25px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* İçinden geçen ışık efekti */
#sound-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,0,0,0.6),
    rgba(255,255,255,0.4),
    rgba(255,0,0,0.6)
  );
  transition: all 0.5s ease;
}

#sound-btn:hover::before {
  left: 100%;
}

#sound-btn:hover {
  background: red;
  color: black;
  transform: scale(1.05);
}

/* GENİŞLETİLMİŞ MENÜ PANELİ */
#expanded-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#expanded-menu.active {
  opacity: 1;
  visibility: visible;
}

.menu-content {
  display: flex;
  gap: 80px;
  padding: 40px;
  text-align: left;
}

.menu-column h2 {
  font-size: 24px;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border-bottom: 2px solid red;
  padding-bottom: 5px;
}

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

.menu-column ul li {
  margin-bottom: 10px;
}

.menu-column ul li a {
  color: #aaa;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.menu-column ul li a:hover {
  color: red;
  transform: translateX(10px);
}

#close-menu-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: 2px solid red;
  color: red;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 15px;
  transition: all 0.3s ease;
}

#close-menu-btn:hover {
  background: red;
  color: #000;
  transform: rotate(90deg);
}

/* GENEL AYARLAR */
body {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* NAVBAR (Geliştirdiğiniz Navbar'a benzer) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}


.menu a {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    margin-left: 15px;
    border: 2px solid red;
    border-radius: 25px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.menu a:hover {
    background: red;
    color: black;
    transform: scale(1.1);
}

.footer {
  background: #000;
  color: #fff;
  padding: 40px 10%;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff;
  transform: translateX(5px);
}

.new {
  color: red;
  font-size: 0.8em;
  margin-left: 5px;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
}

.socials a {
  margin: 0 10px;
  color: #ccc;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.socials a:hover {
  color: #fff;
  transform: scale(1.2) rotate(5deg);
}

.footer-legal {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9em;
  color: #aaa;
}

.footer-legal a {
  color: #aaa;
  margin: 0 5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
}


/* Cookies accept özel */
.cookies-buttons .accept {
  border: 2px solid #fff;
  background: #fff;
  color: #000;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cookies-buttons .accept:hover {
  transform: scale(1.1) rotate(-2deg);
  background: red;
  color: #fff;
}

html, body {
  overflow-x: hidden !important;  /* tüm sitede yatay kaydırmayı kapat */
  width: 100%;
}



    /* Hero Section */
    .hero {
      position: relative;
      height: 100vh;
      width: 100%;
      overflow: hidden;
    }
    .hero video {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 70%;
      object-fit: cover;
      z-index: -1;
      filter: brightness(0.6);
    }

.news-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 60px 40px;
  position: relative;
  z-index: 1;
 margin-top: -300px; /* Haberleri yukarı taşır */
}

.parallax-bg {
  background: url("background.jpg") no-repeat center center / cover;
  background-attachment: fixed;
}

.section-header {
  border-bottom: 1px solid #333;
  margin-bottom: 40px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.section-header h2 {
  color: #e60000;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}
.news-card {
  background: #111;
  border: 1px solid #222;
  overflow: hidden;
  transition: 0.4s ease;
  cursor: pointer;   /* tıklanabilir alanı belli et */
}
.news-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 30px rgba(230,0,0,0.6);
}
.news-card img {
  width: 100%;
  display: block;
}
.news-content {
  padding: 20px;
}
.news-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 5px;
}
.news-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.divider-simple {
  border: none;
  height: 1px;
  width: 93%;          /* çizginin uzunluğunu kısalttım */
  background-color: #555;
  margin: 40px auto;   /* ortalanması için */
}

/* Haber Kapak */
.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.article-cover img {
  width: 40%;
  max-height: 1024px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  transition: transform 0.6s ease;
}

.article-cover img:hover {
  transform: scale(1.03);
}

.article-meta {
  margin-top: 20px;
}

.article-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
}

.article-date {
  font-size: 0.95rem;
  color: #aaa;
  margin-top: 5px;
}

/* İçerik */
.article-body {
  max-width: 850px;
  margin: 0 auto;
  padding: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-body h2 {
  margin-top: 30px;
  font-size: 1.5rem;
  color: #fff;
  border-left: 4px solid red;
  padding-left: 10px;
}

.article-body ul {
  margin: 20px 0;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 10px;
  list-style: disc;
  transition: transform 0.3s ease;
}

.article-body li:hover {
  transform: translateX(8px);
  color: #ff4444;
}

.article-body a {
  color: red;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.article-body a:hover {
  color: #ff4444;
  text-decoration: underline;
}

/* Geri dön butonu */
.article-back {
  text-align: center;
  margin: 50px 0;
}

.article-back a {
  padding: 12px 24px;
  background: red;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}

.article-back a:hover {
  background: #ff4444;
  transform: scale(1.05);
}