@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%;
}

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

/* === RB CONTACT (scoped) === */
#rb-contact-root { --rb-red:#e21d2c; --rb-red-2:#ff3b3b; --rb-bg:#0b0b0b; --rb-panel:#0f0f0f; --rb-text:#c9c9c9; --rb-muted:#888;
  --rb-border:rgba(255,255,255,.08); --rb-glow:rgba(226,29,44,.25); --rb-soft:rgba(255,255,255,.04); color:var(--rb-text);
  font-family: "Rajdhani", "Bank Gothic", "Oswald", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background:#000;
  line-height:1.4; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; position:relative;
}
#rb-contact-root * { box-sizing:border-box; }
#rb-contact-root a { color:var(--rb-red); text-decoration:none; }
#rb-contact-root .rb-container { width:min(1200px, 92vw); margin-inline:auto; }

/* Hero */
#rb-contact-root .rb-hero { position:relative; height:48vh; min-height:420px; overflow:hidden; }
#rb-contact-root .rb-hero-bg {
  position:absolute; inset:0; background-image:var(--rb-hero);
  background-size:cover; background-position:center 20%;
  transform:scale(1.05); transition:transform .6s ease, background-position .2s linear;
}
#rb-contact-root .rb-hero-overlays > * { position:absolute; inset:0; pointer-events:none; }
#rb-contact-root .rb-vignette { background:radial-gradient(120% 120% at 50% 20%, transparent 40%, rgba(0,0,0,.85) 80%); }
#rb-contact-root .rb-scanlines {
  background:repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 3px);
  mix-blend-mode:overlay; opacity:.25; animation:scanMove 9s linear infinite;
}
#rb-contact-root .rb-noise {
  background-image:url('assets/images/noise.png'); opacity:.08; animation:noiseShift 1.5s steps(4,end) infinite;
}
@keyframes scanMove { from{background-position-y:0} to{background-position-y:200px} }
@keyframes noiseShift { 0%{transform:translate(0,0)} 25%{transform:translate(-2%,1%)} 50%{transform:translate(1%,-1%)} 75%{transform:translate(-1%,2%)} 100%{transform:translate(0,0)} }

#rb-contact-root .rb-divider { position:absolute; left:0; right:0; bottom:0; height:1px; background:var(--rb-border); box-shadow:0 1px 0 #000 inset; }

#rb-contact-root .rb-breadcrumb { position:absolute; bottom:18px; left:50%; transform:translateX(-50%); width:min(1200px,92vw); color:#a9a9a9; letter-spacing:.08em; font-size:.9rem; }
#rb-contact-root .rb-breadcrumb i { color:var(--rb-red); font-style:normal; margin:0 .6ch; opacity:.8; }
#rb-contact-root .rb-breadcrumb .active { color:#fff; }

/* Contact area */
#rb-contact-root .rb-contact { padding:56px 0 72px; background:
  linear-gradient(to bottom, rgba(0,0,0,.0), rgba(0,0,0,.6) 120px) , #000; }

#rb-contact-root form { display:grid; gap:22px; }

/* Custom select */
#rb-contact-root .rb-select { position:relative; user-select:none; }
#rb-contact-root .rb-select-trigger {
  width:100%; text-align:left; background:var(--rb-panel); border:1px solid var(--rb-border); padding:18px 48px 18px 18px;
  color:#ddd; font-size:1.05rem; letter-spacing:.04em; position:relative; transition:border-color .2s, box-shadow .2s, background .2s;
}
#rb-contact-root .rb-select-trigger:hover { border-color:var(--rb-soft); background:#0d0d0d; }
#rb-contact-root .rb-select[data-open="true"] .rb-select-trigger { border-color:var(--rb-red); box-shadow:0 0 0 2px var(--rb-glow) inset; }
#rb-contact-root .rb-caret::before, #rb-contact-root .rb-caret::after {
  content:""; position:absolute; right:20px; top:50%; width:10px; height:1px; background:#aaa; transform-origin:center;
  transition:transform .2s, background .2s, opacity .2s;
}
#rb-contact-root .rb-caret::before { transform:translateY(-2px) rotate(45deg); }
#rb-contact-root .rb-caret::after { transform:translateY(2px) rotate(-45deg); }
#rb-contact-root .rb-select[data-open="true"] .rb-caret::before { transform:translateY(2px) rotate(-45deg); }
#rb-contact-root .rb-select[data-open="true"] .rb-caret::after { transform:translateY(-2px) rotate(45deg); }

#rb-contact-root .rb-options {
  position:absolute; left:0; right:0; top:calc(100% + 6px); background:#0c0c0c; border:1px solid var(--rb-border);
  box-shadow:0 12px 32px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02) inset;
  list-style:none; margin:0; padding:6px; max-height:0; overflow:hidden; transition:max-height .24s ease;
  z-index:10;
}
#rb-contact-root .rb-select[data-open="true"] .rb-options { max-height:260px; overflow:auto; }
#rb-contact-root .rb-options li {
  padding:12px 12px; cursor:pointer; color:#ddd; border-radius:6px; border:1px solid transparent;
}
#rb-contact-root .rb-options li:hover { background:#101010; border-color:var(--rb-soft); }
#rb-contact-root .rb-options li[aria-selected="true"] { color:#fff; background:#121212; border-color:var(--rb-red); }

/* Grid + fields */
#rb-contact-root .rb-grid { display:grid; gap:22px; grid-template-columns:1fr; }
@media (min-width: 900px){ #rb-contact-root .rb-grid { grid-template-columns:1fr 1fr; } }

#rb-contact-root .rb-field { display:block; position:relative; }
#rb-contact-root input, #rb-contact-root textarea {
  width:100%; background:var(--rb-panel); border:1px solid var(--rb-border); color:#fff; padding:18px; font-size:1.02rem;
  outline:none; transition:border-color .2s, box-shadow .2s, background .2s;
}
#rb-contact-root input::placeholder, #rb-contact-root textarea::placeholder { color:#a9a9a9; letter-spacing:.04em; }
#rb-contact-root input:focus, #rb-contact-root textarea:focus {
  border-color:var(--rb-red); box-shadow:0 0 0 2px var(--rb-glow) inset, 0 0 28px rgba(226,29,44,.08);
}
#rb-contact-root .rb-field .rb-underline {
  position:absolute; left:0; right:0; bottom:0; height:2px; background:linear-gradient(90deg, transparent, var(--rb-red), transparent);
  transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
#rb-contact-root .rb-field:focus-within .rb-underline { transform:scaleX(1); }

#rb-contact-root .rb-message textarea { min-height:160px; resize:vertical; }

/* Legal */
#rb-contact-root .rb-legal { color:#9d9d9d; font-size:.95rem; margin-top:4px; }
#rb-contact-root .rb-link { position:relative; }
#rb-contact-root .rb-link::after {
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:1px; background:currentColor; opacity:.3; transition:opacity .2s, transform .25s ease;
  transform:scaleX(.5); transform-origin:left;
}
#rb-contact-root .rb-link:hover::after { opacity:.8; transform:scaleX(1); }

/* Submit button + glitch */
#rb-contact-root .rb-submit {
  align-self:flex-start; position:relative; margin-top:12px; background:#0d0d0d; color:#fff; border:1px solid var(--rb-border);
  padding:14px 28px; letter-spacing:.18em; text-transform:uppercase; cursor:pointer; overflow:hidden;
  transition:border-color .2s, transform .08s ease;
}
#rb-contact-root .rb-submit .bracket { color:var(--rb-red); margin:0 .3ch; }
#rb-contact-root .rb-submit:hover { border-color:var(--rb-red); }
#rb-contact-root .rb-submit:active { transform:translateY(1px); }

/* glitch layers */
#rb-contact-root .rb-submit::before, #rb-contact-root .rb-submit::after {
  content:attr(data-glitch, "[ Submit ]"); position:absolute; inset:0; display:block; padding:14px 28px; pointer-events:none;
  mix-blend-mode:screen; opacity:0; clip-path:polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
#rb-contact-root .rb-submit::after { clip-path:polygon(0 65%, 100% 65%, 100% 100%, 0 100%); }
#rb-contact-root .rb-submit:hover::before { animation:rb-glitch-1 .5s steps(2,end) infinite; opacity:.35; color:var(--rb-red-2); }
#rb-contact-root .rb-submit:hover::after  { animation:rb-glitch-2 .5s steps(2,end) infinite; opacity:.35; color:#4cf2ff; }

@keyframes rb-glitch-1 { 0%{transform:translate(0,0)} 50%{transform:translate(-2px,-1px)} 100%{transform:translate(0,0)} }
@keyframes rb-glitch-2 { 0%{transform:translate(0,0)} 50%{transform:translate(2px,1px)} 100%{transform:translate(0,0)} }

/* Appear on scroll */
#rb-contact-root .reveal { opacity:0; transform:translateY(8px); transition:opacity .5s ease, transform .5s ease; }
#rb-contact-root .reveal.in { opacity:1; transform:none; }

/* Accessibility / errors */
#rb-contact-root .rb-error { border-color:#ff4949 !important; box-shadow:0 0 0 2px rgba(255,73,73,.15) inset; }
#rb-contact-root .rb-toast {
  position:fixed; right:20px; bottom:20px; background:#0f0f0f; border:1px solid var(--rb-border); padding:14px 18px; color:#fff;
  box-shadow:0 8px 30px rgba(0,0,0,.5); letter-spacing:.04em; z-index:9999;
}
#rb-contact-root .rb-toast.ok { border-color:var(--rb-red); }

#rb-contact-root .rb-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%; /* ne kadar yukarı çıksın istiyorsan bunu değiştir */
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 0; /* diğer overlaylerin üstünde olsun */
}

