@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

:root {
    --primary-color: #FFC300; 
    --background-color: #1a1a1a;
    --text-color: #ffffff; 
    --header-height: 70px;
    --max-width: 1200px; 
}

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: var(--text-color);
    background: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
}

.header-full-width {
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
    padding-top: 10px;
    transition: background-color 0.3s ease-in-out;
}

.header-full-width.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo-img {
    margin-top: 10px;
    width: 150px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

nav {
    white-space: nowrap; 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
}

nav a {
    color: var(--text-color);
    margin: 0 10px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

nav a:hover {
    color: var(--primary-color);
}

nav a.active {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline;
}

#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    position: relative;
    color: var(--text-color);
    padding: 0;
    overflow: hidden;
}

#home h1 {
    font-size: 4rem; 
    margin-bottom: 1rem;
    z-index: 2;
    position: relative;
    font-family: 'Poppins', sans-serif; 
    font-weight: 700; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: white; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
    opacity: 0.8;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
}

.section {
    padding: 20px 20px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    overflow: visible;
    height: auto;
    position: relative;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    margin: 40px auto;
    height: 100%; 
}

.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    overflow: hidden; 
    width: 100%; 
    height: 800px; 
}

.aircraft-card {
    flex: 0 0;
    height: 600px;
    width: 50%;
    padding: 20px;
    background: #2e2e2e;
    border-radius: 20px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    top: 40%;
}

.aircraft-card.active {
    opacity: 1;
    z-index: 2;
}

.aircraft-card.prev {
    transform: translate(-150%, -50%);
    opacity: 0.5;
}

.aircraft-card.next {
    transform: translate(50%, -50%);
    opacity: 0.5;
}

.aircraft-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 15px; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); 
}

.aircraft-image img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px; 
}

.aircraft-details {
    flex: 1;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 10px; 
    padding: 10px;
    background: rgba(0, 0, 0, 0.1); 
}

.aircraft-details h3 {
    margin: 10px 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.aircraft-features {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #d9d9d9;
}

.aircraft-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.aircraft-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 2px;
    background: var(--primary-color);
}

.arrow {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: transform 0.3s ease;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.arrow:hover {
    transform: scale(1.2);
    color: #e67e22;
}

#sponsors {
    background: linear-gradient(135deg, #1a1a2e, #1f2b38);
    color: var(--text-color); 
}

.sponsors-container {
    flex-direction: column;
}

.up{
    align-items: center;
}

.down{
    align-items: center;
}

.sponsor-logo {
    width: 300px; 
    height: 150px; 
    object-fit: scale-down;
    margin: 10px;
    flex-direction: row;
    transition: transform 0.3s ease, max-width 0.3s ease; 
}

.sponsor-logo:hover {
    transform: scale(1.15); 
    max-width: 300px; 
}

@media (max-width: 768px) {
    .sponsors-container {
    flex-direction: column; 
    gap: 15px; 
    }
}

#contact {
    background: #1a1a1a;
    color: var(--text-color);
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.contact-logo {
    font-size: 3rem;
    color: var(--primary-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.contact-logo:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.contact-link {
    display: inline-block;
}

.scrollDown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    z-index: 2;
    text-align: center;
}

.scrollDown a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: background 0.3s;
    animation: bounce 2s infinite;
}

.scrollDown a:hover {
    background: var(--primary-color);
    color: #000;
}

.quote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #ffffff; 
    margin-top: 20px;
    text-align: center;
    font-style: italic;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); 
    z-index: 2; 
    position: relative; /* Z-index'in çalışması için */
    opacity: 0.8;
}

.signature {
    margin-top: 10px;
    text-align: center;
    position: relative; 
    z-index: 2; 
    color: #d9d9d9;
}

.signature img {
    width: 200px; 
    height: auto;
    margin-top: 10px;
    opacity: 0.9; 
    filter: brightness(0) invert(1); 

}

#archives {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto; 
    color: var(--text-color);
    background: linear-gradient(135deg, #1f1f1f, #333333); /* Siyah ve koyu gri tonları arasında bir geçiş */
    color: var(--text-color);
    padding: 50px 0; 
}

.archive-container {
    position: relative;
    width: 100%;
    max-width: 600px; 
    height: 600px; 
    border: 5px solid #FFC300;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000; 
}

.archive-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    display: none;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.archive-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 10px;
    transition: all 0.3s ease;
}

.archive-slide.active {
    display: flex;
}

.archive-controls button {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.archive-prev:focus,
.archive-next:focus {
    outline: none;
}

.archive-thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.archive-thumbnail {
    width: 80px;
    height: 80px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.archive-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.archive-thumbnail:hover {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.about-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 20px;
    background: linear-gradient(135deg, #1f1f1f, #333333);
    color: var(--text-color);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.about-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

#projects {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1f1f1f, #333333);
    color: var(--text-color);
}

.projects-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: #2e2e2e;
    border-radius: 10px;
    padding: 20px;
    width: 45%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: auto;
    max-width: 100%;  
    max-height: 400px;  
    object-fit: cover;  
    border-radius: 10px;
}

.project-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 10px;
}

.project-card p {
    color: #d9d9d9;
    font-size: 1rem;
    margin-top: 10px;
}

.video-project video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-width: 100%;
    margin-top: 10px;
}

.about-videos {
    flex: 1;
    max-width: 600px; 
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.about-videos video {
    width: 450px; 
    height: auto; 
    aspect-ratio: 16/9; 
    object-fit: fill; 
    border-radius: 10px;
}

.about-videos video::-webkit-media-controls {
    display: none !important;
}

.about-videos video::-moz-media-controls {
    display: none !important;
}

.about-text-overlay {
    position: absolute;
    bottom: 10px; 
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.9rem; 
    color: #FFD700; 
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); 
}

.highlighted-text {
    font-weight: bold; 
    color: var(--primary-color); 
}

#flag-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0; 
    position: relative;
    z-index: 5;
}

.turkish-flag {
    width: 60px; 
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    margin-bottom: 10px; 
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

#team {
    background: linear-gradient(135deg, #1f1f1f, #333333);
    color: var(--text-color);
    padding: 50px 20px;
    text-align: center;
}

.team-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    overflow: hidden;
}

.team-carousel {
    display: flex;
    gap: 20px;
    overflow: hidden; 
    scroll-behavior: smooth; 
    max-width: 80%;
    padding: 20px 0;
    position: relative; 
    white-space: nowrap;
    transition: transform 0.3s ease-in-out;
}

.team-card {
    background: #2e2e2e;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    flex: 0 0 auto;
    margin-right: 20px;
}

.team-carousel::-webkit-scrollbar {
    display: none;
}

.team-card:hover {
    transform: none;
}

.team-card img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 10px;
}

.team-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.team-card p {
    font-size: 1rem;
    color: #d9d9d9;
}

.team-arrow {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    padding: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.team-arrow:hover {
    transform: scale(1.2);
    color: #e67e22;
}

.team-arrow.left {
    position: absolute;
    left: 10px;
}

.team-arrow.right {
    position: absolute;
    right: 10px;
}

#form-button-container {
    position: absolute; 
    top: 120px;          
    right: 40px;        
    z-index: 10;        
}

.form-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color); 
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.form-button:hover {
    background-color: #e67e22; 
    transform: scale(1.05);
}

@media (max-width: 768px) {
    body, html {
        font-size: 14px;
        overflow-x: hidden;
    }

    .header-full-width {
        padding-top: 5px;
    }

    .flex-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        font-size: 14px;
        margin: 5px 10px;
    }

    #home h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .carousel-container {
        flex-direction: column;
        padding: 10px;
    }

    .team-carousel {
        flex-wrap: nowrap;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .team-card {
        width: 85%;
        margin: 0 auto;
    }

    .team-arrow {
        display: none; 
    }

    .about-section {
        flex-direction: column;
        gap: 20px;
    }

    .about-videos video {
        width: 100%;
    }

    .projects-container {
        flex-direction: column;
    }

    .project-card {
        width: 100%;
    }

    .sponsors-container {
        flex-direction: column;
    }

    .sponsor-logo {
        width: 30%;
        height: auto;
        margin: 10px auto;
    }

    .contact-icons {
        flex-wrap: wrap;
    }

    .contact-logo {
        font-size: 2rem;
        margin: 10px;
    }
}

body {
    overflow-x: hidden;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.card {
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* SUAS2024 Bölümü */
#suas2024 {
    padding: 50px 20px;
    background: linear-gradient(135deg, #1f1f1f, #333333);
    color: var(--text-color);
    text-align: center;
}

.suas-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.suas-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
}

.suas-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.suas-video {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.suas-video iframe {
    width: 100%;
    max-width: 800px; 
    aspect-ratio: 16/9; 
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    /* Ana Sayfa */
    #home h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    #home .scrollDown {
        bottom: 10px;
    }

    .quote {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* Header ve Menü */
    .header-full-width {
        flex-direction: column;
        padding: 10px 0;
        align-items: flex-start;
        padding-left: 15px;
    }

    .flex-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    nav {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 5px;
        overflow-x: auto; 
        width: 100%;
    }

    nav a {
        font-size: 14px;
        margin: 5px 8px;
        white-space: nowrap;
    }

    .logo-img {
        width: 100px;
        height: auto;
    }

    #flag-container {
        display: flex;
        justify-content: flex-start;
        margin: 5px 0;
    }

    .turkish-flag {
        width: 40px;
        height: auto;
    }

    /* Hakkımızda */
    .about-section {
        flex-direction: column;
        padding: 20px 10px;
    }

    .about-container {
        flex-direction: column;
        gap: 20px;
    }

    .about-videos {
        justify-content: center;
        gap: 15px;
        margin-left: 50px;
    }

    .about-videos video {
        width: 90%; 
        height: auto;
    }

    .about-text {
        text-align: center; 
        font-size: 14px; 
    }

    .about-text-overlay {
        position: relative; 
        bottom: 0; 
        transform: none; 
        margin-top: 10px; 
        font-size: 0.9rem; 
        text-align: center; 
        margin-left: 50px;
    }

    /* Hava Araçları */
    .carousel-arrow {
        display: block; 
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        border-radius: 50%;
        padding: 10px;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 10;
        transition: background 0.3s ease;
    }

    .aircraft-card {
        width: 80%;
        height: auto;
    }

    .carousel-arrow.left {
        left: 10px; 
    }

    .carousel-arrow.right {
        right: 10px; 
    }

    .carousel-arrow:hover {
        background: rgba(0, 0, 0, 0.8); 
    }

    .carousel-container {
        overflow-x: scroll; 
        scroll-behavior: smooth; 
    }

    /* Projelerimiz */
    .projects-container {
        flex-direction: column;
        gap: 15px;
    }

    .project-card {
        width: 100%;
        margin: 10px auto;
    }

    .project-card img {
        max-height: 250px;
    }

    /* Takım  */
    .team-carousel {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        display: flex;
        gap: 15px;
    }

    .team-card {
        width: 85%;
        margin: 10px auto;
    }

    .team-arrow {
        display: none; 
    }

    /* Arşiv */
    @media (max-width: 768px) {
        #archives {
            padding: 20px;
        }
    
        .archive-container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 350px;
            height: 500px;
            overflow: hidden; 
        }
    
        .archive-slide {
            width: 500px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    
        .archive-slide img {
            width: 500px; 
            max-width: 600px; 
            height: 500px; 
            border-radius: 10px; 
        }
    
        .archive-thumbnails {
            display: flex;
            flex-wrap: wrap; 
            justify-content: center; 
            gap: 10px; 
            margin-top: 15px;
            overflow-x: auto; 
            -webkit-overflow-scrolling: touch; 
        }
        
        .archive-thumbnail {
            width: 50px;
            height: 50px;
            flex-shrink: 0; 
            flex-basis: 50px; 
        }
        
        .archive-thumbnail img {
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            border-radius: 5px; 
        }
    }    

    /* Sponsorlar*/
    .sponsors-container {
        flex-direction: column;
        gap: 20px;
    }

    .sponsor-logo {
        width: 30%;
        height: auto;
        margin: 10px auto;
    }

    /* İletişim*/
    .contact-icons {
        flex-wrap: wrap;
        gap: 20px;
    }

    .contact-logo {
        font-size: 2rem;
    }

    /* SUAS2024 */
    .suas-container {
        flex-direction: column;
        text-align: center;
    }

    .suas-text {
        text-align: center;
        font-size: 14px;
    }

    .suas-video iframe {
        max-width: 100%;
        height: auto;
    }
}

.language-switch {
    position: fixed;
    top: 120px;
    left: 60px;
    display: flex;
    z-index: 1000;
}

.language-button {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    background-color: #d9d9d9;
    border: 2px solid #FFC300;
    transition: all 0.3s ease;
}

.language-button.active {
    background-color: #FFC300;
    color: #000;
    pointer-events: none; 
}

.language-button:first-child {
    border-right: none;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.language-button:last-child {
    border-left: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.language-button:hover {
    background-color: #e0a800;
    color: #fff;
}
