/* site.css */

/* Genel Arka Plan */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: linear-gradient(to bottom right, #000000, #004d99);
    background-size: cover;
    background-position: center;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Sayfa İçeriği için kaydırma ekleyelim */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 20px;
}

/* Navigasyon Çubuğu */
.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

    .navbar .logo a {
        font-size: 2.2rem;
        font-weight: bold;
        color: #ff9800;
        text-decoration: none;
    }

/* Parallax Efekti */
.parallax {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('/images/6.jpg') no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
    filter: blur(8px);
}

/* İçerik Kartları */
.card {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 25px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
    }

/* Kart Başlıkları */
.card-header {
    font-size: 1.6rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #ff9800;
}

/* Metin ve Butonlar */
.card-body {
    font-size: 1.2rem;
    color: #f0f0f0;
}

.card-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffeb3b;
}

.btn-light {
    background-color: #ffeb3b;
    color: #333;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .btn-light:hover {
        background-color: #ff9800;
        transform: scale(1.1);
    }

/* Küçük Buton */
.btn-sm {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 8px;
}

/* Kaydıran Yazı */
.scrolling-text {
    font-size: 2rem;
    color: #ff9800;
    font-weight: bold;
    margin-top: 100px;
    animation: scrolling 15s linear infinite;
}

@keyframes scrolling {
    0% {
        transform: translateX(60%);
    }

    100% {
        transform: translateX(-60%);
    }
}

/* İçerik Kartlarını Düzenle */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 50px;
}

    .row .card {
        flex: 1 1 auto;
        max-width: 100%;
    }

@media screen and (max-width: 1200px) {
    .row .card {
        flex: 1 1 20%;
    }
}

@media screen and (max-width: 768px) {
    .row .card {
        flex: 1 1 98%;
    }
}

/* --------------------------------------------------- */
/* SOL ALT KÖŞE - VERİ ÇEK BUTONU (Artık Alt Ortada) */
/* --------------------------------------------------- */
/* Floating “Veri Çek” Butonu: Alt Ortada (Daha Büyük) */
.fetch-center {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
}

    /* Hover’daki büyüme efektini iptal ederek kaymayı önle */
    .fetch-center:hover {
        transform: translateX(-50%) !important;
    }



/* --------------------------------------------------- */
/* SAYFA ALTINDA BASİT FOOTER TASARIMI */
footer {
    text-align: center;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    margin-top: 30px;
    font-size: 0.9rem;
    color: #ccc;
    border-top: 1px solid #555;
}

/* --------------------------------------------------- */
/* Kamera Kartı Butonları için Eşit Genişlik */
.camera-controls-equal {
    display: flex;
    gap: 8px;
}

.btn-equal {
    flex: 1;
    text-align: center;
}
