:root { --main-red: #8b0000; --dark-bg: #121212; --card-bg: #1e1e1e; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: var(--dark-bg); color: #e0e0e0; scroll-behavior: smooth; line-height: 1.6; }

/* --- Navigasyon ve Hamburger Menü --- */
nav { 
    background: rgba(0,0,0,0.95); 
    padding: 10px 5%; 
    position: sticky; 
    top: 0; 
    z-index: 2000; 
    border-bottom: 2px solid var(--main-red); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 70px;
}
.logo-img { height: 50px; width: auto; filter: invert(1); transition: 0.3s; }

.nav-links { display: flex; align-items: center; }
.nav-links a { color: #fff; margin-left: 20px; text-decoration: none; font-size: 0.85rem; text-transform: uppercase; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--main-red); }

.hamburger { display: none; cursor: pointer; color: #fff; font-size: 1.5rem; }

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 70px; 
        left: 0; 
        width: 100%; 
        background: rgba(18, 18, 18, 0.98); 
        padding: 20px; 
        border-bottom: 2px solid var(--main-red);
    }
    .nav-links.mobile-active { display: flex; }
    .nav-links a { margin: 15px 0; font-size: 1.1rem; margin-left: 0; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
}

/* --- Sayfa Yapısı --- */
.page { display: none; min-height: 80vh; }
.page.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero { 
    height: 55vh; 
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('arkaplan.webp'); 
    background-size: cover; background-position: center; 
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding: 0 20px;
}
.hero h1 { font-size: 3.5rem; color: #fff; text-shadow: 2px 2px 10px rgba(0,0,0,0.8); }

.container { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.about-box { background: var(--card-bg); padding: 35px; border-radius: 15px; border-left: 8px solid var(--main-red); margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

/* Kartlar */
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.event-card { background: var(--card-bg); padding: 25px; border-radius: 12px; border: 1px solid #333; border-top: 5px solid var(--main-red); position: relative; transition: 0.3s; }
.event-card:hover { transform: translateY(-5px); border-color: var(--main-red); }
.date-badge { color: #ff6b6b; font-size: 0.85rem; font-weight: bold; margin-bottom: 10px; display: block; }

/* Formlar & Butonlar */
input, textarea { width: 100%; padding: 12px; margin-bottom: 15px; background: #2a2a2a; border: 1px solid #444; color: white; border-radius: 8px; font-family: inherit; }
.btn { background: var(--main-red); color: white; border: none; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-weight: bold; width: 100%; transition: 0.2s; }
.btn:hover { background: #c02020; transform: scale(1.02); }
.delete-btn { position: absolute; top: 15px; right: 15px; background: #ff4d4d; color: white; border: none; padding: 6px 12px; border-radius: 5px; cursor: pointer; font-weight: bold; font-size: 0.7rem; }

/* Footer */
footer { text-align: center; padding: 50px 20px; color: #666; font-size: 0.8rem; border-top: 1px solid #222; margin-top: 60px; }
.instagram-link { color: #fff; font-size: 2.2rem; transition: 0.3s; margin-bottom: 15px; display: inline-block; }
.instagram-link:hover { color: #E1306C; transform: scale(1.1); }
.footer-links a { color: #666; text-decoration: none; margin: 0 10px; font-size: 0.75rem; }
.footer-links a:hover { color: var(--main-red); }

/* Modallar */
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); overflow-y: auto; }
.modal-content { background: var(--card-bg); margin: 10% auto; padding: 35px; border-radius: 15px; width: 85%; max-width: 550px; border: 1px solid var(--main-red); position: relative; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: #fff; cursor: pointer; }