﻿/* ===================================================================
>>> CSS STİL DOSYASI (KAYDIRMA ETKİN + TÜM EKLENEN ÖZELLİKLER)
=================================================================== 
*/

/* --- 🌐 UTILITIES --- */
.bg-muted {
    background: #eee;
}

.bg-dark {
    background-color: transparent !important;
}

.flex-1 {
    flex: 1;
}

.font-secondary {
    font-family: "Allison", cursive;
}

.text-navy {
    color: #1e266d;
}

.text-navy-light {
    color: #445781;
}

/* Eklendi */
.text-blue {
    color: #00aeef;
}

.text-orange {
    color: #fb690c;
}

.text-gray {
    color: dimgray;
}

.text-justify {
    text-align: justify;
}

.border-left {
    border-left: 1px solid #fff;
}

.backdrop-blur {
    backdrop-filter: blur(7px);
    background-color: rgba(186, 186, 186, .44);
}

.filter-grayscale {
    filter: grayscale(1);
}

/* --- GLOBAL STRUCTURE (KAYDIRMA İÇİN DÜZENLENDİ) --- */
body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    /* Genel font büyüklüğü ayarı */
    background-color: #f8f6f5;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* Eklendi */
    min-height: 100vh;
    /* Kaydırmayı etkinleştirmek için 100vh yerine kullanıldı */
}

main {
    flex: 1 0 auto;
    position: relative;
    z-index: 2;
    /* Arka planın üzerinde kalması garanti edildi */
}

footer {
    flex-shrink: 0;
}

/* --- 🇹🇷 ANA DESEN + TÜRK BAYRAĞI ARKA PLAN (KAYDIRMA İÇİN DÜZENLENDİ) --- */
html,
body {
    background: transparent !important;
    background-color: transparent !important;
    padding-top: 0 !important;
    /* Navbar boşluğunu kaldırdık */
}

/* Yeni Kapsayıcı: Her şeyin arkasında sabit */
.page-background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    /* İçerik arkasında (DOM sırasına göre ilk eleman olduğu için) */
    pointer-events: none;

    /* Arka Plan Deseni ve Gradyan: Opaklık 0.1'e düşürüldü, boyut 150px */
    background-color: #f8f6f5;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(240, 248, 255, 0.1)), url("../images/bg-pattern-transparent.svg");
    background-position: left top;
    background-repeat: no-repeat, repeat;
    background-size: cover, 150px;
}

/* Bayrak Katmanı: Wrapper içinde, desenin üstünde */
.page-background-wrapper::before {
    content: "";
    position: absolute;
    top: 60px;
    /* Navbar'ın altından başlaması için (60px nav) */
    left: 0;
    width: 80%;
    /* Mobil için varsayılan: Geniş (%80) */
    height: calc(100vh - 60px);
    background: url("../images/turkbayragi.svg") no-repeat left top;
    background-size: contain;
    opacity: 0.75;
    mix-blend-mode: multiply;
    z-index: 1;
    /* Wrapper içinde desenin üstünde */
}

/* Tablet ve daha büyük ekranlar (örneğin 768px üzeri) */
@media (min-width: 600px) {
    /* Top override removed */
}

/* Masaüstü ve daha büyük ekranlar (örneğin 1024px üzeri) */
@media (min-width: 1024px) {
    .page-background-wrapper::before {
        width: 50%;
        /* Masaüstü için küçültüldü */
    }
}

/* Navbar Yüksekliği Değişkenleri */
:root {
    --nav-h: 72px;
    /* Masaüstü yüksekliği */
    --transition-duration: 0.5s;
}

/* Navbar Daha Şeffaf (Kullanıcı İsteği) */
.modern-navbar {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}


/* Conflicting navbar styles removed to prefer site.css global glass styles */


/* --- BUTONLAR --- */
.btn {
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.9;
    transition: all .3s ease;
    /* Transition eklendi */
}

.btn-primary {
    /* Eklendi */
    background-color: #4584ff;
    border-color: #4584ff;
}

.btn_primary {
    /* Eklendi */
    background-color: #39373d;
    color: #fff;
}

.btn_primary:hover {
    /* Eklendi */
    color: #fff;
}

.btn_primary:focus {
    /* Eklendi */
    box-shadow: #f8fafc 0 0 0 2px, #39373d 0 0 0 4px;
}

/* Tekno-Ocak Temalı Buton (En son ve en spesifik hali kullanıldı) */
.btn-glow {
    background: linear-gradient(90deg, #00aeef, #ff3c00);
    color: #fff;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.3);
    transition: all .3s ease;
}

.btn-glow:hover {
    transform: none !important;
    /* Animasyon kaldırıldı */
    box-shadow: 0 0 45px rgba(255, 0, 0, 0.6);
}

/* Mavi tema override'ı (Glow butonu tamamen maviye çevirir) */
.intro-section.arena-theme .btn-glow {
    background: #00aeef !important;
    box-shadow: 0 0 25px rgba(0, 174, 239, 0.3);
}

.intro-section.arena-theme .btn-glow:hover {
    background-color: #0088bb !important;
    box-shadow: 0 0 35px rgba(0, 174, 239, 0.5);
    transform: translateY(-2px) !important;
    /* Hafifçe yukarı hareket efekti geri eklendi */
}

/* --- POPUP --- (Eklendi) */
.popup-container {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .8);
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
}

.popup-image {
    width: 80%;
    max-width: 840px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.popup-image img {
    width: 100%;
    max-width: 1080px;
    border-radius: 10px;
}

.gizle {
    display: none;
}

/* --- HERO SECTION (TeknOcak Bilim Şenliği) --- */
.intro-section.arena-theme {
    position: relative;
    background: transparent !important;
    padding: 100px 0;
    overflow: hidden;
    /* Bu içerideki taşmaları yönetmek için bırakıldı */
    isolation: isolate;
    z-index: 1;
}

.intro-section.arena-theme::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(0, 174, 239, 0.35) 0%, transparent 70%);
    filter: blur(90px);
    z-index: 0;
}

/* --- MODERN HERO SECTION (Bento Style) --- */
.intro-section.hero-modern {
    padding: 80px 0 100px;
    position: relative;
    overflow: visible;
    background: transparent !important;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-right: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #001b36;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.9);
}

.logo-highlight .logo-text {
    color: #001b36;
}

.logo-highlight {
    color: #00aeef;
}

.badge-pill {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: #00aeef;
    border: 1px solid rgba(0, 174, 239, 0.2);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.1);
}

/* Stats */
.stat-item h3 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.text-blue {
    color: #00aeef;
}

/* Hero Collage */
.hero-collage {
    position: relative;
    z-index: 5;
    perspective: 1000px;
    padding-left: 30px;
}

.collage-col {
    display: flex;
    flex-direction: column;
}

/* Photo Cards - Modern Clean Look */
.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.photo-card img {
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-card:hover img {
    transform: scale(1.08);
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 174, 239, 0.15);
    border-color: #00aeef;
    z-index: 10;
}

/* Card Sizes */
.card-tall {
    width: 250px;
    height: 480px;
    margin-top: 40px;
}

.card-wide {
    width: 280px;
    height: 190px;
}

.card-square {
    width: 280px;
    height: 250px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hero-collage {
        display: none !important;
    }

    /* Hide the second column (stacked photos) on mobile */
    .collage-col:nth-child(2) {
        display: none !important;
    }

    /* Style the single remaining column */
    .collage-col {
        width: 100%;
        max-width: 500px;
        /* Limit width for nice card look */
        margin: 0 auto !important;
        display: block;
        /* Ensure it behaves as block for centering if needed */
    }

    .card-tall {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        /* Widescreen ratio for single mobile card */
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-collage {
        flex-direction: column;
    }

    .collage-col {
        max-width: 100%;
    }

    .card-tall,
    .card-wide,
    .card-square {
        aspect-ratio: 3/2;
        /* Slightly taller on mobile */
    }
}

/* Overlays - Always visible at bottom */
.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 27, 54, 0.8) 0%, transparent 100%);
    padding: 30px 20px 15px;
    color: #fff;
    opacity: 1;
    transition: all 0.3s ease;
}

.photo-overlay span {
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* Animations Removed */

/* Utilities */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 174, 239, 0.3) !important;
}

/* Blobs Removed */

/* --- VIDEO / SWIPER SECTIONS --- */
.video-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    width: 400px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    transition: transform .3s ease, box-shadow .3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.video-card__cover {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.video-card__cover img {
    width: 100%;
    height: 100%;
    /* Fix: Reduced from 150% to prevent cropping */
    object-fit: contain;
    padding: 20px;
    /* Add breathing room */
}

.video-card__cover .cover-overlay {
    /* Eklendi */
    display: none !important;
}

.video-card__body {
    text-align: center;
    padding: 15px;
}

.video-card__body .title {
    font-size: 16px;
    font-weight: 600;
    color: #0b2347;
    text-transform: uppercase;
}

/* --- SWIPER GENEL --- (Eklendi) */
.mySwiper {
    width: 100%;
    padding-bottom: 30px;
}

.mySwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: #00aeef;
    transition: opacity .3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: .7;
}

/* --- MACBOOK VIDEO DÜZENİ --- (Eklendi) */
.macbook-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.macbook-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.gif-video {
    position: absolute;
    top: 13.8%;
    /* Mac resmi video ayarlaması */
    left: 15.5%;
    /* Mac resmi video ayarlaması */
    width: 98%;
    /* Mac resmi video ayarlaması */
    height: 72.5%;
    /* Mac resmi video ayarlaması */
    object-fit: cover;
    z-index: 1;
}

/* --- GENEL TİPOGRAFİ ÖLÇEKLENDİRMESİ --- (Eklendi) */
h1,
h2,
h3,
h4,
h5 {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    color: #001b36;
    letter-spacing: 0.3px;
}

p,
.lead {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #0a274a !important;
    font-size: 1.05rem;
    line-height: 1.7;
    background-color: transparent !important;
}

.accordion-body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #0a274a !important;
    font-size: 1.05rem;
    line-height: 1.7;
    background-color: #fff !important;
    position: relative;
    z-index: 5;
}

.accordion-body * {
    color: #0a274a !important;
    z-index: 6;
    position: relative;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    color: #001b36;
    background-color: #fff;
    /* Eklendi: Varsayılan arka plan beyaz */
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 174, 239, 0.1);
    color: #00aeef;
}

.accordion-item {
    background-color: #fff !important;
    /* Arka plan zorlandı */
    border: 1px solid rgba(0, 0, 0, .125);
}

.accordion-collapse {
    background-color: #fff !important;
}

.accordion-header {
    margin-bottom: 0 !important;
}

.section-padding-3 {
    padding-block: 1rem !important;
}

/* Eklendi */
.section-padding-4 {
    padding-block: 3rem !important;
}

/* Eklendi */
.section-padding-3 h2,
.section-padding-4 h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #001b36;
    margin-bottom: 1.2rem;
    text-align: center;
}


/* --- RESPONSIVE AYARLAR (Mobil) --- */
@media (max-width: 992px) {
    .intro-section {
        min-height: 90vh !important;
        /* Mobil için tam ekran hissi + dikey ortalama */
        display: flex !important;
        align-items: center !important;
        padding-top: 100px !important;
        /* Navbar altından başlaması için boşluk artırıldı */
        padding-bottom: 2rem !important;
    }

    .intro-section.arena-theme {
        text-align: center;
        padding: 90px 20px;
        /* En spesifik padding değeri kullanıldı */
    }

    .text-area {
        margin-top: 30px;
        padding: 25px;
        background: rgba(255, 255, 255, 0.85);
        /* En spesifik arka plan değeri kullanıldı */
    }

    .hero-title {
        font-size: 42px;
        /* En spesifik font boyutu kullanıldı */
    }

    .btn-glow {
        display: block;
        margin: 20px auto 0;
    }

    .lead {
        /* Eklendi */
        text-align: center;
    }
}

/* --- TAKIM KARTLARI (Revize: tam isim ve daha büyük resim) --- */
.comment-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    min-height: 360px;
    /* biraz artırıldı */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    transition: transform .3s ease, box-shadow .3s ease;
}

.comment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* İçerik alanı */
.comment-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Takım adı ve şehir */
.comment-card .team-name {
    font-size: 1rem;
    font-weight: 600;
    color: #001b36;
    white-space: normal;
    /* 🔹 Artık satır kaydırılabilir */
    overflow: visible;
    /* 🔹 Gizleme kaldırıldı */
    text-overflow: unset;
    /* 🔹 Üç nokta kalktı */
    line-height: 1.3;
    margin: 0 auto 0.5rem;
    max-width: 230px;
    /* çok genişlememesi için sınır */
}

.comment-card .team-city {
    font-size: 0.9rem;
    color: #007bff;
    margin-bottom: 0.8rem;
}

/* Görsel alanı */
.comment-card-image img {
    max-height: 240px;
    /* 🔹 Görsel boyutu büyütüldü */
    width: auto;
    object-fit: cover;
    /* 🔹 Daha dolgun görünür */
    border-radius: 12px;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .comment-card {
        min-height: 300px;
    }

    .comment-card-image img {
        max-height: 220px;
        width: 100%;
        /* Ensure it fills the width if needed */
        object-fit: cover;
    }
}