@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.cdnfonts.com/css/airstrike');

:root{
    --main-color: #111832;
    --second-color: #1743e1;
    --third-color: #23336c;
    --white: #ffffff;
    --black: #000000;
    --airstrike: 'AirStrike', sans-serif;
    --poppins: 'Poppins', sans-serif;
    --text-color: #1e73be;
    --diamond-text-color:#b9f2ff;
    --platin-text-color:#CECECE;
    --gold-text-color:gold;
    --silver-text-color:silver;
    --h1-text-color:#00b2eb;
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: .8rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--main-color);
}

::-webkit-scrollbar {
    width: 8px; 
    height: 3px; 
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5); 
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1); 
}   


/* HEADER */

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    padding: 4rem 7%;
}

header.sticky{
    padding: 5rem 100px;
    background: var(--main-color);
}

header .logo{
    position: relative;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    font-size: 3em;  
    font-family: var(--airstrike);
    font-weight: bold;
    text-decoration: none;
    transition: 0.6s;
    letter-spacing: 0.2rem;
}

header .navbar{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .navbar{
    position: relative;
    list-style: none;
}

header .navbar a{
    position: relative;
    margin: 0 1.5rem;
    text-decoration: none;
    color: var(--white);
    font-family: var(--poppins);
    letter-spacing: 0.2rem;
    font-weight: bold;
    font-size: 1.4rem;
    transition: .3s;
}

.navbar a:hover{
    color: var(--second-color);
}

.navbar a::before{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: .3s;
}

.navbar a:hover::before{
    width: 100%;
    background: var(--second-color);
}

header .header-icons div{
    color: var(--white);
    cursor: pointer;
    font-size: 2.15rem;
    margin-left: 2rem;
}

header .header-icons div:hover{
    color: var(--second-color);
    transition: 0.4s;
}
header.hovered {
    background: var(--main-color); /* Mavi renk */
}
#menu-btn{
    display: none;
    color: var(--white);
}

header .search-form{
    position: absolute;
    top: 115%; right: 7%;
    background: var(--white);
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);
    transform-origin: top;
}

header .search-form input{
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    color: var(--white);
    padding: 1rem;
    text-transform: none;
}

header .search-form label{
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--black);
}

.mega-box{
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 30px;
    top: 100px;
    opacity: 0;
    visibility: hidden; 
    transition: all 0.5s;
}

.nav-item:hover .mega-box {
    top: 54px;
    opacity: 1;
    visibility: visible;
}
.contenta{
    background: var(--main-color);
    border: 10px;
    padding: 25px 40px;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    
}

.main-mega{
    width: 25%;
    line-height: 45px;
}

img{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.mega-links{
    margin-left: -42px;
    list-style: none;
}

.mega-links li{
    padding: 0 20px;
}

.mega-links li a{
    padding: 10px 20px;
    color: var(--white);
    font-size: 20px;
    font-family: var(--poppins);
    display: inline-block;
    width: 80%;
}


.lang{
    margin: 0 10px;
    padding-left: 15px;
    position: relative;
}

.lang a{
    display: block;
    color: #ffffff;
    font-size: 23px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-family: Poppins, Sans-Serif;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lang a:hover {
    color: var(--second-color); /* Sarı renk */
    transform: scale(1.2); /* Simge büyür */    
}

#menu-btn {
    display: none;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 30px;
    z-index: 1100;
}

.navbar a.active{
    color: var(--second-color);
}

@media screen and (max-width: 992px) {
    #menu-btn {
        display: block;
        position: fixed;
        top: 35px;
    }

    header .navbar {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--main-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 6rem;
        transition: 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    }

    header .navbar a {
        display: block;
        width: 100%;
        padding: 1.5rem;
        text-align: left;
        font-size: 1.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar.show {
        right: 0;
    }

    .mega-box{
        display: none;
    }

    .navbar a::before
    {
        content: none !important;
        display: none !important;
    }

    header .logo{
        position: relative;
        font-weight: 700;
        color: var(--white);
        text-decoration: none;
        font-size: 2em;  
        font-family: var(--airstrike);
        font-weight: bold;
        text-decoration: none;
        transition: 0.6s;
        letter-spacing: 0.2rem;  
    }

    .lang a{
        margin: 0 10px;
        padding-right: 10px;
        position: relative;
    }
}

main{
    display: block;
    unicode-bidi: isolate;
}

#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    position: relative;
    padding: 0;
    overflow: hidden;
}


/* FOOTER */

.footer {
    background-color: var(--black); /* Koyu arka plan */
    color: #fff; /* Beyaz metin rengi */
    padding: 40px 20px;
    text-align: center;
    
}

.containerfooter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    
}

.footer .brand {
    font-size: 24px;
    font-weight: bold;
    color: var(--white); /* Sarı renk */
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
    font-family: var(--airstrike);
}

.footer .brand:hover {
    color: var(--second-color); /* Açık sarı */
}

.menufooter {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-family: var(--poppins);
}

.menufooter li {
    margin: 10px 15px;
}

.menufooter a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.menufooter a:hover {
    color: var(--second-color); /* Sarı renk */
}

.media-icons {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.media-icons li {
    margin: 0 10px;
}

.media-icons a {
    color: #fff;
    font-size: 24px;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.media-icons a:hover {
    color: var(--second-color); /* Sarı renk */
    transform: scale(1.2); /* Simge büyür */
}

.footer p {
    font-size: 14px;
    color: #aaa; /* Hafif gri yazı */
    margin-top: 20px;
    line-height: 1.8;
    font-family: var(--poppins);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .menufooter {
        flex-direction: column;
    }

    .menufooter li {
        margin: 5px 0;
    }

    .media-icons {
        flex-wrap: wrap;
    }

    .media-icons li {
        margin: 5px 10px;
    }
}

.sponsors-section {
    text-align: center;
    padding: 100px 20px;
    margin-top: 50px; /* Yukarıdan boşluk */
    font-family: var(--poppins);
}

.sponsors-section h2 {
    font-size: 6rem;
    margin-bottom: 20px;
    padding-bottom: 5px;
    font-family: var(--poppins);
    color: var(--h1-text-color);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.sponsor-box {
    width: 100%;
    aspect-ratio: 1/1; /* Kare kutular */
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    text-decoration: no;
}

.sponsor-box img {
    width: 100%; /* Fotoğrafın kutu içindeki genişliği */
    height: 100%; /* Fotoğrafın kutu içindeki yüksekliği */
    object-fit: cover; /* Fotoğrafın oranlarını korur */
}


.main-box:hover{
    border: 3px solid var(--third-color);
    box-shadow: 0px 0px 15px var(--third-color);
    transform: scale(1.05);
}

/* Altın Sponsor Hover Efekti */
.gold-box:hover {
    border: 3px solid gold;
    box-shadow: 0px 0px 15px gold;
    transform: scale(1.05);
}

/* Gümüş Sponsor Hover Efekti */
.silver-box:hover {
    border: 3px solid silver;
    box-shadow: 0px 0px 15px silver;
    transform: scale(1.05);
}

/* Bronz Sponsor Hover Efekti */
.diamond-box:hover {
    border: 3px solid #b9f2ff;
    box-shadow: 0px 0px 15px #b9f2ff;
    transform: scale(1.05);
}

.platin-box:hover {
    border: 3px solid #CECECE;
    box-shadow: 0px 0px 15px #CECECE;
    transform: scale(1.05);
}

/* Sponsor İsmi */
.sponsor-mainName {
    margin-top: 8px;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
    font-family: var(--poppins);
}

.sponsor-diamondName {
    margin-top: 8px;
    font-size: 16px;
    font-weight: bold;
    color: var(--diamond-text-color);
    font-family: var(--poppins);
    white-space: nowrap;
}

.sponsor-platinName {
    margin-top: 8px;
    font-size: 16px;
    font-weight: bold;
    color: var(--platin-text-color);
    font-family: var(--poppins);
    white-space: nowrap;
}

.sponsor-goldName {
    margin-top: 8px;
    font-size: 16px;
    font-weight: bold;
    color: var(--gold-text-color);
    font-family: var(--poppins);
    white-space: nowrap;
}

.sponsor-silverName {
    margin-top: 8px;
    font-size: 16px;
    font-weight: bold;
    color: var(--silver-text-color);
    font-family: var(--poppins);
}

.sponsor-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 768px) {
    .sponsors-grid {
        grid-template-columns: 2fr; /* Telefonlar için tek sütun */
    }

    .sponsor-box {
        width: 100%; /* Kutular tam genişlikte */
    }
    .sponsors-section h2 {
        font-size: 4rem; /* Başlık boyutunu küçült */
    }
}
