﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background: #fff;
    color: #000;
    overflow-x: hidden; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 18px;
}


.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 20px;
    background: linear-gradient(to right, #004c8f, #0077b6, #004c8f);
    /* background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(95px);*/
    position: relative;
}
.nav-container {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    max-width: 90%;
    margin: 0 auto; 
    padding: 0 10px;
    width: 100%; 
}
.logo img {
    width: 150px;
    height: 150px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    display: flex;
    border: 3px solid #0077b6;
    box-shadow: 0 0 15px #0077b6, 0 0 30px #fff;
    animation: pulseFrame 2.5s ease-in-out infinite alternate;
    position: relative;
}


.nav-links {
    max-width: 90%;
    text-align: center;
    list-style: none;
    display: inline-flex;
    gap: 10px; 
    padding: 0;
    margin: 0;
    background: transparent;
}

    .nav-links li {
        background: transparent;
        align-items: center;
        display: flex;
    }


        .nav-links li a {
            align-items: center;
            font-size: 21px;
            justify-content: center;
            display: flex !important;
            padding: 10px 20px;
            font-weight: 600;
            text-decoration: none;
            font-family: "Poppins", sans-serif;
            transition: all 0.3s ease;
            background: transparent;
            color: #fff;
            border: 2px solid transparent;
            border-radius: 50px;
            position: relative;
            z-index: 1;
            overflow: hidden;
        }


          

            .nav-links li a::after {
                content: '';
                position: absolute;
                width: 0%;
                height: 3px;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                background-color: #ffffff;
                transition: width 0.3s ease-out; /* Animasyonun akıcılığı */
                z-index: -1;
            }


            .nav-links li a.underline-active::after {
                width: 100%; 
            }
.nav-links li a:hover {
    
    text-shadow: 0 0 10px #00BFFF, 0 0 20px #00BFFF;
}
        .nav-links li.dropdown-menu {
            position: relative;
        }


.dropdown-content {
    list-style: none;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    z-index: 100;
    padding: 0;
    margin: 0;
    transform: none;
    border-radius: 0 0 8px 8px; /* Sadece alt köşeler yuvarlak */
    border-top: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #0077b6;
}

    
    .dropdown-content li {
        float: none;
        border-right: none;
        
        border-bottom: 1px solid rgba(0, 119, 182, 0.1);
        transition: all 0.3s ease-in-out;
    }

       
        .dropdown-content li a {
            text-align: left !important;
            padding: 10px 18px;
            font-weight: 600;
            font-size: 20px;
            color: #fff;
            text-decoration: none;
            font-family: "Poppins", sans-serif;
            transform: none;
            transition: all 0.3s ease-in-out;
        }

/* Alt Menüyü Açma Kuralı */
.nav-links li.dropdown-menu:hover .dropdown-content {
    display: block;
}


.dropdown-content li:hover {
   
    border: 2px solid #4fb0e7;
}

    .dropdown-content li:hover a {
         text-shadow: 0 0 10px #00BFFF, 0 0 20px #00BFFF;
    }



.language-toggle-link {
 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px; 
    height: 38px; 

    background-color: #2980b9; 
    color: white !important;

    border-radius: 18px; 
    border: 2px solid #fff !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 0 12px;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

    .language-toggle-link:hover {
        text-decoration: none;
    }

    .language-toggle-link::before {

        content: "\f0ac";

        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-right: 8px;
        font-size: 16px;
    }



/* İçerik */
.page-layout-container {

    display: flex;
    justify-content: center; 
    width: 100%;
    max-width: 1800px; 
    margin: 0 auto;
}


/* 2. YAN REKLAM ALANLARI (side-ad) */
.side-ad {
    width: 300px;
    min-width: 300px;
    min-height: 600px;
    flex-shrink: 0;
    padding: 20px 10px;
    box-sizing: border-box;
}

main.content-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 150px;
    margin-bottom: 50px;
    padding: 0 20px;
    max-width: 1200px;
}

.content-wrapper {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.content-box {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    /*  background: #fff;
    border: 3px solid #000;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    */
    padding: 45px 55px;
}

   
    .content-box h1,
    .content-box h2,
    .content-box h3 {
        text-align: center;
        font-weight: 700;
        font-family: 'Merienda';
        text-transform: uppercase;
        margin-bottom: 20px;
    }

 
    .content-box p,
    .content-box ul,
    .content-box ul li {
        text-align: justify;
        font-size: 20px;
        line-height: 1.85;
        margin-bottom: 22px;
        font-family: 'Quicksand';
    }


.divider {
    margin: 35px 0;
    border: 0;
    border-top: 2px solid #ddd;
}

.info-link {
    font-size: 18px;
    font-weight: 600;
    color: #0077b6;
    text-decoration: none;
}

    .info-link:hover {
        text-decoration: underline;
    }

/* Footer*/
.main-footer {
    flex-shrink: 0;
    width: 100%;
    background: #000;
    color: #fff;
    padding: 12px 0;
    text-align: center;
}

.footer-inner {
    width: 95%;
    margin: auto;
    font-size: 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 4px;
}

    .footer-links a:hover {
        text-decoration: underline;
    }


/* Responsive içerik üst menü */
@media (max-width: 768px) {
    .wordspacig {
        word-spacing: -4px;
    }

    .content-box {
        width: 100%;
        max-width: 100%;
        padding: 25px 15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .main-header {
        /* YENİ: Sabitleme özelliğini iptal ediyoruz */
        position: static;
        z-index: auto;
        /* Mobil menü içeriği sayfa kaydırılırken kaybolacak */
    }

        .nav-bar{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    height: auto; 
}

.nav-container {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    padding: 0 10px;
    overflow-x: hidden;
    padding-left: 0;
}

.logo img {
    /* Logo'nun menüden ayrılması için alt boşluğu artırdık */
    width: 100px;
    height: 100px;
    position: relative;
    top: auto;
    transform: none;
    left: auto;
    margin-bottom: 20px; /* Menüye daha fazla boşluk bırakmak için artırıldı */
    z-index: auto;
}

/* 2. MENÜ BAĞLANTILARI */
.nav-links {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
    padding: 0 10px;
    margin: 0;
}

    .nav-links li {
        width: 95%;
        float: none;
        display: block;
        margin: 2px 0;
        border-radius: 50px;
        background: transparent;
    }

        .nav-links li a {
            width: 100%;
            text-align: center;
            font-size: 16px !important;
            padding: 10px 12px;
            white-space: normal;
            border-radius: 50px;
            background: rgba(0, 119, 182, 0.8);
        }

.language-switcher {
    min-width: 100% !important;
}

            .nav-links li:first-child,
            .nav-links li:last-of-type {
                border-radius: 50px;
            }
    .side-ad {
        display: none !important;
    }

    /* Ana Düzenleyiciyi Tam Genişlik Yap */
    .page-layout-container {
        width: 100%;
        max-width: 100%;
        padding: 0; 
        margin: 0;
       
    }
    main.content-wrapper {
        padding: 0;
        width: 100%;
        max-width: 100%;
        margin-top: 10px !important;
    }
    .content-wrapper {
        padding: 0; 
    }

    .content-box {
        padding: 25px 22px;
    }

    .nav-links a {
        font-size: 16px;
    }
}

.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

    .animate-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

