/* ====================== RESET & GENERAL ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Arial, sans-serif;
    background: #0b0f1a;
    color: white;
    line-height: 1.6;
}

/* ====================== NAVBAR ====================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-weight: bold;
    color: #00d4ff;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00d4ff;
}

/* ====================== HERO ====================== */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle, #101828, #05070d);
    margin-top: 25px;
}

.hero-content h1 {
    font-size: 4.2rem;
    margin-bottom: 10px;
}

.hero h2 {
    color: #00d4ff;
    margin-top: 8px;
    font-size: 1.8rem;
}

.hero p {
    margin-top: 12px;
    opacity: 0.85;
    font-size: 1.1rem;
}

.logo-wrapper img {
    width: 180px;
    margin: 20px 0;
}

.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    background: #00d4ff;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

/* ====================== SECTIONS ====================== */
.section {
    padding: 40px 50px;
}

.section h2 {
    color: #00d4ff;
    margin-bottom: 10px;
    text-align: center;
    font-size: 2.2rem;
}

/* ====================== CARD CONTAINER ====================== */
.card-container {
    display: flex;
    gap: 30px;
    
    flex-wrap: wrap;
}

.card {
    width: 380px;
    background: #111827;
    border-radius: 12px;
    padding: 30px;
    overflow: hidden;
    text-align: center;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.15);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card h3 {
    margin: 18px 0 10px;
    color: #00d4ff;
}

.card p {
    padding: 0 18px 22px;
    font-size: 0.95rem;
}

/* ====================== SPONSOR SLIDER (OPTIMIZE EDİLMİŞ) ====================== */
/* ====================== SPONSOR SLIDER - EN STABİL VERSİYON ====================== */
.sponsor-slider {
    overflow: hidden;
    width: 100%;
    margin: 40px 0;
    padding: 20px 0;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 16px;
}

.sponsor-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scrollLeft 30s linear infinite;
    /* Performansı artıran özellikler */
    will-change: transform;
    transform: translate3d(0, 0, 0); /* GPU hızlandırma */
}

.sponsor-track img {
    height: 90px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0.95);
    transition: transform 0.4s ease;
}

.sponsor-track img:hover {
    transform: scale(1.1);
}

/* Sonsuz döngü için kopyalama */
.sponsor-track::after {
    content: attr(data-clone);
    display: flex;
    gap: 80px;
    margin-left: 80px;
}

@keyframes scrollLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Mobil için daha yavaş ve hafif */
@media (max-width: 768px) {
    .sponsor-track {
        animation-duration: 22s;
        gap: 50px;
    }
    .sponsor-track img {
        height: 70px;
    }
}
/* ====================== GALLERY ====================== */
.gallery {
    columns: 3;
    column-gap: 18px;
}

.gallery img {
    width: 100%;
    margin-bottom: 18px;
    border-radius: 12px;
    display: block;
}

/* ====================== CONTACT ====================== */
.card-container .card {
    text-align: center;
}

/* ====================== MEDIA QUERIES ====================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .sponsor-track {
        animation-duration: 16s;
        gap: 40px;
    }
    
    .sponsor-track img {
        height: 70px;
    }
    
    .gallery {
        columns: 2;
    }
}

@media (max-width: 500px) {
    .gallery {
        columns: 1;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
}


/* İLETİŞİM BÖLÜMÜ İÇİN ÖZEL DÜZEN */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-items: center;
}

.contact-grid .card {
    width: 100%;
    max-width: 320px;
    padding: 25px 20px;
    text-align: center;
}

.contact-grid .card h3 {
    margin-bottom: 12px;
    color: #00d4ff;
}

.contact-grid .card p {
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */

.footer {
    background: #081225;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    gap: 50px;

    flex-wrap: wrap;

    padding: 60px 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: #00d4ff;
    margin-bottom: 20px;
}

.footer-column p,
.footer-column a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-column a:hover {
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.9rem;
}
