@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');
@import url('https://fonts.cdnfonts.com/css/holla');
 
 :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;
    --anasayfa-text-color:#00b2eb;
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--poppins);
}


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);
    
}


/* 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;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.section {
    padding: 20px 20px;
    text-align: center;
    position: relative;
    overflow: visible;
    height: auto;
    position: relative;
    z-index: 2; /* İçeriklerin videonun üstünde görünmesi için */
}

/* Responsive Video Ayarları */
@media (max-width: 768px) {
    .background-video {
        object-position: center; /* Video merkezde konumlandırılır */
        height: auto; /* Yükseklik otomatik ayarlanır */
        min-height: 100%; /* En az %100 yükseklik */
    }
}

@media (max-width: 480px) {
    #home {
        height: auto; /* Video ekranı tamamen kaplamamalıdır */
        padding: 20px; /* Alt ve üst boşluklar eklenir */
    }

    .background-video {
        min-height: 100%; /* Ekranı doldurur, genişlik ve yükseklik orantılıdır */
        object-fit: cover; /* Video boyutları kutuya uyacak şekilde kırpılır */
    }
}

/* VİDEO TEXT */
.video-title {
    position: absolute;
    top: 30%; /* Sayfanın üst kısmına yakın */
    right: 7%; /* Sayfanın sağ kısmına yakın */
    font-size: 8rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Stroke efekti benzeri, kenarlık efekti */
    z-index: 1;
    -webkit-text-stroke: 3px #ffffff; /* Safari için stroke efekti */
    font-family: var(--poppins);
}

/* yarisma (h2) */
.yarisma {
    position: absolute;
    top: 42%; /* 'yarisma' yazısını video-title'ın hemen altına yerleştiriyoruz */
    right: 5%; /* Sağ üst köşeye hizalama */
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--second-color);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7); /* Stroke efekti benzeri, kenarlık efekti */
    z-index: 1;
    -webkit-text-stroke: 3px var(--second-color); /* Safari için stroke efekti */
    font-family: var(--poppins);
}

.slider-buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.slider-button {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-button.active {
    background-color: var(--second-color);
}

/* 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;
    }
}

.main-container{
    min-height: 100vh;
    width: 100%;
    background-color:var(--main-color);
}

.info-container{
    padding: 5% 8%;
}

.mainInfo{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mainInfo h1{
    color: var(--anasayfa-text-color);
    font-size: 5rem;
    font-family: var(--poppins);
    -webkit-text-stroke-width: 2px;
    position: relative;
}

.info-cards{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 50px;
    margin-top: 80px;
}

.info-card {
    height: 300px;
    width: 370px;
    background-color: #91c5d6;
    padding: 15% 8%;
    border: 0.2px solid rgba(144, 226, 174, 0.2);
    border-radius: 8px;
    transition: 0.6s;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease, transform 0.7s ease; 
    pointer-events: none;
    z-index: 1;
}

.info-card:hover::after {
    left: 100%;
    transform: skewX(-20deg); 
}

.info-card > * {
    position: relative;
    z-index: 2; 
}


.info-card i{
    color: #1743e1;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 4.8rem;
}

.info-card h3{
    color: var(--text-color);
    font-size: 20px;
    font-family: var(--poppins);
    font-weight: bold;
    letter-spacing: 1px;
}

.foto{
    min-height: 70vh;
    width: 100%;
    background-color:var(--third-color);
    padding: 0 8%;
    background-image: url('images/diger_images/anasayfa_image.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


.instagram-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 50vh; /* İçeriğin dikeyde ortalanması için yükseklik */
}

.instagram-section h1 {
    font-size: 5rem;
    color: var(--anasayfa-text-color);
    margin: 20px; /* Başlık ile içerik arasında boşluk bırak */
    font-family: var(--poppins);
    -webkit-text-stroke-width: 2px;
}


.instagram-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px; /* Embed'in boyutunu sınırlamak için */
}


/* Mobil uyumluluk için mevcut ayarlamalar */
@media (max-width: 768px) {
    .video-title {
        font-size: 3rem;
        top: 20%;
        right: 3%;
    }

    .yarisma {
        font-size: 2rem;
        top: 32%;
        right: 3%;
    }

    .slider-button {
        width: 12px;
        height: 12px;
        margin: 0 5px;
    }
}

/* 480px altı için video yüksekliği ve görünürlüğü sağlanıyor */
@media (max-width: 550px) {
    /* Eğer mobilde arka plan videosu kullanılacaksa display'i açıyoruz */
    .background-video {
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* #home kapsayıcısının minimum yüksekliği her zaman tam ekran olsun */
    #home {
        min-height: 100vh;
    }

    .video-title {
        font-size: 2.5rem;
        top: 18%;
        right: 2%;
    }

    .yarisma {
        font-size: 1.8rem;
        top: 30%;
        right: 2%;
    }

    .slider-button {
        width: 10px;
        height: 10px;
        margin: 70px 4px;
    }
}


/* Mobil uyumluluk: 768px altı */
@media (max-width: 768px) {
    .mainInfo h1 {
        font-size: 3rem;
    }

    .info-container {
        padding: 5% 4%;
    }

    .info-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .info-card {
        height: auto; /* Kart yüksekliğini içerik belirlesin */
        width: 100%;
        padding: 10% 5%;
    }

    .info-card i {
        font-size: 3.2rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .info-card h3 {
        font-size: 16px;
    }
}

/* Daha küçük ekranlar: 480px altı */
@media (max-width: 550px) {
    .mainInfo h1 {
        font-size: 2.5rem;
    }

    .main-container{
        min-height: 30vh;
    }

    .info-container {
        padding: 15% 3%;
    }

    .info-cards {
        grid-template-columns: 1fr; /* Tek sütun */
        gap: 15px;
        margin-top: 30px;
    }

    .info-card {
        height: auto;
        width: 100%;
        padding: 18% 13%;
    }

    .info-card i {
        font-size: 2.5rem;
        margin-top: 10px;
        margin-bottom: 8px;
    }

    .info-card h3 {
        font-size: 14px;
        text-align: center;
    }

    .instagram-section {
        margin-bottom: 10px; /* Üst boşluk kaldırıldı */
        padding: 0 3%; /* Yanlardan biraz boşluk bırakıldı */
    }
    .foto {
        padding: 0; /* Tam genişlik kullanmak için padding kaldırıldı */
        margin-bottom: 0;
        background-size: contain; /* Tüm resim görünür, kenarlar kesilmez */
        background-position: center center;
        background-color: var(--main-color);
        min-height: 50vh;
    }

    .instagram-section h1
    {
        font-size: 2.7rem;
        
    }
}

/* Karartma arka plan */
        .overlay {
            position: fixed;
            top: 0; left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px); /* arkayı blurlu yap */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Popup kutusu */
        .popup {
            width: 600px;
            height: 400px;
            background: linear-gradient(to bottom, #093a8c, #2049c2);
            position: relative;
            color: white;
            border-radius: 8px;
            box-shadow: 0 0 20px rgba(0,0,0,0.3);
            overflow: hidden;
            display: none;
        }

        .popup .logo {
            position: absolute;
            top: 20px;
            left: 20px;
            width: 80px;
            height: 80px;
        }

        .popup .title {
            text-align: center;
            margin-top: 50px;
        }

        .popup .title h1 {
            font-size: 40px;
            margin-left: 0px;
            font-family: Holla, sans-serif;
        }

        .popup .title h1 .suas {
            color: #ff0000;
            font-size: 50px;
            font-family: Holla, sans-serif;
        }

        .popup .title h2 {
            font-size: 60px;
            margin: 10px 0 0 0;
            font-weight: bold;
            letter-spacing: 2px;
            font-family: Airstrike, sans-serif;
            position: relative;
            top: -25px;
            left: -10px;
        }

        .popup .drone {
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 500px;
            height: auto;
            z-index: 1;
        }

        .button-outline {
            display: inline-block;
            margin-top: 160px;
            padding: 10px 20px;
            border: 2px solid #fff;
            border-radius: 5px;
            transition: background-color 0.3s, color 0.3s;
            z-index: 2;
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
        }

        .button-outline a {
            text-decoration: none;
            color: white;
            font-weight: bold;
            transition: color 0.3s;
        }

        .button-outline:hover {
            background-color: rgb(0, 140, 255);
        }

        .button-outline:hover a {
            color: rgb(255, 255, 255);
        }

        .close {
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            border: none;
            color: #fff;
            font-size: 30px;
            cursor: pointer;
            z-index: 3;
            transition: color 0.3s;
        }

        .close:hover {
            color: rgb(0, 153, 255);
        }
        
        @media (max-width: 768px) {
            .popup {
                height: auto;
                padding-bottom: 50px;
            }
        
            .popup .title h1 {
                font-size: 30px;
            }
        
            .popup .title h1 .suas {
                font-size: 36px;
            }
        
            .popup .title h2 {
                font-size: 40px;
                top: -15px;
                left: 0;
            }
        
            .popup .drone {
                width: 300px;
            }

            .popup .drone{
                bottom: 0px;
            }
        }
        
        @media (max-width: 480px) {
            .popup {
                width: 95%;
                height: auto;
                padding-bottom: 200px;
            }
        
            .popup .logo {
                width: 60px;
                height: 60px;
                top: 10px;
                left: 10px;
            }
        
            .popup .title {
                margin-top: 40px;
            }
        
            .popup .title h1 {
                font-size: 24px;
            }
        
            .popup .title h1 .suas {
                font-size: 28px;
            }
        
            .popup .title h2 {
                font-size: 30px;
                top: -10px;
                left: 0;
            }
        
            .popup .drone {
                width: 350px;
                height: auto;
                bottom: 0px;
            }
        
            .button-outline {
                padding: 8px 16px;
                font-size: 14px;
            }
        
            .close {
                font-size: 24px;
            }
        }