﻿:root {
    --primary-color: #000;
    --secondary-color: #CF0A0A;
    --light-color: #EEEEEE;
    --dark-color: #333;
    --font-color: #EEEEEE;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--light-color) !important;
    font-family: var(--font-family);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font-family);
}

main {
    background-color: var(--light-color);
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    color: white;
}

.container {
    max-width: 85%;
}

.navbar {
    background: var(--primary-color) !important;
    font-family: var(--font-family);
}

.bg-dark {
    background: var(--dark-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

.bg-light {
    background: var(--light-color);
}

.navbar-brand img {
    max-height: 80px;
    height: auto;
    width: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.3s ease, font-weight 0.3s ease;
    font-family: var(--font-family);
}

.navbar-dark .navbar-nav .nav-link.active {
        opacity: 1;
        border-bottom: 2px solid #fff;
        padding-bottom: 4px;
}

.navbar-brand span {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    font-family: var(--font-family);
}
header h1 {
    color: #fff;
    font-family: var(--font-family);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
header p {
    color: #fff;
    font-family: var(--font-family);
}

/* Header specific styles */
header {
    position: relative;
    overflow: hidden;
}

header .btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

header .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

header .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

header .btn-primary:hover {
    background-color: #b00909;
    border-color: #b00909;
}

header .btn-outline-light:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Header butonları responsive */
@media (max-width: 768px) {
    header .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        min-width: 120px;
    }
    
    header h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    header .btn {
        font-size: 0.9rem;
        padding: 0.1rem 0.2rem;
        min-width: 35px;
    }
    
    header h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    header .d-flex.flex-column.flex-sm-row {
        gap: 0.5rem !important;
        flex-direction: column !important;
    }
}

/* Genel Başlık Stilleri */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
}

/* FOOTER */
footer {
    background-color: var(--primary-color);
}

    footer a {
        color: white;
        text-decoration: none;
    }
        footer a:hover {
            text-decoration: none;
        }

    footer ul {
        list-style: none;
        padding-left: 0;
    }

/* Footer Sosyal Medya Butonları */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
    text-decoration: none;
}

.btn-outline-light:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    text-decoration: none;
}

        footer ul li {
            color: white;
            margin-bottom: 0.5rem;
        }

        footer ul.list-unstyled {
            display: flex;
            flex-wrap: wrap; /* Gerekirse alt satıra geç */
            gap: 10px; /* Elemanlar arası boşluk */
            justify-content: center; /* Ortala veya istersen flex-start */
            padding-left: 0;
            margin: 0;
        }

            /* Telefon numaraları yan yana */
            footer ul.list-unstyled li {
                white-space: nowrap; /* Satır kırılmasını engelle */
                font-size: 1rem;
            }



    footer .col-md-2,
    footer .col-md-3 {
        padding-bottom: 1rem;
    }

.btn-light {
    border: none;
}

    .btn-light:hover {
        color: var(--light-color);
        background-color: var(--primary-color);
        border: none;
    }

.invert-hover {
    background-color: #fff;
    color: #393E46;
    border: 1px solid transparent !important;
    transition: all 0.3s ease !important;
}

    .invert-hover:hover {
        background-color: var(--primary-color) !important;
        color: var(--light-color) !important;
        border-color: var(--light-color) !important;
    }

.invert-hover-2 {
    background-color: var(--light-color) !important;
    color: var(--primary-color) !important;
    border: 1px solid transparent !important;
    transition: all 0.3s ease !important;
}

    .invert-hover-2:hover {
        background-color: var(--primary-color) !important;
        color: var(--light-color) !important;
        border-color: var(--light-color) !important;
    }

#logo-fade {
    background-color: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

    #logo-fade.visible {
        opacity: 1 !important;
        pointer-events: all;
        background-color: var(--primary-color) !important;
        transition: opacity 0.6s ease;
    }

footer .row {
    min-height: 150px; /* İstersen artırabilir ya da azaltabilirsin */
}

    footer .row > div {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Dikey ortala */
        align-items: center; /* Yatay ortala */
        text-align: center;
    }

.dropdown-menu {
    background-color: var(--primary-color);
    border: 1px solid #fff;
    
}
    .dropdown-menu .dropdown-item {
        color: #fff !important;
        opacity: 0.7;
    }

        .dropdown-menu .dropdown-item:hover,
        .dropdown-menu .dropdown-item:focus {
            background-color: rgba(255, 255, 255, 0.1);
            color: #fff !important;
    opacity: 1 !important;
        }

.nav-item.dropdown {
    position: relative;
}

    .nav-item.dropdown .dropdown-menu {
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: auto !important;
    }

#mainNavbar .dropdown-menu {
    margin-top: 0.7rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff !important;
    opacity: 1 !important;
}

.event-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    overflow: hidden;
    border-radius: 10px;
}

    .event-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

    .event-card img {
        object-fit: cover;
        height: 400px;
        width: 100%;
    }

.event-title {
    background: #f8f9fa;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 0.6rem;
    margin: 0;
}

.iframe-container {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .iframe-container iframe {
        height: 800px;
        max-width: 768px;
        width: 100%;
        border: none;
        display: block;
    }

.iframe-credit {
    font-size: 12px;
    font-family: Arial, sans-serif;
    text-align: left;
    margin-top: 5px;
}

.puan-durumu{
    text-align: center;
}

/* Sıradaki Maç Kartı */
.vs-text {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #000;
}

.match-date {
    margin: 10px 0;
}

.match-time {
    font-size: 1.2rem;
    margin: 10px 0;
}

.stadium {
    margin-top: 5px;
}

/* Maç kartı responsive */
@media (max-width: 768px) {
    .vs-text {
        font-size: 1.2rem;
    }
    
    .match-time {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .event-card img {
        height: 180px;
    }
}


@media (max-width: 991.98px) {
    .nav-item.dropdown .dropdown-menu {
        left: auto !important;
        transform: none !important;
        min-width: 100% !important; /* Gerekirse tam genişlik yap */
        right: 0; /* Sağdan hizala (isteğe göre) */
    }
}

        @media (max-width: 430px) {
            .navbar-brand {
                flex-direction: column !important;
                align-items: center !important;
                text-align: center;
            }

                .navbar-brand img {
                    margin-right: 0 !important;
                    margin-bottom: 4px;
                }
        }

        @media (max-width: 575.98px) {
            .navbar-brand span {
                display: none !important; /* Yazıyı gizle */
            }

            /* Hamburger sağda olsun, logo ve toggler yan yana */
            .navbar .container {
                display: flex !important;
                justify-content: space-between;
                align-items: center;
            }

            /* Navbar toggler boyut ve ortalama */
            .navbar-toggler {
                border: none !important;
                background: transparent;
                padding: 0;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            /* Hamburger ikon rengini beyaz yap */
            .navbar-toggler-icon {
                background-image: url("data:image/svg+xml;charset=utf8,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='white' stroke-width='4' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
            }
        }

/* Sosyal Medya Bölümü */
.social-media-section {
    margin-top: 4rem;
    margin-bottom: 0;
}

/* Galeri Bölümü */
.gallery-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Galeri Link Stilleri */
.gallery-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Etkinlik Kartları Tarih Overlay */
.event-image-container {
    position: relative;
    overflow: hidden;
}

.event-date-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 400;
    backdrop-filter: blur(2px);
}

.event-date-overlay span {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Tüm Haberler ve Etkinlikler Butonları */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.btn-primary:hover {
    background-color: #b00909;
    border-color: #b00909;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(207, 10, 10, 0.3);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    font-family: var(--font-family);
}

.social-media-background {
   background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('/img/1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    position: relative;
}

.social-media-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-media-title {
    color: var(--light-color);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    color: white;
}

.social-icon i {
    font-size: 2rem;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .social-media-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .social-media-icons {
        gap: 1.5rem;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
    }
    
    .social-icon i {
        font-size: 1.5rem;
    }
    .puan-durumu .card-body .row {
        flex-wrap: nowrap; /* takımlar alt alta kaymasın */
        justify-content: space-between;
    }

    .puan-durumu .card-body .col-4 {
        flex: 1 1 auto;
        text-align: center;
        padding: 0.25rem; /* biraz boşluk bırak */
    }

    .puan-durumu .card-body .fw-bold,
    .puan-durumu .card-body .vs-text,
    .puan-durumu .card-body .match-date,
    .puan-durumu .card-body .match-time,
    .puan-durumu .card-body .stadium {
        font-size: 0.75rem; /* yazıları küçült */
    }

    .puan-durumu .card-body img {
        width: 40px; /* ikonları küçült */
        height: 40px;
        object-fit: contain;
    }

}

@media (max-width: 576px) {
    .social-media-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .social-media-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon i {
        font-size: 1.2rem;
    }
}