/* --- GENEL AYARLAR --- */
:root {
    --ana-sari: #FDD24C;
    --ana-siyah: #000000;
    --beyaz: #ffffff;
    --gri-bg: #f8f9fa;
    --koyu-gri: #333;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Arial, sans-serif;
    color: var(--ana-siyah);
    background-color: var(--beyaz);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- HEADER --- */
header {
    background: var(--ana-siyah);
    padding: 0 40px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-ust img { height: 40px; display: block; }

/* --- NAV --- */
nav ul { list-style: none; display: flex; align-items: center; }
nav ul li { margin-left: 20px; position: relative; }
nav ul li a { color: var(--beyaz); text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: bold; letter-spacing: 1px; transition: color 0.3s; }
nav ul li a:hover { color: var(--ana-sari); }

/* --- DROPDOWN --- */
.dropdown-content {
    display: none;
    position: absolute;
    background: var(--ana-siyah);
    min-width: 180px;
    top: 100%;
    left: 0;
    z-index: 200;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border-top: 3px solid var(--ana-sari);
    border-radius: 0 0 5px 5px;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown.acik-dropdown .dropdown-content { display: block; }
.dropdown-content a { padding: 12px 15px; display: block; border-top: 1px solid #333; font-size: 12px; color: var(--beyaz); text-decoration: none; transition: background 0.3s, color 0.3s; }
.dropdown-content a:hover { background-color: #222; color: var(--ana-sari); }

/* --- HAMBURGER (masaüstünde gizli) --- */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--beyaz);
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 1;
}

/* --- HERO --- */
.hero {
    background-color: var(--ana-sari);
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.hero img { max-width: 750px; width: 90%; height: auto; filter: drop-shadow(0 0 3px rgba(0,0,0,0.15)); }

/* --- FOOTER --- */
footer { background: var(--ana-siyah); color: var(--beyaz); text-align: center; padding: 20px 0; font-size: 13px; width: 100%; }

/* --- WHATSAPP --- */
.wa-destek {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: wa-salla 2s infinite;
}
.wa-destek:hover { transform: scale(1.1); background-color: #128c7e; color: white; }

@keyframes wa-salla {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* =========================================
   MOBİL
   ========================================= */
@media (max-width: 900px) {

    header {
        height: 56px;
        padding: 0 16px;
    }

    .logo-ust img { height: 32px; }

    /* Hamburger görünür */
    .hamburger { display: block; }

    /* Nav gizli — JS acik class ekleyince açılır */
    header nav {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--ana-siyah);
        z-index: 999;
        box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    }

    header nav.acik { display: block; }

    nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    nav ul li {
        margin-left: 0;
        border-bottom: 1px solid #222;
    }

    nav ul li a {
        display: block;
        padding: 16px 20px;
        font-size: 14px;
    }

    /* Mobil dropdown */
    .dropdown-content {
        position: static;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        background: #111;
        min-width: unset;
    }

    .dropdown-content a { padding: 12px 36px; font-size: 13px; }

    .hero img { width: 85%; }

    .wa-destek { padding: 10px 15px; bottom: 20px; right: 20px; font-size: 12px; }
}
