/* --- GENEL AYARLAR VE DEĞİŞKENLER --- */
:root {
    --primary-color: #8B0000; /* Koyu Kırmızı / Bordo */
    --primary-light: #a52a2a;
    --secondary-color: #D4AF37; /* Altın Sarısı */
    --secondary-light: #f4d03f;
    --dark-bg: #1a1a1a;
    --darker-bg: #111111;
    --card-bg: #1f1f1f;
    --text-color: #e0e0e0;
    --text-muted: #b0b0b0;
    --heading-font: 'Cinzel', serif;
    --body-font: 'Lato', sans-serif;
    --border-color: rgba(212, 175, 55, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #6b0000);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #b8941f);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 0;
}

/* --- TİPOGRAFİ --- */
h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-secondary);
    margin: 1rem auto;
    border-radius: 2px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

p {
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-style: italic;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-light);
}

/* --- HEADER / MENÜ --- */
header {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(15px);
    padding: 1.2rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px var(--shadow-color);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 5%;
    background: rgba(17, 17, 17, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

nav ul li a:hover::before {
    left: 0;
}

nav ul li a:hover {
    color: white;
    transform: translateY(-2px);
}

/* --- HERO BÖLÜMÜ --- */
#hero {
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.4) 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

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

#hero h1 {
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    to {
        text-shadow: 0 0 40px rgba(212, 175, 55, 0.6), 0 0 60px rgba(212, 175, 55, 0.3);
    }
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.cta-button {
    background: var(--gradient-primary);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1rem;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.5);
    border-color: var(--secondary-color);
}

/* --- SCROLL BUTONLARI --- */
.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.section-nav {
    text-align: center;
    margin-top: 3rem;
}

.next-section-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: 2px solid var(--secondary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.next-section-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: left 0.4s ease;
    z-index: -1;
}

.next-section-btn:hover::before {
    left: 0;
}

.next-section-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.5);
    border-color: var(--secondary-light);
}

.next-section-btn.clicked {
    transform: translateY(2px) scale(0.95);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.arrow-down {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    animation: bounce 2s infinite;
}

.next-section-btn:hover .arrow-down {
    transform: translateY(3px);
    animation-play-state: paused;
}

.rotate-180 {
    transform: rotate(180deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* --- SECTION GEÇIŞ ANIMASYONLARI --- */
.section-enter {
    animation: sectionEnter 0.8s ease-out;
}

@keyframes sectionEnter {
    0% {
        opacity: 0.5;
        transform: translateY(30px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- ABOUT & FOOTER BÖLÜMLERİ --- */
#about {
    background: linear-gradient(135deg, var(--darker-bg) 0%, #1a1a1a 100%);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    pointer-events: none;
}

#about .container {
    position: relative;
    z-index: 2;
}

#about p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: var(--text-color);
}

/* --- KARAKTERLER BÖLÜMÜ --- */
#characters {
    background: var(--dark-bg);
    position: relative;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.character-card {
    background: var(--card-bg);
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.character-card:hover::before {
    transform: scaleX(1);
}

.character-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--card-bg) 0%, #2a2a2a 100%);
}

.character-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    transition: all 0.4s ease;
}

.character-card:hover .character-image {
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.character-card:hover .character-image img {
    transform: scale(1.1);
}

.character-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.character-card:hover h3 {
    color: var(--secondary-light);
}

.character-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.character-trait {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.character-card:hover .character-trait {
    background: var(--gradient-secondary);
    transform: scale(1.05);
}

/* --- ÖZELLİKLER BÖLÜMÜ --- */
#features {
    background: linear-gradient(135deg, var(--darker-bg) 0%, #1a1a1a 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, var(--card-bg) 0%, #252525 100%);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-character {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.icon-symbol {
    font-size: 3.5rem;
    display: block;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
}

.feature-card:hover .feature-character {
    filter: drop-shadow(0 6px 12px rgba(212, 175, 55, 0.4));
}

.feature-card:hover .icon-symbol {
    transform: scale(1.1) rotateY(360deg);
}

.feature-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--secondary-light);
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* --- FOOTER --- */
footer {
    background: linear-gradient(135deg, var(--darker-bg) 0%, #0a0a0a 100%);
    text-align: center;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-info {
    margin: 2.5rem 0;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info a {
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.9rem;
    color: #666;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- SCROLL ANIMASYONLARI --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 4rem 0;
    }
    
    header {
        padding: 1rem 5%;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li a {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    #hero {
        background-attachment: scroll;
        padding: 0 1rem;
    }
    
    #hero h1 {
        letter-spacing: 2px;
    }
    
    #hero p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .next-section-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .scroll-down-btn {
        bottom: 20px;
    }
    
    .characters-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .character-card {
        padding: 1.5rem;
    }
    
    .character-image {
        width: 100px;
        height: 100px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .icon-symbol {
        font-size: 2.5rem;
    }
} 