:root {
    --bej: #e8e8e1;
    --kirmizi: #e12e2e;
    --yazi: #333;
    --beyaz: #ffffff;
    --kart-bg: #ffffff;
    --menu-border: #ddd;
}

.dark-mode {
    --bej: #1a1a1a;
    --kirmizi: #ff4d4d;
    --yazi: #f4f4f4;
    --beyaz: #121212;
    --kart-bg: #1e1e1e;
    --menu-border: #333;
    background-color: #121212;
}

body { 
    font-family: 'Georgia', serif; 
    margin: 0; background: var(--beyaz); color: var(--yazi); transition: 0.3s; line-height: 1.6;
}

header {
    background: var(--bej); padding: 0 10%; height: 70px; display: flex;
    align-items: center; justify-content: space-between; border-bottom: 2px solid var(--menu-border);
    position: sticky; top: 0; z-index: 1000;
}

.logo { font-size: 24px; font-weight: 900; letter-spacing: 3px; }

nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.nav-item { position: relative; height: 70px; display: flex; align-items: center; }
.nav-item > a {
    text-decoration: none; color: var(--yazi); font-weight: 700; font-size: 13px;
    padding: 0 20px; text-transform: uppercase; cursor: pointer;
}

.dropdown {
    display: none; position: absolute; top: 70px; left: 0;
    background: var(--kart-bg); min-width: 260px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top: 4px solid var(--kirmizi);
}

.nav-item:hover > .dropdown { display: block; }

.sub-dropdown {
    display: none; position: absolute; top: -4px; left: 100%;
    background: var(--kart-bg); min-width: 220px; border-left: 3px solid var(--kirmizi);
}

.dropdown-item { position: relative; border-bottom: 1px solid rgba(128,128,128,0.1); }
.dropdown-item a { color: var(--yazi); padding: 15px 20px; text-decoration: none; display: block; font-size: 13px; }
.dropdown-item:hover .sub-dropdown { display: block; }
.dropdown-item a:hover { background: var(--kirmizi); color: white; }
.has-sub::after { content: ' \25B8'; float: right; }

.mode-btn { background: var(--kirmizi); color: white; border: none; padding: 8px 15px; border-radius: 20px; cursor: pointer; font-weight: bold; }

.hero {
    height: 400px; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1543165796-5426273eaab3?auto=format&fit=crop&w=1350&q=80');
    background-size: cover; background-position: center; display: flex; justify-content: center; align-items: center; color: white;
}

.main-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.content-box { background: var(--kart-bg); padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.content-box img { width: 100%; border-radius: 5px; margin-top: 15px; }

.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; }
.modal-content { background: var(--kart-bg); width: 50%; margin: 5% auto; padding: 40px; border-radius: 5px; position: relative; border-top: 10px solid var(--kirmizi); }
.close { position: absolute; right: 25px; top: 15px; font-size: 35px; cursor: pointer; }