/* --- Google Fonts & Renk Paleti --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@700&family=Playlist+Script&display=swap');

:root {
    --primary-color: #3d557c;
    --secondary-color: #c99c41;
    --secondary-hover: #9b6c04;
    --dark-text: #212121;
    --light-text: #FFFFFF;
    --background-light: #f8f9fa;
    --background-dark: #2c3e50;
}

/* --- Genel Sayfa Ayarları ve Resetleme --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-text);
    color: var(--dark-text);
    line-height: 1.6;
    padding-top: 85px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Lato', sans-serif;
}

/* --- Header & Navigasyon --- */
header {
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 85px;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

header.transparent-nav {
    background-color: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

@media (hover: hover) {
    header.transparent-nav .primary-navigation a {
        color: var(--light-text);
    }
    .primary-navigation a:hover {
        color: var(--light-text);
        background-color: var(--primary-color);
    }
}

.primary-navigation {
    display: flex;
    gap: 10px;
}

.primary-navigation a {
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: var(--dark-text);
    transition: color 0.3s, background-color 0.3s;
    border-radius: 50px;
}

/* --- MOBİL MENÜ BUTONU --- */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    z-index: 9999;
    right: 20px;
    top: 15px;
    background-repeat: no-repeat;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    cursor: pointer;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(61, 85, 124)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.mobile-nav-toggle[aria-expanded="true"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(61, 85, 124)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6l18 18M24 6L6 24'/%3e%3c/svg%3e");
}
header.transparent-nav .mobile-nav-toggle {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
header.transparent-nav .mobile-nav-toggle[aria-expanded="true"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6l18 18M24 6L6 24'/%3e%3c/svg%3e");
}
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- ANA SAYFA HERO BÖLÜMÜ --- */
.hero { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; position: relative; overflow: hidden; color: var(--light-text); margin-top: -85px; }
.hero-video-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); z-index: -1; }
.hero-content { width: 100%; padding: 0 20px; }
.main-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: clamp(3.5rem, 10vw, 7rem); margin: 0; letter-spacing: 2px; }
.legacy-subtitle { font-family: 'Playlist Script', cursive; font-size: clamp(3rem, 9vw, 6rem); margin: -20px 0 20px 0; font-weight: 400; display: block; }
.hero-hashtag { font-family: 'Montserrat', sans-serif; color: rgba(255, 255, 255, 0.8); font-size: 1rem; letter-spacing: 3px; text-transform: uppercase; margin-top: 40px; }
.gradient-text { background: linear-gradient(45deg, var(--secondary-color), var(--secondary-hover), #f9d77ee7); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient-animation 5s linear infinite; }
.countdown { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.time-unit { background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(5px); border-radius: 10px; padding: 10px 20px; text-align: center; border: 1px solid rgba(255,255,255,0.1); }
.time-unit span { font-family: 'Lato', sans-serif; font-size: 2.5rem; font-weight: 700; display: block; color: var(--light-text); }
.time-unit label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); }
#countdown.ended { background: var(--secondary-color); padding: 10px 20px; border-radius: 10px; color: var(--dark-text); font-size: 1.5rem; font-weight: bold; }

/* --- DİĞER SAYFA VE KART STİLLERİ --- */
.section { padding: 100px 5%; text-align: center; }
.section h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 3rem; margin-bottom: 20px; color: var(--primary-color);}
.section-light { background-color: var(--background-light); }
.main-content { padding: 60px 5%; background-color: white; flex: 1 0 auto; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 20px;
    margin: 0;
    color: var(--primary-color);
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}
.section-title p { font-size: 1.2rem; color: #666; margin-top: 20px; }
.section p { font-size: 1.1rem; max-width: 800px; margin: 30px auto; }
.content-section { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.content-section.visible { opacity: 1; transform: translateY(0); }
.cta-button { background-color: var(--secondary-color); color: var(--light-text); padding: 15px 35px; text-decoration: none; font-size: 1.1rem; font-weight: 700; border-radius: 50px; transition: all 0.4s ease; border: 2px solid transparent; box-shadow: 0 5px 20px rgba(0,0,0,0.2); display: inline-block; }
.cta-button:hover { background-color: transparent; border-color: var(--secondary-color); color: var(--secondary-color); transform: translateY(-5px); }
.cta-button.secondary { background-color: var(--primary-color); }
.cta-button.secondary:hover { border-color: var(--primary-color); color: var(--primary-color); }

.team-grid, .committee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.team-card, .committee-card { position: relative; background-color: var(--light-text); border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); text-align: center; padding: 30px 20px; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Daha belirgin gölge */
    border: 1px solid #eee;}
.team-card:hover, .committee-card:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.team-card img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 5px solid var(--background-light); margin-bottom: 20px; transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Geçiş efektleri */
    opacity: 0.9; }
    .team-card:hover img {
    transform: scale(1.05); /* Hoverda hafif büyüme */
    opacity: 1; /* Hoverda tam opaklık (isteğe bağlı) */
}
.team-card h3 {
    font-size: 1.9rem; /* Biraz daha büyük başlık */
    color: var(--primary-color); /* Başlık rengi */
}

.team-card h4 {
    color: #777; /* Rol rengi */
    font-weight: normal; /* Daha hafif rol yazısı */
    font-style: italic; /* Eğik rol yazısı (isteğe bağlı) */
}   
.team-card p { font-size: 0.95rem; color: #555; line-height: 1.5; }
.committee-card { padding: 30px; display: flex; flex-direction: column; border-top: 5px solid var(--primary-color); }
.committee-card .card-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.icon-image { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.committee-card h3 { font-size: 1.6rem; margin: 0 0 15px 0; flex-grow: 1; font-family: 'Montserrat', sans-serif; font-weight: 700; }
.committee-card h4 { font-size: 0.9rem; color: #888; text-transform: uppercase; letter-spacing: 1px; margin: 0; }
.committee-card p { font-size: 1rem; color: #555; margin: 5px 0 25px 0; flex-grow: 1; }
.committee-tag { position: absolute; top: 15px; right: 15px; background-color: var(--primary-color); color: var(--light-text); padding: 4px 10px; border-radius: 5px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.study-guide-button { background-color: var(--secondary-color); color: var(--light-text); padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: 700; text-align: center; transition: background-color 0.3s, transform 0.3s; margin-top: auto; display: inline-block; }
.study-guide-button:hover { background-color: var(--secondary-hover); transform: scale(1.05); }
.study-guide-button.coming-soon { background-color: #aaa; cursor: not-allowed; }
.study-guide-button.coming-soon:hover { background-color: #999; transform: none; }
.tabs-container { max-width: 900px; margin: 0 auto; background: var(--light-text); border-radius: 10px; box-shadow: 0 5px 25px rgba(0,0,0,0.1); overflow: hidden; }
.tab-buttons { display: flex; background-color: var(--background-light); }
.tab-button { flex-grow: 1; padding: 15px 10px; border: none; background-color: transparent; font-family: 'Lato', sans-serif; font-size: 0.9rem; font-weight: 700; color: #888; cursor: pointer; transition: all 0.3s ease; border-bottom: 3px solid transparent; }
.tab-button:hover { background-color: #e9ecef; color: var(--dark-text); }
.tab-button.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.tab-content { padding: 20px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; text-align: center; }
.tab-pane h3 { font-size: 1.5rem; color: var(--dark-text); margin-top: 0; margin-bottom: 20px; font-family: 'Montserrat', sans-serif; font-weight: 700; }
.form-embed-container { position: relative; width: 100%; padding-top: 120%; height: 0; overflow: hidden; }
.form-embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.coming-soon-placeholder { max-width: 600px; margin: 80px auto 0 auto; padding: 40px; border: 2px dashed #dddddd; border-radius: 15px; background-color: #fafafa; }
.coming-soon-placeholder h3 { font-family: 'Montserrat', sans-serif; font-size: 2.2rem; color: var(--primary-color); margin: 0 0 15px 0; }
.coming-soon-placeholder p { font-size: 1.2rem; color: #777; margin: 0; line-height: 1.6; }
.letter-section { background-color: var(--background-light); }
.letter-container { max-width: 800px; margin: 0 auto; text-align: left; }
.letter-text h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 2.5rem; color: var(--primary-color); margin-bottom: 25px; text-align: center; }
.letter-text p { color: #555; line-height: 1.8; margin-bottom: 20px; }
.signature { margin-top: 30px; text-align: right; }
.signature .name { font-family: 'Playlist Script', cursive; font-size: 2.5rem; color: var(--dark-text); display: block; }
.signature .title { font-family: 'Lato', sans-serif; font-size: 1rem; color: #777; display: block; }
.venue-section { padding-top: 80px; padding-bottom: 80px; text-align: center; }
.venue-container { max-width: 900px; margin: 0 auto; }
.venue-container h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.venue-details { text-align: center; }
.venue-details p { font-size: 1.2rem; color: #555; margin: 0; margin-bottom: 20px; }
.map-link { display: inline-block; background-color: var(--primary-color); color: var(--light-text); padding: 12px 28px; text-decoration: none; font-weight: 700; border-radius: 50px; transition: all 0.3s ease; border: 2px solid var(--primary-color); }
.map-link:hover { background-color: transparent; color: var(--primary-color); transform: translateY(-3px); }
.map-link i { margin-right: 8px; }

/* --- Footer --- */
footer { background-color: var(--background-dark); color: white; text-align: center; padding: 40px 20px; position: relative; z-index: 2; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.contact-info { display: flex; align-items: center; gap: 10px; }
.social-links a { color: var(--light-text); font-size: 1.8rem; margin-left: 15px; transition: color 0.3s, transform 0.3s; }
.social-links a:hover { color: var(--secondary-color); transform: scale(1.1); }

/* --- Animasyonlar --- */
@keyframes gradient-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Daha küçük minimum genişlik */
    }
}
/* ================================================================
   SSS (FAQ) Akordiyon Bölümü
================================================================ */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* Animasyonun düzgün çalışması için önemli */
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    color: var(--dark-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

/* Soruya tıklandığında (aktif olduğunda) stil */
.faq-question.active {
    color: var(--primary-color);
}

/* Aç/Kapat ikonu için (+) */
.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease-out;
    font-weight: 400;
}

/* Aktif olduğunda ikonun (-) haline dönüşmesi */
.faq-question.active::after {
    content: '−';
    transform: translateY(-2px); /* Dikey hizalama için küçük ayar */
}

.faq-answer {
    max-height: 0; /* Başlangıçta kapalı */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #fff;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* ================================================================
   Yeni Venue / Mekan Bölümü Stilleri
================================================================ */
.venue-section {
 padding: 100px 20px;
 text-align: center;
 background-color: var(--background-light);
}

.venue-container {
 max-width: 800px;
 margin: 0 auto;
}

.venue-title-wrapper {
 margin-bottom: 30px;
}

.venue-main-title {
 font-family: 'Montserrat', sans-serif;
 font-weight: 700;
 font-size: 3.5rem; /* "Venue" başlığını büyüttük */
 color: var(--primary-color);
 margin: 0;
 line-height: 1.1;
}

.venue-subtitle {
 font-family: 'Playlist Script', cursive; /* Sitedeki el yazısı fontunu kullandık */
 font-size: 3rem; /* Üniversite adının boyutu */
 color: var(--dark-text);
 margin: 5px 0 0 0;
 font-weight: 400;
}

.venue-details {
 text-align: center;
}

.venue-address {
 font-size: 1.1rem;
 color: #555;
 margin: 0 0 25px 0;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
}

.map-link {
 display: inline-block;
 background-color: var(--primary-color);
 color: var(--light-text);
 padding: 14px 35px; /* Butonu biraz büyüttük */
 text-decoration: none;
 font-weight: 700;
 border-radius: 50px;
 transition: all 0.3s ease;
 border: 2px solid var(--primary-color);
}

.map-link:hover {
 background-color: transparent;
 color: var(--primary-color);
 transform: translateY(-3px) scale(1.05); /* Hover efektini güçlendirdik */
}

.map-link i {
 margin-right: 8px;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
 .venue-main-title {
 font-size: 2.8rem;
 }
 .venue-subtitle {
 font-size: 2.2rem;
 }
}

/* ================================================================
  MOBİL UYUMLULUK
================================================================ */

@media (max-width: 768px) {
    body { padding-top: 70px; }
    header { height: 70px; padding: 0 20px; }
    .logo { height: 50px; }
    .mobile-nav-toggle { display: block; }
    
   .primary-navigation {
    /* Mevcut flex ayarlarınız kalsın */
    display: flex;
    flex-direction: column;
    padding: min(20vh, 10rem) 2rem;
    gap: 2rem;

    /* EZİLEMEZ KONUM VE BOYUT AYARLARI */
    position: fixed !important;
    top: 0 !important;
    left: 30% !important;
    right: 0 !important;
    bottom: 0 !important; /* Bütün pozisyonları garantiliyoruz */
    height: 100vh !important; /* Viewport Height (ekranın %100'ü) olarak zorluyoruz */
    
    background: var(--background-light) !important; 
    
    /* Animasyon ve katman ayarlarınız */
    transform: translateX(100%);
    transition: transform 350ms ease-out;
    z-index: 9998;
}
    .primary-navigation[data-visible="true"] {
        transform: translateX(0%);
    }
    .primary-navigation a {
        font-size: 1.2rem;
        color: var(--dark-text);
        transition: background-color 0.2s ease;
        border-radius: 5px;
    }
    .primary-navigation a:hover, .primary-navigation a:active {
        background-color: #e0e0e0;
    }
    
    .hero { margin-top: -70px; }
    .hero-video-bg { display: none; }
    .hero { background: linear-gradient(45deg, #2c3e50, #3d557c); }
    .hero-overlay { background-color: rgba(0, 0, 0, 0.3); }
    
    .main-title { font-size: clamp(2.8rem, 10vw, 3.5rem); }
    .legacy-subtitle { font-size: clamp(2.5rem, 8vw, 3rem); margin-top: -10px; }
    
    .countdown { gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
    .time-unit { padding: 8px 12px; }
    .time-unit span { font-size: 2rem; }
    .time-unit label { font-size: 0.6rem; }

    .main-content { padding: 40px 15px; }
    .section h2, .section-title h2 { font-size: 2.2rem; }
    .footer-content { flex-direction: column; justify-content: center; }
    .tabs-container { border-radius: 0; margin: 0 -15px; box-shadow: none; }
    .tab-buttons { flex-wrap: wrap; justify-content: center; }
    .tab-button { flex-grow: 0; flex-basis: 50%; font-size: 0.8rem; }
    .tab-content { padding: 20px 15px; }
    .form-embed-container { padding-top: 150%; }
}

/* ================================================================
   Komite Kartları Güncellemesi ve Modal Stilleri
================================================================ */

/* Kartların içindeki yeni açıklama paragrafı için */
.committee-card .committee-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 15px 0;
    flex-grow: 1; /* Butonun altta kalmasını sağlar */
}

/* Kartların içindeki yeni "Learn More" butonu */
.details-button {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    margin-top: auto; /* Kartın en altına iter */
    display: inline-block;
}

.details-button:hover {
    background-color: var(--secondary-hover);
    transform: scale(1.05);
}


/* Modal (Açılır Pencere) Stilleri */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    border: 1px solid #ccc;
    border-radius: 10px;
    z-index: 1001;
    background-color: white;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.close-button {
    cursor: pointer;
    border: none;
    background: none;
    font-size: 2rem;
    font-weight: bold;
    color: #777;
}

.close-button:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.modal-overlay {
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Modal Stilleri */
.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed; /* Sabit konumlandırma */
    z-index: 1; /* Diğer her şeyin üzerinde */
    padding-top: 50px; /* Üstten biraz boşluk */
    left: 0;
    top: 0;
    width: 100%; /* Tam genişlik */
    height: 100%; /* Tam yükseklik */
    overflow: auto; /* Gerekirse kaydırma */
    background-color: rgba(0,0,0,0.9); /* Siyah arka plan, biraz şeffaf */
}

/* Modal İçeriği (Resim) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    transition: transform 0.6s ease-in-out; /* Geçiş efekti */
}

/* Kapat Düğmesi */
.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Alt Yazı (isteğe bağlı) */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Animasyon (zoom) */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* Küçük ekranlar için stil */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

/* Overlay (arka plan karartma) */
.overlay {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8); /* Siyah, daha az şeffaf */
    z-index: 0; /* Modalın altında */
}

.overlay.active {
    display: block;
}

/* ================================================================
   YENİ EKLENEN BÖLÜM: Ekip Sayfası Fotoğraf Büyütme (Modal)
================================================================ */

.image-modal {
    display: none; /* Başlangıçta gizli */
    position: fixed; /* EKRANDA SABİT KALMASINI SAĞLAR (POP-UP İÇİN EN ÖNEMLİ KURAL) */
    z-index: 2000; /* Diğer her şeyin üzerinde olmasını sağlar */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.4s;
}

.image-modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 85%;
    max-height: 85vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoom 0.4s;
}

#modal-caption {
    margin: 15px auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    font-size: 1.2rem;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.image-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Modal Animasyonları */
@keyframes zoom {
    from {transform: translate(-50%, -50%) scale(0.8)} 
    to {transform: translate(-50%, -50%) scale(1)}
}

@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}