/* --- GENEL STİLLER ve SIFIRLAMA (DÜZENLENDİ) --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body {
    height: 100%; /* Sayfanın her zaman tam boyutta olmasını sağlar */
    width: 100%;
    overflow-x: hidden; /* İstenmeyen yatay kaydırmayı engeller */
}

html { 
    scroll-behavior: smooth; 
    /* Arka plan gradyanı en dış elementte olmalı */
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
} 

body { 
    font-family: 'Poppins', sans-serif;
    color: #ffffff; /* Ana metin rengini belirler */
    transition: opacity 0.4s ease-out; /* Geçiş efekti için eklendi */
}

a { 
    text-decoration: none; 
    color: inherit; 
}

ul { 
    list-style: none; 
}

/* --- YILDIZ TARLASI VE ARKA PLAN --- */
@keyframes animStar { from { transform: translateY(0px); } to { transform: translateY(-2000px); } }
#stars, #stars2, #stars3 { position: fixed; top: 0; left: 0; width: 1px; height: 1px; background: transparent; z-index: -1; }
#stars { animation: animStar 50s linear infinite; }
#stars2 { width: 2px; height: 2px; animation: animStar 100s linear infinite; }
#stars3 { width: 3px; height: 3px; animation: animStar 150s linear infinite; }
#stars:after, #stars2:after, #stars3:after { content: " "; position: absolute; top: 2000px; width: 100%; height: 100%; background: transparent; }

/* --- MERKEZİ YAZI ALANI (index.html için) --- */
p.hero-text {
	font: 400 1em/1.5 "Neuton", sans-serif;
	text-transform: uppercase;
	letter-spacing: .5em;
	border: 4px double #FFFFFF;
	border-width: 4px 0;
	padding: 1.5em 0;
    color: #FFFFFF;
    text-align: center;
    position: absolute;
    top: 18%;
    width: 100%;
    left: 0;
    transform: none;
    max-width: none;
}
p.hero-text span {
 	font: 700 4em/1 "Oswald", sans-serif;
 	letter-spacing: 0;
 	padding: .25em 0 .325em;
	display: block;
	margin: 0 auto;
 	text-shadow: 0 0 80px rgba(255,255,255,.5);
	background: url(https://i.ibb.co/RDTnNrT/animated-text-fill.png) repeat-y;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-animation: aitf 80s linear infinite;
	-webkit-transform: translate3d(0,0,0);
	-webkit-backface-visibility: hidden;
}

@-webkit-keyframes aitf {
	0% { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}

/* --- MODERN KAYDIRMA ÇUBUĞU --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #555; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #000; }

/* --- ANA HEADER ve NAVBAR (ORİJİNAL VE DOĞRU HALİ) --- */
.main-header { 
  background-color: transparent; 
  color: #ffffff; 
  padding: 0 5%; 
  position: relative; 
  z-index: 1000; 
}
.main-nav { display: flex; justify-content: space-between; align-items: center; min-height: 160px; }
.nav-logo img { height: 140px; width: auto; display: block; }
.nav-links { display: flex; gap: 35px; font-size: 16px; font-weight: 500; }
.nav-links > li { padding: 68px 0; }
.nav-links a { position: relative; transition: color 0.3s ease; }
.nav-links > li > a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background-color: #fff; transition: width 0.3s ease-out; }
.nav-links > li > a:hover { color: #ddd; }
.nav-links > li > a:hover::after { width: 100%; }
.dropdown > a .fa-chevron-down { font-size: 12px; margin-left: 8px; transition: transform 0.3s ease; }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 130px; left: 50%; transform: translateX(-50%); background-color: #000000; border-radius: 8px; padding: 10px; margin-top: 0; min-width: 240px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease; }
.dropdown:hover .dropdown-menu { display: block; opacity: 1; visibility: visible; }
.dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }
.dropdown-menu li a { display: block; padding: 12px 15px; border-radius: 5px; transition: background-color 0.2s ease, padding-left 0.2s ease; }
.dropdown-menu li a:hover { background-color: #333; padding-left: 20px; }
.nav-right { display: flex; align-items: center; gap: 25px; }
.nav-cart { position: relative; font-size: 20px; }
.cart-item-count { position: absolute; top: -8px; right: -12px; background-color: #e74c3c; color: #fff; border-radius: 50%; width: 20px; height: 20px; font-size: 12px; font-weight: 600; display: flex; justify-content: center; align-items: center; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
#backToTopBtn { display: flex; justify-content: center; align-items: center; position: fixed; bottom: 20px; left: 20px; width: 50px; height: 50px; background-color: #000; color: #fff; border-radius: 50%; font-size: 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease-in-out; z-index: 1001; }
#backToTopBtn:hover { background-color: #333; transform: translateY(-2px); }
#backToTopBtn.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* --- AI WIDGET (AVATAR) --- */
@property --c { syntax: "<percentage>"; inherits: true; initial-value: 110%; }
@property --c2 { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes credits { to { --c: -10%; --c2: 1; } }
@keyframes eye { from { rotate: 0; } 50% { filter: blur(.2rem); } to { rotate: 360deg; } }
:root { --primary: #00fcff; --secondary: #ff00e1; --shape: polygon(98.66% 45%,99.4% 46.58%,99.85% 48.26%,100% 50%,99.85% 51.74%,99.4% 53.42%,98.66% 55%,78.66% 89.64%,77.66% 91.07%,76.43% 92.3%,75% 93.3%,73.42% 94.04%,71.74% 94.49%,70% 94.64%,30% 94.64%,28.26% 94.49%,26.58% 94.04%,25% 93.3%,23.57% 92.3%,22.34% 91.07%,21.34% 89.64%,1.34% 55%,0.6% 53.42%,0.15% 51.74%,0% 50%,0.15% 48.26%,0.6% 46.58%,1.34% 45%,21.34% 10.36%,22.34% 8.93%,23.57% 7.7%,25% 6.7%,26.58% 5.96%,28.26% 5.51%,30% 5.36%,70% 5.36%,71.74% 5.51%,73.42% 5.96%,75% 6.7%,76.43% 7.7%,77.66% 8.93%,78.66% 10.36%); }
#vio-ai-widget-container { position: fixed; bottom: 20px; right: 20px; z-index: 1001; display: flex; align-items: flex-end; gap: 15px; }
.vio-bubble { padding: 10px 15px; background-color: #fff; color: #333; border-radius: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); font-size: 14px; font-weight: 500; white-space: nowrap; position: relative; opacity: 1; transition: all 0.3s ease; cursor: default; }
.vio-bubble.hidden { opacity: 0; transform: scale(0.8); pointer-events: none; }
#vio-static-bubble::after { content: ''; position: absolute; bottom: 12px; right: -8px; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 8px solid #fff; }
.avatar { width: 120px; aspect-ratio: 1; animation: credits 3s linear infinite; clip-path: var(--shape); padding: 1.5vmin; background: transparent; display: grid; place-items: center; position: relative; cursor: pointer; }
.avatar:before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 180deg, var(--primary) var(--c), var(--secondary) calc(var(--c) + 4%), transparent calc(var(--c) + 10%)); }
.avatar:after { font-size: 2vmin; content: "⋆˙⟡"; background: var(--primary); padding: 0.25rem 0.5rem; position: absolute; bottom: 0.25vmin; clip-path: var(--shape); }
.avatar img { width: 100%; object-fit: cover; clip-path: var(--shape); }
.preview { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.preview:before, .preview:after { z-index: 1; content: ""; position: absolute; inset: 4.6vmin; translate: -1.4vmin -1.5vmin; aspect-ratio: 1; border-radius: 1rem; background: conic-gradient(var(--primary), transparent); animation: eye 3s linear infinite; }
.preview:after { translate: 1.1vmin -1.5vmin; }
.avatar.listening { filter: drop-shadow(0 0 20px var(--secondary)); animation-duration: 1.5s; }

/* MOBİL UYUMLULUK */
@media (max-width: 1024px) {
    .main-header { background-color: transparent; }
    .main-nav { min-height: 120px; }
    .nav-logo img { height: 100px; }
    .nav-links { display: none; position: absolute; top: 120px; left: 0; width: 100%; flex-direction: column; background-color: rgba(0,0,0,0.9); padding: 10px 0; gap: 0; }
    .nav-links > li { padding: 0; }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: 15px 0; width: 100%; }
    .nav-links > li > a:hover::after { width: 0; }
    .dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; background-color: #222; padding: 0; margin-top: 0; min-width: auto; border-radius: 0; }
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.active .dropdown-menu { display: block; }
    .nav-toggle { display: block; }
    p.hero-text { font-size: 0.7em; }
    p.hero-text span { font-size: 2.5em; }
    #vio-ai-widget-container { bottom: 15px; right: 15px; gap: 10px; }
    .avatar { width: 90px; padding: 1vmin; }
    .preview:before, .preview:after { 
        inset: 4.2vmin;
        translate: -1.2vmin -1.4vmin;
    }
    .preview:after { 
        translate: 1.1vmin -1.4vmin;
    }
    #backToTopBtn { bottom: 15px; left: 15px; }
}

/* =================================================================== */
/* KART BÖLÜMÜ (index.html için) - NİHAİ VE GÜVENLİ STİLLER             */
/* =================================================================== */
.card-bolumu {
  margin-top: 300px; 
  padding-bottom: 100px; 
  width: 100%;
}
.card-bolumu p {
  font-family: "Raleway", sans-serif; 
  line-height: 1.5em;
}
.card-bolumu .container {
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center;
  gap: 35px;
  padding: 0 20px; 
  max-width: 1000px; 
  margin: 0 auto;
}
.card-bolumu .card-wrap {
  position: relative;
  flex: 1 1 210px; 
  max-width: 210px; 
  transform: perspective(800px);
  transform-style: preserve-3d; 
  cursor: pointer;
  border-radius: 10px;
}
.card-bolumu .card {
  position: relative; 
  z-index: 1;
  width: 100%; 
  height: 270px; 
  background-color: #333;
  overflow: hidden; 
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.5) 0 15px 30px 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-bolumu .card-bg {
  opacity: 0.5; 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background-position: center; 
  background-size: cover;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-bolumu .card-info {
  padding: 15px; 
  position: absolute; 
  bottom: 0; 
  color: #fff;
  width: 100%;
  transform: translateY(45%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-bolumu .card-wrap:hover .card-info { 
  transform: translateY(0); 
}
.card-bolumu .card-info p {
  opacity: 0; 
  transition: opacity 0.4s 0.1s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-bolumu .card-wrap:hover .card-info p { 
  opacity: 1; 
}
.card-bolumu .card-info h1 {
  font-family: "Playfair Display", serif; 
  font-size: 1.5rem;
}
.card-bolumu .card-wrap:hover .card {
    box-shadow: rgba(255, 255, 255, 0.2) 0 0 40px 5px, rgba(0,0,0,0.6) 0 30px 60px 0;
}
.card-bolumu .card-wrap:hover .card-bg { 
  opacity: 0.7; 
}
.card-bolumu .card-info * { 
  position: relative; 
  z-index: 2;
}
.tumunu-gor-btn {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    margin: 50px auto 0 auto;
    padding: 12px 30px;
    border: 2px solid #00fcff;
    border-radius: 50px;
    color: #00fcff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-image: linear-gradient(to right, #00fcff 0%, #ff00e1 50%, #00fcff 100%);
    background-size: 200% auto;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.tumunu-gor-btn:hover {
    color: #090A0F;
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff00e1, 0 0 40px #00fcff;
}
@keyframes dot-trail-path {
  0% { top: -5px; left: -5px; box-shadow: 5px 0 8px rgba(255,0,225,0.5), 10px 0 12px rgba(255,0,225,0.3), 15px 0 15px rgba(255,0,225,0.1); }
  24.9% { box-shadow: 5px 0 8px rgba(255,0,225,0.5), 10px 0 12px rgba(255,0,225,0.3), 15px 0 15px rgba(255,0,225,0.1); }
  25% { top: -5px; left: calc(100% - 5px); box-shadow: 0 5px 8px rgba(255,0,225,0.5), 0 10px 12px rgba(255,0,225,0.3), 0 15px 15px rgba(255,0,225,0.1); }
  49.9% { box-shadow: 0 5px 8px rgba(255,0,225,0.5), 0 10px 12px rgba(255,0,225,0.3), 0 15px 15px rgba(255,0,225,0.1); }
  50% { top: calc(100% - 5px); left: calc(100% - 5px); box-shadow: -5px 0 8px rgba(255,0,225,0.5), -10px 0 12px rgba(255,0,225,0.3), -15px 0 15px rgba(255,0,225,0.1); }
  74.9% { box-shadow: -5px 0 8px rgba(255,0,225,0.5), -10px 0 12px rgba(255,0,225,0.3), -15px 0 15px rgba(255,0,225,0.1); }
  75% { top: calc(100% - 5px); left: -5px; box-shadow: 0 -5px 8px rgba(255,0,225,0.5), 0 -10px 12px rgba(255,0,225,0.3), 0 -15px 15px rgba(255,0,225,0.1); }
  99.9% { box-shadow: 0 -5px 8px rgba(255,0,225,0.5), 0 -10px 12px rgba(255,0,225,0.3), 0 -15px 15px rgba(255,0,225,0.1); }
  100% { top: -5px; left: -5px; box-shadow: 5px 0 8px rgba(255,0,225,0.5), 10px 0 12px rgba(255,0,225,0.3), 15px 0 15px rgba(255,0,225,0.1); }
}
.card-bolumu .card-wrap::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ff00e1;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff00e1, 0 0 16px #ff00e1;
  z-index: 3;
  animation: dot-trail-path 6s linear infinite;
}

@media (max-width: 600px) {
  .card-bolumu { margin-top: 250px; }
  .card-bolumu .container { gap: 20px; padding: 0 15px; }
  .card-bolumu .card-wrap { flex-basis: calc(50% - 10px); max-width: calc(50% - 10px); }
  .card-bolumu .card { height: 190px; }
  .card-bolumu .card-info {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    padding: 10px;
    padding-top: 40px;
    bottom: 0;
    left: 0;
  }
  .card-bolumu .card-info h1 { font-size: 1rem; }
  .card-bolumu .card-info p {
    display: block; 
    font-size: 0.75rem; 
    opacity: 1;
    text-shadow: rgba(0, 0, 0, 1) 0 1px 2px; 
    margin-top: 5px;
  }
  .tumunu-gor-btn { padding: 10px 25px; font-size: 0.9rem; }
  .card-bolumu .card-wrap::before { width: 8px; height: 8px; }
}

/* === BİLDİRİM KUTUSU STİLLERİ === */
#bildirim-kutusu {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.bildirim {
    background-color: rgba(9, 10, 15, 0.85);
    color: #fff;
    padding: 16px 22px;
    border-radius: 8px;
    border-left: 4px solid #00fcff;
    box-shadow: 0 5px 20px rgba(0, 252, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    min-width: 320px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bildirim.hata {
    border-color: #ff00e1;
    box-shadow: 0 5px 20px rgba(255, 0, 225, 0.2);
}

.bildirim.goster {
    opacity: 1;
    transform: translateX(0);
}

.bildirim.gizle {
    opacity: 0;
    transform: translateX(120%);
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -10px;
    border: 0;
}

/* === TÜM TARAYICILARDA ÇALIŞAN SAYFA GEÇİŞ EFEKTİ === */
body.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease-out;
}