/* --- GENEL AYARLAR --- */
:root {
    --primary-color: #ff0000; /* Kırmızı */
    --dark-bg: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.9);
    --text-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

/* --- ARKA PLAN RESMİ --- */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

/* --- NAVBAR (HEADER) --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    /* Hafif saydam siyah arka plan */
    background: rgba(0, 0, 0, 0.95); 
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

/* LOGO AYARLARI */
.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900; /* VADER ÇOK KALIN */
    color: var(--primary-color);
    letter-spacing: 2px;
    /* KIRMIZI IŞIK (GLOW) EFEKTİ */
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.4);
}

.web-text {
    color: white;
    font-weight: 400; /* WEB İNCE */
    text-shadow: none; /* Web yazısında ışık yok */
}

/* MENÜ LİNKLERİ */
.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin: 0 20px;
}

.nav-links ul li a {
    font-size: 1rem;
    font-weight: 500; /* Normal kalınlık */
    font-family: 'Roboto', sans-serif;
}

.nav-links ul li a:hover, 
.nav-links ul li a.active {
    color: var(--primary-color);
}

/* --- HERO BÖLÜMÜ --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    animation: fadeIn 2s ease-in;
}

#typing-text {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
    letter-spacing: 1px;
}

.btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: 0.4s;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--primary-color);
    color: black;
    box-shadow: 0 0 20px var(--primary-color);
}

/* --- DİĞER BÖLÜMLER --- */
.section {
    padding: 80px 50px;
    background: rgba(0, 0, 0, 0.8);
    margin: 20px 0;
    border-top: 1px solid #222;
}

.title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: white;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.about-content {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    text-align: center;
}

/* KARTLAR */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: white;
}

.card p {
    color: #aaa;
}

/* İLETİŞİM & FOOTER */
.contact-container {
    text-align: center;
}

.contact-info a {
    font-size: 2rem;
    margin: 0 15px;
    color: #ccc;
}

.contact-info a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

footer {
    text-align: center;
    padding: 20px;
    background: #000;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #222;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    nav { padding: 15px; flex-direction: column; }
    .nav-links ul { margin-top: 15px; gap: 15px; }
    .hero h1 { font-size: 2.5rem; }
}

/* --- SLIDER STİLLERİ --- */
.slider-section {
    padding: 40px 50px;
    background: rgba(0, 0, 0, 0.6); /* Bölümü ayırmak için hafif arka plan */
}

.slider-container {
    width: 100%;
    max-width: 1000px;
    height: 500px; /* Slider yüksekliği */
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* Yan yana duran diğer resimleri gizler */
    border-radius: 15px;
    
    /* Sith Teması: Kırmızı Çerçeve ve Işık */
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out; /* Kayma animasyonu */
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya tam sığdırır */
    filter: brightness(0.8); /* Resmi hafif karartır */
}

/* OK BUTONLARI */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}