


body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #002d5b;
    color: #ffffff;
    line-height: 1.6;
}

.glass-nav {
    background: linear-gradient(to right, rgba(0,38,79,.38), rgba(0,51,102,.38));
    border: 1px solid rgba(230,57,70,.30);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

@supports not ((backdrop-filter: blur(1px))) {
    .glass-nav {
        background: linear-gradient(to right, rgba(0,38,79,.85), rgba(0,51,102,.85));
    }
}
#site-nav a{
    font-size:medium;
}
#site-nav a.nav-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 6px; /* Alt çizgiye yer */
    color: #fff;
    text-decoration: none;
    transition: color .25s ease;
}

    #site-nav a.nav-underline::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 2px;
        width: 0;
        background: #e63946; /* Kurumsal kırmızı */
        transition: width .25s ease;
    }

    /* Hover: çizgi açılır + metin kırmızıya gider */
    #site-nav a.nav-underline:hover {
        color: #e63946;
    }

        #site-nav a.nav-underline:hover::after {
            width: 100%;
        }

    /* Aktif link: çizgi her zaman açık + metin kırmızı */
    /* Alt çizgi stili aynı kalmalı: Kırmızı, 2px, animasyonlu */

    /* Aktif link: Çizgi tam açık + Metin Rengi + Güçlü Glow */
    #site-nav a.nav-underline.is-active {
        color: #E63946 !important;
        /* Yeni: Aktifken logo gibi güçlü bir mavi-kırmızı parlama ver */
        filter: drop-shadow(0 0 10px rgba(0, 150, 255, 0.6)) drop-shadow(0 0 15px rgba(230, 57, 70, 0.8));
        /* Arka plan vurgusu KALKTI */
        background: transparent !important;
    }

        #site-nav a.nav-underline.is-active::after {
            width: 100% !important;
        }
/* Navigasyon listesi elemanlarına dikey ayırıcı ekle */
#site-nav ul li:not(:last-child) {
    /* Her elemanın sağına ayırıcı ekle, sonuncu hariç */
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 1rem; /* Ayırıcıdan sonra boşluk */
    margin-right: 0.5rem; /* Ayırıcıdan önce boşluk */
}

/* Navigasyon listesindeki boşluk yönetimi için,
   Tailwind'deki md:gap-x-4 veya md:gap-x-6 gibi sınıfları kaldırmanız veya azaltmanız gerekebilir. */

/* SLIDER OKLARINI DÜZELTME */
.slider .prev,
.slider .next {
    all: unset; /* tüm default stilini sıfırla */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.slider .prev {
    left: 20px;
}

.slider .next {
    right: 20px;
}

    /* Hover efekti sadece renk değiştirsin */
    .slider .prev:hover,
    .slider .next:hover {
        color: #e63946;
    }

/* HEADER ve NAV DÜZENLEMESİ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: rgba(0, 45, 91, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #e63946;
    box-sizing: border-box;
}


/* Masaüstü/tablet: düz köşe */
header nav {
    border-radius: 0 !important;
    background-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    padding: 14px 24px !important;
    min-height: 70px !important;
}

/* Mobil: köşeleri yuvarlak */
@media (max-width: 768px) {
    header nav {
        border-radius: 16px !important;
        overflow: hidden; /* yuvarlak kenarı düzgün klipler */
    }
}



.menu-toggle {
    display: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

/* SLİDER */
.slider {
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    height: 55vh;
}

.slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

    .slide.active {
        display: block;
    }

/* DOTS */
.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

    .dot.active {
        background: #e63946;
    }





/* İÇERİK ALANI */
.content {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    text-align: center;
    background: rgba(0, 45, 91, 0.7);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

    .content h1 {
        font-size: 36px;
        margin-bottom: 25px;
        color: #e63946;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .content p {
        font-size: 18px;
        line-height: 1.8;
        color: #e0e0e0;
        text-align: justify;
        margin-bottom: 20px;
    }

/* FOOTER */
footer {
    background: #001d3d;
    color: #ddd;
    padding: 40px 20px 20px;
    margin-top: 60px;
    z-index: 1 !important;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-col {
    flex: 1;
    margin: 15px;
    min-width: 200px;
}

    .footer-col h3 {
        color: #e63946;
        margin-bottom: 15px;
        font-size: 20px;
        border-bottom: 2px solid #e63946;
        padding-bottom: 8px;
        display: inline-block;
    }

    .footer-col p {
        color: #aaa;
        line-height: 1.6;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
    }

        .footer-col ul li {
            margin: 12px 0;
        }

            .footer-col ul li a {
                text-decoration: none;
                color: #ddd;
                transition: 0.3s;
                display: block;
                padding: 5px 0;
            }

                .footer-col ul li a:hover {
                    color: #e63946;
                    padding-left: 8px;
                }

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #002d5b;
        border-radius: 50%;
        color: white;
        font-size: 18px;
        transition: 0.3s;
        text-decoration: none;
    }

        .social-icons a:hover {
            background: #e63946;
            transform: translateY(-3px);
        }

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #aaa;
}

/* GALERİ KARTLARI */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
/* Galeri Başlığı */

/* Galeri Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Kart Tasarımı */
.gallery-card {
    background: #0b2d4a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.gallery-card:hover {
    transform: scale(1.05);
}

.gallery-card img,
.gallery-card video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Kart Başlığı */
.card-title {
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
}

/* Video Oynatma Butonu */
.video-wrapper {
    position: relative;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 10px 15px;
    pointer-events: none;
}

.gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: 250px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #003566;
}

    .gallery-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

.card-image {
    width: 100%;
    height: 100%;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.gallery-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 15px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-card:hover .card-overlay {
    transform: translateY(0);
}

.card-title {
    font-size: 18px;
    font-weight: 500;
}

.view-btn {
    background: rgba(230, 57, 70, 0.8);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

    .view-btn:hover {
        background: #e63946;
    }

/* Video Kartları için Özel Stil */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

    .video-thumbnail .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(230, 57, 70, 0.8);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.8;
        transition: opacity 0.3s;
    }

.video-card:hover .play-icon {
    opacity: 1;
}

.play-icon i {
    color: white;
    font-size: 20px;
    margin-left: 4px;
}

/* Lightbox için güncellemeler */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .lightbox-content img {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 8px;
        object-fit: contain;
    }

    .lightbox-content video {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 8px;
    }

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

    .lightbox .close:hover {
        background: rgba(230, 57, 70, 0.8);
    }

/* Responsive Tasarım */
@media (max-width: 768px) {
    .slider {
        height: 40vh !important;
        margin-top: 70px !important;
    }

    .prev, .next {
        padding: 8px 12px !important;
        font-size: 18px !important;
    }

    .dots {
        bottom: 10px !important;
    }

    .dot {
        width: 10px !important;
        height: 10px !important;
        margin: 0 4px !important;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 30vh !important;
        margin-top: 60px !important;
    }

    .prev, .next {
        padding: 6px 10px !important;
        font-size: 16px !important;
    }

    .dot {
        width: 8px !important;
        height: 8px !important;
    }
}

/* HABERLER BÖLÜMÜ */
.news-section {
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 20px;
}

    .news-section h1 {
        text-align: center;
        color: #e63946;
        margin-bottom: 40px;
        font-size: 36px;
    }

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: #003566;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }

    .news-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.news-card-content {
    padding: 20px;
}

.news-card h3 {
    font-size: 22px;
    margin: 0 0 15px;
    color: #fff;
}

.news-card p {
    color: #dcdcdc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-card-date {
    color: #e63946;
    font-size: 14px;
    font-weight: 500;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

/* RESPONSIVE TASARIM */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 15px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #002d5b;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
        }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .slider {
        height: 40vh;
        margin-top: 90px;
    }

    .content {
        margin: 30px 15px;
        padding: 20px;
    }

        .content h1 {
            font-size: 28px;
        }

        .content p {
            font-size: 16px;
        }

    .footer-container {
        flex-direction: column;
    }

    .footer-col {
        margin: 20px 0;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .news-container {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Login sayfası - vizyon uyumlu tasarım */
.login-page .vizyon-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 50px auto;
    gap: 40px;
}

/* Sol taraf (fotoğraf + metin) */
.login-page .vizyon-left {
    flex: 1;
}

/* Sağ taraf (login formu) */
.login-page .login-form {
    width: 350px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

    .login-page .login-form h2 {
        margin-bottom: 20px;
        color: #002d5b; /* Vizyon sayfasındaki koyu mavi ton */
    }

.login-page .form-group {
    margin-bottom: 15px;
}

.login-page .form-control {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.login-page .btn-vizyon {
    background-color: #e63946; /* Vizyon sayfasındaki kırmızı buton */
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

    .login-page .btn-vizyon:hover {
        background-color: #c62828;
    }

/* Mobil uyum */
@media (max-width: 900px) {
    .login-page .vizyon-container {
        flex-direction: column;
    }

    .login-page .login-form {
        width: 100%;
    }
}
/* Dropdown */
.guest-label {
    text-decoration: none;
    color: #e63946;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 18px;
    transition: color 0.3s;
}

.guest-text {
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.5px;
}
.guest-label:hover {

    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown menü sadece gerçek kullanıcıya */
.dropdown {
    position: relative;
    display: inline-block;

}

.dropdown-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s;

    text-decoration: none;
    color: #e63946;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 18px;
    transition: color 0.3s;
}

    .dropdown-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: #1f1f1f;
    border-radius: 6px;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 1000;
    overflow: hidden;
}

    .dropdown-content.show {
        display: block;
    }


    .dropdown-content a {
        display: block;
        padding: 10px 15px;
        text-decoration: none;
        color: white;
        font-size: 14px;
        transition: background 0.2s;
    }

        .dropdown-content a:hover {
            background: #333;
        }


.guest-login:hover{
    color:dodgerblue;
}
/* Login sayfası logo */
.login-logo {
    width: 180px; /* biraz daha büyük */
    cursor: pointer;
    transition: transform 0.4s ease, filter 0.4s ease;
}

    /* Hover efekti → daha belirgin büyüme + döndürme + parlama */
    .login-logo:hover {
        transform: scale(1.3) rotate(-12deg);
        filter: drop-shadow(0 0 25px rgba(0, 200, 255, 1));
    }

/* Bounce animasyonu */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Pulse animasyonu */
@keyframes strongPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0,150,255,0.4));
    }

    50% {
        transform: scale(1.25);
        filter: drop-shadow(0 0 28px rgba(0,150,255,1));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0,150,255,0.4));
    }
}

/* Sürekli parlasın */
.login-logo.pulse {
    animation: strongPulse 1.8s infinite;
}

/* Hover’da zıplasın */
.login-logo.bounce:hover {
    animation: bounce 0.7s ease;
}
.notification {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    animation: fadeIn 0.6s ease;
}

    .notification.success {
        background: rgba(50, 200, 100, 0.15);
        border: 1px solid #4dff88;
        color: #4dff88;
    }

    .notification.error {
        background: rgba(200, 50, 50, 0.15);
        border: 1px solid #ff4d4d;
        color: #ff4d4d;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Header logo animasyonu */
/* Header logo hover efekti */
header .logo img {
    height: 60px; /* senin boyutuna göre */
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

    header .logo img:hover {
        transform: scale(1.2); /* %20 büyüsün */
        filter: drop-shadow(0 0 15px rgba(0, 150, 255, 0.5)); /* hafif mavi glow */
    }
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999; /* her şeyin üstünde */
    justify-content: center;
    align-items: center;
}

