/* =============================
    Global Ayarlar ve Arka Plan
============================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../app/models/background/background.jpg');
    background-size: cover;
    background-position: center 35px;
    background-attachment: fixed;
    padding-bottom: 75px;
    color: white;
	overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.top-bar {
    background: #1e1e1e;
    padding: 0.4rem 1rem;
    display: flex;
    justify-content: flex-start; /* sol hizalama */
    align-items: center;
    flex-wrap: wrap;
    min-height: 60px;
    position: relative;
    z-index: 9999;
    gap: 2rem; /* logo ve menü arası boşluk */
}

.logo {
    width: 140px;
    height: 50px;
    background: url('/app/models/logo/logo.png') no-repeat center;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0; /* Logonun boyutu küçülmesin */
    margin-right: 2rem; /* Menüyle arasında boşluk */
}

.menu {
    padding: 0;
    text-align: center;
}

.menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    gap: 1rem;
}

.menu ul li {
    position: relative;
}

.menu ul li a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.8rem; /* Burada yazı boyutunu küçülttüm */
}

.menu ul li a:hover {
    background-color: #facc15;
    color: #000;
    border-radius: 6px;
}

.menu .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2a2a2a;
    min-width: 200px;
    z-index: 1000;
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

.menu .dropdown:hover .dropdown-content {
    display: block;
}

.menu .dropdown-content li a {
    padding: 0.7rem 1rem;
    color: #fff;
    white-space: nowrap;
}

.menu .dropdown-content li a:hover {
    background-color: #facc15;
    color: #000;
}

.menu ul li a.active {
    background-color: #facc15;
    color: #000;
    border-radius: 6px;
}

.main-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.main-nav.active {
    display: block;
}

.hamburger-button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.hamburger-icon {
    width: 30px;
    height: 3px;
    background: #fff;
    display: block;
    position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    width: 30px;
    height: 3px;
    background: #fff;
    position: absolute;
    left: 0;
    transition: 0.3s;
}

.hamburger-icon::before {
    top: -10px;
}

.hamburger-icon::after {
    top: 10px;
}

table {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.25);
    box-shadow:
        0 0 8px #00ffff,
        0 0 16px #00ffff,
        0 0 32px #00ffff,
        inset 0 0 8px rgba(0,255,255,.1);
    animation: pulseGlow 2.5s ease-in-out infinite alternate;
}

thead tr {
    background: linear-gradient(135deg,
        rgba(0,255,255,.2) 0%,
        rgba(0,255,255,.05) 100%);
}

th, td {
    padding: 12px 8px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: .5px;
}

th {
    font-size: 1.1rem;
    text-shadow:
        0 0 4px #00ffff,
        0 0 8px #00ffff,
        0 0 12px #00ffff,
        0 0 16px #00ffff;
}

tbody tr:hover {
    background: rgba(0,255,255,.08);
    text-shadow:
        0 0 4px #00ffff,
        0 0 8px #00ffff,
        0 0 12px #00ffff;
}

th, td {
    border: 1px solid rgba(0,255,255,.25);
}

@keyframes pulseGlow {
    from {
        box-shadow:
            0 0 8px #00ffff,
            0 0 16px #00ffff,
            0 0 32px #00ffff,
            inset 0 0 8px rgba(0,255,255,.1);
    }
    to {
        box-shadow:
            0 0 12px #00ffff,
            0 0 24px #00ffff,
            0 0 48px #00ffff,
            inset 0 0 12px rgba(0,255,255,.2);
    }
}

/* ==================================
    Mobil Global Ayarlar ve Arka Plan
================================== */
@media (max-width: 768px) {
    .hamburger-button {
        display: block;
        z-index: 10000;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        background: #1e1e1e;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding: 1rem;
        z-index: 9999;
    }

    .main-nav.active {
        display: flex;
    }

    .menu ul {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        margin: 0;
        gap: 0;
        display: none;
    }

    .main-nav.active .menu ul {
        display: flex;
    }

    .menu ul li {
        width: 100%;
    }

    .top-bar {
        justify-content: space-between;
        padding: 0 1rem;
    }

    .menu .dropdown-content {
        position: relative;
        background-color: #333;
        box-shadow: none;
        border-radius: 0;
        display: none;
        padding-left: 1rem;
    }

    .menu .dropdown.active .dropdown-content {
        display: block;
    }

    .menu .dropdown > a::after {
        content: ' ▼';
        float: right;
        font-size: 0.8rem;
    }
    table {
        width: 100%;
        font-size: 0.85rem;
        box-shadow:
            0 0 4px #00ffff,
            0 0 8px #00ffff,
            0 0 16px #00ffff,
            inset 0 0 4px rgba(0,255,255,.1);
    }

    th, td {
        padding: 8px 4px;
        font-size: 0.8rem;
    }

    th {
        font-size: 0.9rem;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}



