/* --- CSS DÜZELTMELERİ --- */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow-x: hidden; background-color: #121212; color: #ffffff; }

/* --- YÜKLEME EKRANI (TAM EKRAN, KESİNTİSİZ ŞİDDETLİ DEPREM DALGASI) --- */
#loader { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: #3e2723; display: flex; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.6s ease; overflow: hidden; }

.seismogram-bg { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100vh; 
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 100" preserveAspectRatio="none"><path vector-effect="non-scaling-stroke" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linejoin="round" d="M0,50 L20,10 L40,90 L60,5 L80,95 L100,20 L120,80 L140,15 L160,85 L180,30 L200,70 L220,10 L240,100 L260,0 L280,90 L300,10 L320,95 L340,5 L360,85 L380,25 L400,90 L420,15 L440,80 L460,30 L480,70 L500,50"/></svg>'); 
    background-size: 500px 100%; background-repeat: repeat-x; opacity: 0.15; z-index: 1; 
    animation: scrollWave 1.2s linear infinite;
}
@keyframes scrollWave { 0% { background-position: 0 0; } 100% { background-position: -500px 0; } }

.loader-content-box { z-index: 2; text-align: center; padding: 0 20px; animation: loaderZoomIn 2.8s ease-out forwards; }
@keyframes loaderZoomIn { 0% { transform: scale(0.7); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.15); opacity: 1; } }
.loader-custom-logo { width: 350px; height: auto; filter: drop-shadow(0 4px 15px rgba(0,0,0,0.6)); }

/* --- NAVİGASYON (MENÜ) VE KONTROL BUTONLARI --- */
#navbar { position: fixed; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 50px; z-index: 1000; transition: background-color 0.3s ease, padding 0.3s ease; }
#navbar.scrolled { background-color: rgba(11, 15, 25, 0.95); box-shadow: 0 2px 10px rgba(0,0,0,0.15); padding: 12px 50px; }
.nav-left-group { display: flex; align-items: center; gap: 20px; }
.navbar-custom-logo { height: 80px; width: auto; display: block; transition: transform 0.3s ease; }
.navbar-custom-logo:hover { transform: scale(1.05); }

.nav-controls { display: flex; align-items: center; gap: 10px; }
.control-btn { background: rgba(243, 156, 18, 0.2); border: 1px solid #f39c12; color: #f39c12; border-radius: 6px; cursor: pointer; display: flex; justify-content: center; align-items: center; font-size: 0.9rem; font-weight: 600; transition: all 0.3s ease; height: 35px; outline: none; }
.control-btn:hover { background-color: #f39c12; color: #121212; }
.portal-btn, .signup-btn { padding: 0 14px; gap: 8px; text-decoration: none; }
#lang-toggle { width: 45px; padding: 0; }

.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 12px; }
.nav-links a { color: #ffffff; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: #f39c12; }
.hamburger { display: none; cursor: pointer; }
.hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: #ffffff; transition: all 0.3s ease-in-out; }

/* --- AÇILIR YAN MENÜ (DRAWER) --- */
.extra-drawer { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background-color: #0b0f19; box-shadow: -5px 0 20px rgba(0,0,0,0.3); z-index: 2000; transition: right 0.4s ease; padding: 30px 20px; display: flex; flex-direction: column; overflow-y: auto; }
.extra-drawer.active { right: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 15px; }
.drawer-header h3 { color: #f39c12; font-size: 1.3rem; }
#close-drawer { background: none; border: none; color: #ffffff; font-size: 1.2rem; cursor: pointer; }
.drawer-links { display: flex; flex-direction: column; gap: 18px; }
.drawer-links a { color: #ffffff; text-decoration: none; font-size: 1rem; font-weight: 500; display: flex; align-items: center; gap: 12px; transition: color 0.3s ease; cursor: pointer; }
.drawer-links a i { color: #f39c12; width: 20px; }
.drawer-links a:hover { color: #f39c12; }

/* --- PORTAL MODALLARI (TAM EKRAN AÇILAN KISIMLAR) --- */
.portal-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(11, 15, 25, 0.98); z-index: 3000; overflow-y: auto; padding: 60px 20px; display: none; opacity: 0; transition: opacity 0.3s ease; }
.portal-modal.active { display: block; opacity: 1; }
.portal-content { max-width: 1000px; margin: 0 auto; position: relative; }
.back-to-home { background: rgba(243, 156, 18, 0.2); border: 1px solid #f39c12; color: #f39c12; padding: 10px 20px; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; margin-bottom: 30px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; }
.back-to-home:hover { background-color: #f39c12; color: #121212; }

/* --- YÖNETİM KADROSU (ŞEMA) STİLLERİ --- */
.team-hierarchy { display: flex; flex-direction: column; align-items: center; gap: 50px; margin-top: 20px; }
.team-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; position: relative; }
.team-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 25px 15px; width: 220px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.15); transition: transform 0.3s ease, border-color 0.3s ease; }
.team-card:hover { transform: translateY(-5px); border-color: #f39c12; }
.team-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px auto; border: 3px solid #f39c12; background-color: #1e293b; display: block; }
.team-name { color: #ffffff; font-size: 1.15rem; margin-bottom: 8px; }
.team-role { display: block; color: #b3b3b3; font-size: 0.85rem; margin-bottom: 20px; min-height: 35px; }
.team-linkedin { display: inline-flex; justify-content: center; align-items: center; width: 35px; height: 35px; background: #0077b5; color: #fff; border-radius: 50%; text-decoration: none; font-size: 1.2rem; transition: background 0.3s ease; }
.team-linkedin:hover { background: #005582; }

@media (max-width: 768px) {
    .team-card { width: 160px; padding: 15px 10px; }
    .team-photo { width: 80px; height: 80px; }
    .team-name { font-size: 1rem; }
    .team-role { font-size: 0.75rem; }
}

/* --- MEZUNLAR AĞI & KARİYER DİNAMİK STİLLERİ --- */
.job-platform-links { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 35px; }
.platform-btn { padding: 10px 20px; border-radius: 8px; font-weight: bold; text-decoration: none; color: #fff; font-size: 0.9rem; transition: transform 0.2s ease, opacity 0.2s ease; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.platform-btn:hover { transform: translateY(-3px); opacity: 0.9; }
.platform-btn.linkedin { background-color: #0077b5; }
.platform-btn.kariyer-net { background-color: #e67e22; }

.mezun-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.alumni-card { cursor: pointer; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.15); transition: transform 0.3s ease, border-color 0.3s ease; }
.alumni-card:hover { transform: translateY(-5px); border-color: #f39c12; }
.alumni-card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.alumni-photo { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 2px solid #f39c12; }
.alumni-title-info h3 { color: #f39c12; margin-bottom: 5px; font-size: 1.2rem; }
.alumni-role { display: block; color: #fff; font-size: 0.9rem; margin-bottom: 3px; }
.alumni-year { display: block; color: #ccc; font-size: 0.85rem; }
.alumni-card-body p { color: #b3b3b3; font-size: 0.95rem; line-height: 1.5; }

.kariyer-container { display: flex; flex-direction: column; gap: 15px; }
.job-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: transform 0.3s ease; }
.job-card:hover { transform: translateX(5px); border-color: rgba(243, 156, 18, 0.4); }
.job-info h4 { color: #ffffff; font-size: 1.15rem; margin-bottom: 5px; }
.apply-btn { background-color: #f39c12; color: #121212; padding: 8px 20px; border-radius: 6px; font-weight: bold; text-decoration: none; white-space: nowrap; transition: background 0.3s ease; }
.apply-btn:hover { background-color: #d35400; }

/* --- SANAL LABORATUVAR SEÇİCİ STİLLERİ --- */
.lab-container-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.lab-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.lab-card h3 { color: #f39c12; font-size: 1.3rem; margin-bottom: 8px; }
.lab-controls { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; }
.control-group label { display: block; font-size: 0.95rem; margin-bottom: 5px; color: #b3b3b3; }
.control-group label span { color: #f39c12; font-weight: bold; }
.control-group input[type="range"] { width: 100%; accent-color: #f39c12; cursor: pointer; }
.lab-screen { background: transparent; border: 1px solid #333; border-radius: 8px; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.lab-screen canvas { width: 100%; display: block; }

.underground-model { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.layer-block { padding: 10px 15px; border-radius: 6px; font-size: 0.9rem; font-weight: 600; text-align: center; }
.l-surface { background: #34495e; color: #fff; font-size: 0.85rem; }

.custom-layer { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.05); padding: 8px 15px; border-radius: 6px; margin-bottom: 5px; border-left: 4px solid #f39c12; transition: background 0.3s; }
.layer-label { font-size: 0.9rem; font-weight: 600; color: #ffffff; }
.layer-dropdown { background: #1a202c; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.1); padding: 6px 10px; border-radius: 4px; font-size: 0.85rem; width: 70%; outline: none; cursor: pointer; }
.layer-dropdown:focus { border-color: #f39c12; }

/* --- TÜRKİYE HARİTASI VE DEPREM LİSTESİ YAN YANA DÜZEN --- */
.earthquake-portal-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: stretch; }
.earthquake-map-wrapper { width: 100%; height: 500px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); border: 2px solid rgba(243, 156, 18, 0.3); }
#quake-map { width: 100%; height: 100%; background: #1a202c; }

.earthquake-list-panel { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 20px; height: 500px; display: flex; flex-direction: column; }
.earthquake-list-panel h3 { color: #f39c12; font-size: 1.2rem; margin-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px; }
#quake-list-container { overflow-y: auto; flex-grow: 1; display: flex; flex-direction: column; gap: 10px; padding-right: 5px; }
.quake-list-item { background: rgba(255, 255, 255, 0.07); padding: 12px; border-radius: 8px; border-left: 4px solid #f39c12; font-size: 0.9rem; border: 1px solid transparent; }
.quake-list-item .q-mag { font-weight: bold; color: #2ecc71; float: right; }
.quake-list-item .q-place { color: #ffffff; margin-bottom: 4px; display: block; }
.quake-list-item .q-time { color: #aaa; font-size: 0.8rem; }

@media (max-width: 992px) { 
    #navbar { padding: 15px 20px; } 
    .nav-left-group { gap: 10px; }
    .nav-logo a { font-size: 0.85rem; }
    .hamburger { display: block; } 
    .nav-links { position: absolute; top: 60px; right: -100%; background-color: rgba(11, 15, 25, 0.95); flex-direction: column; width: 250px; height: 100vh; align-items: center; padding-top: 50px; transition: right 0.4s ease; } 
    .nav-links.active { right: 0; } 
    .nav-links li { margin: 15px 0; } 
    .earthquake-portal-grid { grid-template-columns: 1fr; }
    .earthquake-list-panel { height: 350px; }
    .lab-container-grid { grid-template-columns: 1fr; }
    .job-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) { 
    .navbar-custom-logo { height: 60px; } 
    .loader-custom-logo { width: 220px; } 
}

/* --- ARKA PLAN VİDEOSU --- */
.video-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background-color: #000; overflow: hidden; pointer-events: none; }
.video-background video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); object-fit: cover; opacity: 0.35; pointer-events: none; }

.has-video-bg { position: relative; overflow: hidden; }
.section-bg-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translateX(-50%) translateY(-50%); z-index: 0; object-fit: cover; opacity: 0.8; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 15, 25, 0.75); z-index: 1; }

#ana-sayfa { width: 100%; position: relative; z-index: 1; }
.story-scene { min-height: 100vh; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; padding: 20px; }
.scene-content { max-width: 800px; z-index: 2; }
.scene-content h1 { font-size: 3.5rem; margin-bottom: 15px; letter-spacing: 2px; color: #f39c12; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.scene-content h2 { font-size: 3.5rem; color: #f39c12; letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.scene-content p { font-size: 1.5rem; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }

.icon-container { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
.hero-logo { width: 220px; height: auto; object-fit: contain; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }

.sensor-graphic { font-size: 4rem; color: #e74c3c; margin-top: 20px; position: relative; }
.moving-wave { width: 100px; height: 5px; background-color: #f1c40f; margin: 20px auto; border-radius: 5px; }
.underground-layers { display: flex; flex-direction: column; gap: 5px; margin-top: 20px; align-items: center; }
.layer { width: 200px; border-radius: 5px; }
.layer-1 { height: 15px; background-color: #8d6e63; }
.layer-2 { height: 30px; background-color: #5d4037; }
.layer-3 { height: 60px; background-color: #3e2723; }
.seismogram-graphic { font-size: 5rem; color: #2ecc71; margin-top: 20px; }
.map-graphic { font-size: 5rem; color: #9b59b6; margin-top: 20px; }

@media (max-width: 768px) { 
    .scene-content h1 { font-size: 2rem; } 
    .scene-content h2 { font-size: 2rem; } 
    .scene-content p { font-size: 1.1rem; } 
    .hero-logo { width: 160px; }
}

#main-content { position: relative; z-index: 1; }
.section { min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 100px 20px 50px 20px; }
.bg-darker { background-color: rgba(11, 15, 25, 0.6); }
.content-container { max-width: 1200px; width: 100%; margin: 0 auto; z-index: 2; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 50px; color: #f39c12; letter-spacing: 1px; }

.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

.stats-container { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.stat-item { background: rgba(255, 255, 255, 0.05); padding: 30px 40px; border-radius: 12px; backdrop-filter: blur(5px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.stat-item:hover { transform: translateY(-5px); }
.stat-item h2 { font-size: 3.5rem; color: #f39c12; margin-bottom: 10px; font-weight: bold; text-align: center; }
.stat-item span { font-size: 1.1rem; color: #ffffff; letter-spacing: 1px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; color: #b3b3b3; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); object-fit: cover; } 

.departments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.dept-card { background: rgba(255, 255, 255, 0.05); border-left: 4px solid #f39c12; padding: 30px 20px; border-radius: 8px; backdrop-filter: blur(5px); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.dept-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: #ffffff; }
.dept-card p { color: #b3b3b3; line-height: 1.6; }

.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.event-card { background: #1a202c; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.2); border: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; transition: transform 0.3s ease; }
.event-card:hover { transform: translateY(-5px); border-color: #f39c12; }
.event-card img { width: 100%; height: 200px; object-fit: cover; }
.event-info { padding: 25px; }
.event-info h3 { font-size: 1.3rem; margin-bottom: 15px; color: #f39c12; }
.event-info p { color: #ccc; font-size: 0.9rem; }

.sponsor-section { padding: 80px 20px; background-color: #0b0f19; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.sponsor-slider-container { width: 100%; overflow: hidden; white-space: nowrap; position: relative; }
.sponsor-slider-container::before, .sponsor-slider-container::after { content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none; }
.sponsor-slider-container::before { left: 0; background: linear-gradient(to right, #0b0f19, transparent); }
.sponsor-slider-container::after { right: 0; background: linear-gradient(to left, #0b0f19, transparent); }

.sponsor-track { display: inline-flex; gap: 30px; animation: sponsorScroll 30s linear infinite; }
.sponsor-card { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 160px; height: 160px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(243, 156, 18, 0.2); border-radius: 12px; padding: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease, border-color 0.3s ease; text-decoration: none; }
.sponsor-card:hover { transform: translateY(-5px); border-color: #f39c12; }
.sponsor-logo-box { width: 100px; height: 60px; display: flex; justify-content: center; align-items: center; margin-bottom: 10px; }
.sponsor-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(0.9); }
.sponsor-name { font-size: 0.85rem; font-weight: 600; color: #ffffff; text-align: center; white-space: normal; line-height: 1.2; }

@keyframes sponsorScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-160px * 7 - 30px * 7)); } }

.simulator-box { background: rgba(11, 15, 25, 0.6); padding: 30px; border-radius: 15px; border: 1px solid rgba(243, 156, 18, 0.3); max-width: 750px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.magnitude-display { font-size: 1.3rem; margin-bottom: 15px; color: #ffffff; font-weight: 600; text-align: center; }
.magnitude-display span { color: #f39c12; font-size: 1.5rem; }
#mag-slider { width: 100%; accent-color: #f39c12; margin-bottom: 25px; cursor: pointer; }
.seismograph-screen { background: rgba(255, 255, 255, 0.07); border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 25px; }
#seismograph-canvas { width: 100%; display: block; }
.earthquake-info-box { background: rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 8px; border-left: 4px solid #f39c12; }
.earthquake-info-box h4 { color: #f39c12; margin-bottom: 8px; font-size: 1.2rem; }
.earthquake-info-box p { color: #b3b3b3; font-size: 0.95rem; line-height: 1.5; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }
.blog-card { background: #1a202c; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); }
.blog-card:hover { transform: translateY(-5px); border-color: #f39c12; }
.blog-info { padding: 25px; }

.faq-list, .announcements-list { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; width: 100%; }
.faq-item, .announcement-item { background: rgba(255, 255, 255, 0.05); border-radius: 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.4s ease; }

.faq-question, .announcement-header { padding: 20px; font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #ffffff; transition: background 0.3s ease; }
.faq-question:hover { background: rgba(243, 156, 18, 0.1); }
.announcement-header { background: #f39c12; color: #121212; font-size: 1.3rem; }
.announcement-header:hover { background: #d35400; }

.faq-question i, .announcement-header i { transition: transform 0.3s ease; }
.announcement-header i { font-size: 1.2rem; }

.faq-item.active .faq-question i, .announcement-item.active .announcement-header i { transform: rotate(180deg); }

.faq-answer, .announcement-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 20px; line-height: 1.6; }
.faq-answer { color: #b3b3b3; }

.faq-item.active .faq-answer { max-height: 500px; padding: 0 20px 20px 20px; }
.announcement-item.active .announcement-body { max-height: 1500px; padding: 0 20px 20px 20px; }

.announcement-text { padding: 20px 0; }
.announcement-team-box { background: rgba(255, 255, 255, 0.07); padding: 20px; border-radius: 8px; margin-top: 25px; border-left: 4px solid #f39c12; }
.announcement-team-box ul { list-style: none; color: #b3b3b3; line-height: 1.8; }
.announcement-team-box h4 { color: #f39c12; margin-bottom: 15px; font-size: 1.1rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.2); background: #1a202c; transition: transform 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); }
.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform 0.5s ease; cursor: pointer; }
.gallery-item:hover img { transform: scale(1.05); }

/* LİGHTBOX STİLLERİ */
.lightbox { display: none; position: fixed; z-index: 4000; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(0, 0, 0, 0.9); justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.lightbox.active { display: flex; opacity: 1; }
.lightbox-close { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; transition: 0.3s; z-index: 4001; }
.lightbox-close:hover, .lightbox-close:focus { color: #f39c12; text-decoration: none; cursor: pointer; }

.lightbox-content { max-width: 90%; max-height: 90vh; border-radius: 8px; box-shadow: 0 0 20px rgba(0,0,0,0.8); transform: scale(0.8); transition: transform 0.3s ease; }
.lightbox.active .lightbox-content { transform: scale(1); }

.event-lightbox-content { background: #1a202c; border-radius: 12px; max-width: 800px; width: 90%; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.8); transform: scale(0.8); transition: transform 0.3s ease; border: 1px solid rgba(243, 156, 18, 0.4); }
.lightbox.active .event-lightbox-content { transform: scale(1); }
.event-lightbox-content img { width: 100%; height: auto; max-height: 400px; object-fit: cover; }
.event-lightbox-info { padding: 30px; }
.event-lightbox-info h3 { color: #ffffff; font-size: 1.8rem; margin-bottom: 15px; }
.event-lightbox-info p { color: #b3b3b3; font-size: 1.1rem; line-height: 1.6; }

.blog-lightbox-content { background: #1a202c; border-radius: 12px; max-width: 900px; width: 90%; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.8); transform: scale(0.8); transition: transform 0.3s ease; border: 1px solid rgba(243, 156, 18, 0.4); }
.lightbox.active .blog-lightbox-content { transform: scale(1); }
.blog-lightbox-header { background: #0b0f19; padding: 25px 30px; border-bottom: 2px solid #f39c12; position: sticky; top: 0; z-index: 10; }
.blog-lightbox-header h2 { color: #f39c12; font-size: 1.8rem; line-height: 1.4; padding-right: 30px;}
.blog-lightbox-text { padding: 30px; color: #dcdcdc; font-size: 1.05rem; line-height: 1.8; }
.blog-lightbox-text p { margin-bottom: 20px; }

.alumni-lightbox-content { background: #1a202c; border-radius: 12px; max-width: 800px; width: 90%; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.8); transform: scale(0.8); transition: transform 0.3s ease; border: 1px solid rgba(243, 156, 18, 0.4); padding: 30px; }
.lightbox.active .alumni-lightbox-content { transform: scale(1); }
.alumni-lightbox-text { color: #dcdcdc; font-size: 1.05rem; line-height: 1.8; }
.alumni-lightbox-text p { margin-bottom: 15px; }
.lightbox-alumni-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid rgba(243, 156, 18, 0.3); }
.lightbox-alumni-photo { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid #f39c12; }
.lightbox-alumni-info h2 { color: #f39c12; margin-bottom: 5px; font-size: 1.8rem; }
.lightbox-alumni-info p { color: #ccc; font-size: 1rem; margin-bottom: 5px; }

@media (max-width: 768px) {
    .lightbox-alumni-header { flex-direction: column; text-align: center; }
}

.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 900px; margin: 0 auto; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: rgba(255, 255, 255, 0.05); padding: 40px; border-radius: 12px; backdrop-filter: blur(5px); align-items: center; border: 1px solid rgba(255, 255, 255, 0.1); }
.contact-info h3 { color: #f39c12; margin-bottom: 20px; font-size: 1.5rem; }
.contact-form .form-group { margin-bottom: 15px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 15px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: #ffffff; font-size: 1rem; outline: none; transition: border-color 0.3s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #f39c12; }
.contact-form textarea { resize: vertical; }
.submit-btn { background-color: #f39c12; color: #121212; border: none; padding: 12px 30px; font-size: 1rem; font-weight: bold; border-radius: 8px; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; }
.submit-btn:hover { background-color: #d35400; transform: translateY(-2px); }
.social-icon { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05); color: #ffffff; border-radius: 50%; text-decoration: none; font-size: 1.1rem; margin-right: 10px; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); }
.social-icon:hover { background-color: #f39c12; color: #121212; transform: translateY(-5px); border-color: #f39c12; }
.map-container { width: 100%; height: 320px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

.career-ticker { background-color: #3e2723; color: #f39c12; padding: 15px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 2; border-top: 2px solid #5d4037; border-bottom: 2px solid #5d4037; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.ticker-track { display: inline-block; white-space: nowrap; animation: tickerScroll 150s linear infinite; font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; }
.ticker-track span { display: inline-block; padding: 0 20px; }
.ticker-track .dot { color: #ffffff; opacity: 0.6; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

footer { text-align: center; padding: 30px; background-color: #0b0f19; color: #b3b3b3; font-size: 0.9rem; position: relative; z-index: 1; }

@media (max-width: 768px) { 
    .contact-grid { grid-template-columns: 1fr; padding: 25px; } 
    .map-container { height: 250px; }
    .ticker-track { font-size: 0.95rem; }
    .earthquake-map-wrapper { height: 350px; }
}
/* =======================================================
   MOBİL UYUM (RESPONSIVE) SİHİRLİ DÜZELTME KODLARI 
   BU KISIM TELEFONLARDA İÇ İÇE GİRMEYİ KESİN ENGELLER
   ======================================================= */
/* =======================================================
   MOBİL UYUM (RESPONSIVE) SİHİRLİ DÜZELTME KODLARI v2
   (Logo büyümesi, Portal butonu ve taşma sorunları çözüldü)
   ======================================================= */
@media screen and (max-width: 992px) {
    
    /* 1. Sayfa Dışına Taşmaları Engeller */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* 2. Resim, Video ve İframe Taşmalarını Engeller */
    img, video, iframe, canvas {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* 3. İTÜ JEOFİZİK KOCAMAN LOGO DÜZELTMESİ (Ekranı kaplamasını engeller) */
    .navbar-custom-logo {
        max-width: 140px !important;
        max-height: 45px !important;
        object-fit: contain !important;
    }
    .loader-custom-logo {
        max-width: 80% !important;
        max-height: 100px !important;
        object-fit: contain !important;
    }

    /* 4. PORTAL VE DİL BUTONUNUN MOBİLDE GÖRÜNMESİ (Eski gizlemeyi iptal ettik) */
    .nav-left-group {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
    .nav-controls {
        display: flex !important;
        position: absolute !important;
        right: 60px !important; /* Hamburgerin hemen soluna yerleştirdik */
        top: 15px !important;
        gap: 5px !important;
    }
    .nav-controls .control-btn {
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
    }
    .nav-controls .signup-btn {
        display: none !important; /* Sadece Üye Ol butonunu gizledik ki ekrana sığsın */
    }
    .hamburger {
        display: block !important;
        position: absolute !important;
        right: 15px !important;
        top: 20px !important;
    }
    .nav-links {
        position: absolute !important;
        top: 70px !important;
        left: -100% !important;
        flex-direction: column !important;
        background-color: rgba(18, 18, 18, 0.98) !important;
        width: 100% !important;
        text-align: center !important;
        transition: 0.4s all ease-in-out !important;
        padding: 20px 0 !important;
        border-bottom: 2px solid #f39c12 !important;
        z-index: 999 !important;
    }
    .nav-links.active {
        left: 0 !important;
    }
    .nav-links li {
        margin: 15px 0 !important;
    }

    /* 5. Yan Yana Durup Birbirini Ezen Kutuları Alt Alta Dizer */
    .about-grid, 
    .contact-grid, 
    .earthquake-portal-grid, 
    .lab-container-grid,
    .team-row,
    .job-platform-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 30px !important;
    }

    /* 6. Yan Yana Dizili Otomatik Izgaraları Tek Sütuna Düşürür */
    .departments-grid, 
    .events-grid, 
    .gallery-grid, 
    .mezun-grid, 
    .blog-grid,
    .faq-list {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 20px !important;
    }

    /* 7. Zirve Rakamları Çok Küçülmesin Diye Ekrana İkili İkili Oturtur */
    .stats-container {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important;
    }
    .stat-item {
        width: 40% !important;
        min-width: 130px !important;
        margin: 0 !important;
    }

    /* 8. Yönetim Kadrosu (Ekip Kartları) Ekranı Doldursun, Ezilmesin */
    .team-card {
        width: 90% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    /* 9. Dev Yazı Puntosunu Telefon İçin İdeal Boyuta Getirir */
    h1 { font-size: 2.2rem !important; line-height: 1.2 !important; }
    h2.section-title { font-size: 1.8rem !important; text-align: center !important;}
    p, span { font-size: 1rem !important; }

    /* 10. Tıklanınca Açılan Portallar (Simülasyon vb.) Ekrandan Çıkmasın Diye Küçültülür */
    .portal-modal .portal-content {
        width: 95% !important;
        margin: 15% auto !important;
        padding: 20px 15px !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
    
    .lab-controls {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }
    .lab-controls .control-group {
        width: 100% !important;
    }

    /* 11. Sponsor Kaydırma Hızı Mobilde Dengelenir */
    .sponsor-track {
        animation: scroll 15s linear infinite !important;
    }

    /* 12. Google Harita Boyutu Mobilde Orantılanır */
    .map-container iframe {
        height: 300px !important;
        border-radius: 10px !important;
    }
}