@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

/* style.css dosyasının en başına ekleyin */

html, body {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #f0f0f0;
    --background-color: #0c0c0c;
    --text-color: #e0e0e0;
    --accent-color: #d4a373;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */


.header {
    position: absolute; /* Bu satır zaten vardı */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; /* DİĞER TÜM ELEMENTLERİN ÜSTÜNE TAŞIR */
    padding: 1.5rem 0;
    position: relative; /* z-index'in güvenilir çalışması için eklendi */
}

.navbar {
    display: flex;
    align-items: center; /* Tüm öğeleri (logo, linkler, kullanıcı) dikeyde ortalar */
    padding: 0 2rem; /* Kenarlara yapışmaması için sağdan ve soldan boşluk */
    height: 3%; /* Header için sabit bir yükseklik belirleyelim */
    width: 100%;
    box-sizing: border-box; /* Padding'in genişliği etkilememesi için */
}

.nav-links {
    flex-grow: 1; /* Bu en önemli kural: Ortadaki menünün kalan tüm boşluğu kaplamasını sağlar */
    display: flex;
    justify-content: center; /* Kendi içindeki linkleri (li elementlerini) ortalar */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Logo ve kullanıcı bölümünün, ekran daraldığında sıkışıp küçülmesini engeller */
.logo, #user-section {
    flex-shrink: 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}


.nav-links li {
    margin: 0 1.5rem;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.profile-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)), url('images/main_bc_image.png'); /* Arka plan resminizi buraya ekleyin */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--secondary-color);
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: #ddd;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Content Section */
.content-section {
    padding: 8rem 0;
    background-color: #fff;
    color: #333;
}

.content-row {
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
    gap: 4rem;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Events Section */
.events-section {
    padding: 8rem 0;
    background-color: #fff;
    color: #333;
    text-align: center;
}

.events-section h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card h3 {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    font-size: 1.2rem;
}

.event-card a {
    display: inline-block;
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.event-card a i {
    margin-left: 0.5rem;
}

/* Footer */
.footer {
    background-color: #fff;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #aaa;
    font-size: 0.9rem;
}

.social-icons a {
    color: #aaa;
    margin: 0 0.8rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* Kullanıcı karşılama mesajı */
.welcome-message {
    color: var(--secondary-color);
    font-weight: 500;
    margin-right: 1rem;
}

/* Çıkış Yap linki */
.nav-link-logout {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--secondary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link-logout:hover {
    background-color: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

/* Header'daki user-section div'inin hizalanması için */
#user-section {
    display: flex;
    align-items: center;
}

/* Duyurular Sayfasına Özel Stiller */

/* Aktif menü linkini belirginleştirme */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Duyurular Hero Alanı */
.hero-announcements {
    height: 60vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/duyurular.png'); /* Duyurular sayfası için arka plan resmi */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Duyurular Bölümü */
.announcements-section {
    padding: 6rem 0;
    background-color: #f9f9f9; /* Açık bir arka plan rengi */
}

.announcements-grid {
    display: grid;
    grid-template-columns: 1fr; /* Tek sütunlu başlangıç */
    gap: 3rem;
}

.announcement-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex; /* Resmi sola, içeriği sağa almak için */
    flex-direction: row;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.announcement-card img {
    width: 40%;
    object-fit: cover;
}

.card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    color: #333;
}

.card-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}

.card-meta .category {
    background-color: #eee;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    color: #555;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.card-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1; /* İçeriğin alt boşluğu doldurmasını sağlar */
    margin-bottom: 1.5rem;
}

.read-more {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    align-self: flex-start; /* Butonu sola hizalar */
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}


/* Sayfalama (Pagination) */
.pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.page-link {
    color: #333;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}


/* Etkinlikler Sayfasına Özel Stiller */

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-events {
    height: 60vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/etkinlikler.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.events-section {
    padding: 4rem 0;
}

.events-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

/* Yaklaşan Etkinlikler */
.upcoming-events {
    background-color: #fff;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.event-card {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    border: 1px solid #eee;
}

.event-card img {
    width: 45%;
    object-fit: cover;
}

.event-details {
    padding: 2.5rem;
    color: #333;
    display: flex;
    flex-direction: column;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #555;
}
.event-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }

.event-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.event-description {
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.apply-button {
    align-self: flex-start;
    padding: 0.8rem 2rem;
}

/* Geçmiş Etkinlikler */
.past-events {
    background-color: #f9f9f9;
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.past-event-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.past-event-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.past-event-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Modal (Pop-up) Stilleri */
.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fff;
    margin: 15vh auto;
    padding: 2.5rem;
    border-radius: 10px;
    max-width: 500px;
    position: relative;
    color: #333;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}
.close-button:hover { color: #000; }

#modal-title { font-size: 1.8rem; margin-bottom: 2rem; }
#event-name { background-color: #eee; cursor: not-allowed; }
.form-button { width: 100%; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; }
.form-group input { width: 100%; padding: 0.8rem; border-radius: 5px; border: 1px solid #ddd; }


/* Hakkımızda Sayfasına Özel Stiller */

/* Aktif menü linkini belirginleştirme */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Hakkımızda Hero Alanı */
.hero-about {
    height: 60vh; /* Ana sayfadan daha kısa bir hero alanı */
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('images/hakkimizda.png'); /* Buraya farklı bir arka plan resmi koyabilirsiniz */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Misyon & Vizyon Bölümü */
.mission-vision-section {
    padding: 6rem 0;
    background-color: var(--background-color);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-vision-section .card {
    background-color: #1a1a1a;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #2a2a2a;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mission-vision-section .card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.mission-vision-section .card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Hikayemiz Bölümü */
.story-section {
    padding: 6rem 0;
    background-color: #fff; /* Ana sayfadaki içerik bölümleriyle uyumlu */
    color: #333;
}

/* Yönetim Kurulu Bölümü */
.team-section {
    padding: 6rem 0;
    background-color: #f9f9f9; /* Hafif farklı bir arka plan rengi */
    color: #333;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%; /* Yuvarlak resimler için */
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.team-member p {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}


/* İletişim Sayfasına Özel Stiller */

/* Aktif menü linkini belirginleştirme */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* İletişim Hero Alanı */
.hero-contact {
    height: 60vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/iletisim2.png'); /* İletişim sayfası için farklı bir arka plan resmi */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* İletişim Bölümü Genel Yapı */
.contact-section {
    padding: 6rem 0;
    background-color: #fff;
    color: #333;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Sol sütun daha dar, sağ sütun daha geniş */
    gap: 4rem;
    align-items: start;
}

/* Sol Sütun: İletişim Bilgileri */
.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.contact-info p {
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #555;
}

.info-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.info-list i {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-right: 1rem;
    width: 25px;
    text-align: center;
}

.contact-social-icons {
    display: flex;
    gap: 1.5rem;
}

.contact-social-icons a {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.contact-social-icons a:hover {
    color: #000;
}


/* Sağ Sütun: Form */
.contact-form {
    background-color: #f9f9f9;
    padding: 2.5rem;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

.form-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

/* Harita Bölümü */
.map-section iframe {
    display: block; /* iframe altındaki olası boşluğu kaldırır */
}


/* Giriş ve Kayıt Sayfaları İçin Özel Stiller */

.hero-auth {
    height: 50vh; /* Diğer sayfalardan daha kısa bir hero alanı */
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('images/register.png'); /* Ana sayfadakiyle aynı resmi kullanabilirsiniz */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.auth-section {
    padding: 6rem 0;
    background-color: #f4f4f4;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: #333;
}

.auth-container h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

/* Mevcut form stillerini kullanıyoruz, bunlar iletişim sayfasından alınabilir */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #555; }
.form-group input { width: 100%; padding: 0.8rem 1rem; border: 1px solid #ddd; border-radius: 5px; font-family: 'Montserrat', sans-serif; font-size: 1rem; }
.form-button { width: 100%; padding: 1rem; font-size: 1.1rem; border: none; cursor: pointer; }

.auth-switch-link {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #555;
}

.auth-switch-link a {
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
}

.auth-switch-link a:hover {
    text-decoration: underline;
}

.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background-color: #fff; /* Arka plan rengi */
    -webkit-appearance: none; /* Tarayıcıların varsayılan ok ikonunu kaldırır (Chrome, Safari) */
    -moz-appearance: none; /* (Firefox) */
    appearance: none;
    /* Kendi okumuzu eklemek için */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: .65em auto;
}

/* Seçim yapılmamışkenki soluk rengi ayarlamak için */
.form-group select:required:invalid {
    color: #555;
}


/* Giriş sayfasındaki "Şifreni mi unuttun?" linki */
.form-group {
    position: relative; /* Bu, içindeki linki konumlandırmak için gerekli olabilir */
}

.forgot-password-link {
    text-align: right;
    font-size: 0.9em;
    margin-top: -0.8rem; /* Şifre kutusuna yaklaştırır */
    margin-bottom: 1.5rem; /* Altındaki butonla arasını açar */
}

.forgot-password-link a {
    color: #555;
    text-decoration: none;
}

.forgot-password-link a:hover {
    text-decoration: underline;
    color: #1a1a1a;
}

/* Şifremi unuttum sayfasındaki açıklama metni */
.form-description {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Onay sayfası stilleri */
.confirmation-container {
    max-width: 550px;
    margin: 0 auto;
    padding: 3rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    color: #333;
}

.confirmation-container .icon {
    font-size: 4rem;
    color: #28a745; /* Yeşil renk */
    margin-bottom: 1.5rem;
}

.confirmation-container h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.confirmation-container p {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #555;
}

.confirmation-container .btn {
    display: inline-block;
    width: auto;
    padding: 0.8rem 2rem;
}


/* style.css dosyasının en altına, @media bloğundan ÖNCE ekleyin */

/* style.css dosyasındaki eski .info-card vb. kuralları silip bunu yapıştırın */

/* YENİ VE ŞIK KART TASARIMI */
.card-list-container {
    display: grid;
    gap: 1.75rem;
}

.info-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border-left: 5px solid #0056b3; 
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}


.info-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
}

.info-card .card-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}
.info-card .card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card .card-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    position: relative;
    max-height: 100px; /* Metni kısaltma */
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Animasyon */
    margin: 0 0 1.5rem 0; /* DÜZELTME: Altındaki butonlarla arasına boşluk ekler */
}

.info-card .card-content p {
    margin-top: 0;
    margin-bottom: 1em;
}
.info-card .card-content ul, .info-card .card-content ol {
    padding-left: 20px;
    margin-bottom: 1em;
}


.info-card .card-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, white);
    transition: opacity 0.3s ease;
}

/* Kart genişlediğinde yapılacaklar */
.info-card.expanded .card-content {
    max-height: 1000px; /* İçerik ne kadar uzun olursa olsun sığması için büyük bir değer */
    transition: max-height 0.7s ease-in; /* Animasyon */
}

/* Kart genişlediğinde solma efektini kaldır */
.info-card.expanded .card-content::after {
    opacity: 0;
}

.info-card .card-action {
    margin-top: auto;
    display: flex; /* GÜNCELLEME: Butonları yan yana hizalamak için */
    justify-content: space-between; /* Biri sola, biri sağa yaslanır */
    align-items: center; /* Dikeyde ortalar */
}
.info-card .card-action a.read-more-link {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.info-card .card-action a.read-more-link:hover {
    color: #003d82;
}

.info-card .card-action .apply-button {
    padding: 0.5rem 1rem; /* Başvur butonunu biraz küçültebiliriz */
    font-size: 0.9rem;
}

.info-card .card-action a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer; /* Tıklanabilir olduğunu belirtir */
    transition: color 0.2s ease;
}

.info-card .card-action a:hover {
    color: #003d82;
}



.announcements-section > .container > h2,
.events-section > .container > h2,
.team-section > .container > h2 {
    color: #1a1a1a; /* Rengi siyaha yakın, koyu bir tona çevirir */
    margin-bottom: 4rem; /* Altındaki içerikle arasına net bir boşluk koyar */
    text-align: center; /* Başlığın her zaman ortalandığından emin olur */
    font-size: 2.5rem; /* Başlığı biraz daha vurgulu yapar */
}









/* style.css dosyasının en altına ekleyin (mevcut @media bloğu ile değiştirin) */

/* ========================================= */
/* DUYARLI TASARIM (RESPONSIVE) - TAM KAPSAMLI */
/* ========================================= */
/* style.css dosyasının en altına ekleyin (mevcut @media bloğu ile değiştirin) */

/* ========================================= */
/* DUYARLI TASARIM (RESPONSIVE) - SON HALİ   */
/* ========================================= */
/* style.css dosyasındaki mevcut @media bloğunu silip BUNUNLA DEĞİŞTİRİN */

@media (max-width: 768px) {

    /* --- Genel Tipografi ve Boşluklar --- */
    body { font-size: 16px; }
    .container { padding: 0 1.5rem; }
    h1, .hero-content h1 { font-size: 2.2rem; }
    h2, .text-content h2, .events-section h2, .team-section h2 { font-size: 1.75rem; }
    h3, .event-card h3, .card-title { font-size: 1.3rem; }
    p, a, li { font-size: 1rem; line-height: 1.6; }
    .content-section, .events-section, .mission-vision-section, .story-section, .team-section, .contact-section, .auth-section, .announcements-section { padding: 3rem 0; }

    /* --- Navigasyon / Header --- */
    .navbar { padding: 0 1.5rem; position: relative; }
    .logo { font-size: 1.1rem; z-index: 1002; }

    /* DÜZELTME: Navbar'ın sağ tarafını en sağa itmek için */
    .navbar-right {
        margin-left: auto; /* Bu sihirli satır, bu grubu (ikon + hamburger) en sağa iter */
    }
    
    /* DÜZELTME: Artık user-section'ı gizlemiyoruz! */
    /* #user-section { display: none; } <-- BU SATIR SİLİNDİ */

    .hamburger { display: block; cursor: pointer; z-index: 1001; }
    .hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: white; }
    .nav-links { position: fixed; left: -100%; top: 0; padding-top: 80px; gap: 0; flex-direction: column; background-color: rgba(26, 26, 26, 0.98); width: 100%; height: 100vh; text-align: center; transition: 0.3s; z-index: 1000; }
    .nav-links li { margin: 16px 0; }
    .nav-links.active { left: 0; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* DÜZELTME: Artık auth-link-mobile diye bir sınıfa ihtiyacımız kalmadı, çünkü JS'den sildik. */

    /* --- Ana Başlık (Hero) Alanı --- */
    .hero, .hero-about, .hero-contact, .hero-announcements, .hero-events, .hero-auth { height: 50vh; }
    .hero-content p { font-size: 1rem; max-width: 90%; margin-left: auto; margin-right: auto; }
    .hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
    .hero-buttons .btn { padding: 0.8rem 1.8rem; font-size: 0.9rem; width: 80%; max-width: 250px; }

    /* --- İçerik Kartları ve Bölümleri --- */
    .content-row, .content-row.reverse { flex-direction: column; gap: 2rem; text-align: center; }
    .mission-vision-grid { grid-template-columns: 1fr; gap: 2rem; }
    .info-card { padding: 1.5rem; } /* Kartların iç boşluğunu mobilde biraz azalt */
    .past-events-grid { grid-template-columns: 1fr; }

    /* --- Özel Sayfalar (İletişim, Formlar) --- */
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .auth-container, .confirmation-container { padding: 2rem 1.5rem; }
    .team-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; }




}

/* style.css dosyasının en altına ekleyin */

/* ========================================= */
/* EKSTRA KÜÇÜK EKRANLAR İÇİN DÜZELTMELER     */
/* ========================================= */

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem; /* Başlığı daha da küçült */
        line-height: 1.3; /* Satır yüksekliğini ayarla */
        margin-bottom: 0.8rem; /* Altındaki boşluğu azalt */
    }

    .hero-content p {
        font-size: 0.9rem; /* Paragrafı küçült */
        margin-bottom: 1.5rem; /* Altındaki boşluğu azalt */
    }

    .hero-buttons .btn {
        padding: 0.7rem 1.5rem; /* Butonları küçült */
    }
}



/* style.css dosyasının en altına, @media bloğundan önce ekleyin */

.nav-links a.active-page {
    font-weight: 700; /* Kalın yazı tipi */
    color: var(--primary-color); /* Rengini beyaz yaparak öne çıkar */
}

/* style.css dosyasının en altına, @media bloğundan önce ekleyin */

.nav-link-account {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    margin-right: 1.5rem; /* Çıkış Yap butonuyla arasına boşluk koyar */
    transition: color 0.3s ease;
}

.nav-link-account:hover {
    color: var(--primary-color);
}

/* Mobil için olan giriş linklerini masaüstünde gizle */
.auth-link-mobile {
    display: none;
}



/* style.css dosyasının en altına, @media bloğundan önce ekleyin */

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* İkonlar arası boşluk */
}



/* style.css dosyasının en altına, @media bloğundan ÖNCE ekleyin */

/* ANA SAYFA İÇİN YENİ KART TASARIMI */

/* 3 Sütunlu Grid Yapısı */
.card-grid-3-col {
    display: flex;
    justify-content: center; /* ✨ Sihirli satır: İçindeki öğeleri grup olarak yatayda ortalar */
    gap: 1.5rem;
    flex-wrap: wrap; /* Ekran daraldığında kartların alt satıra kaymasını sağlar */
}
.card-grid-3-col > .mini-card {
    flex-basis: 30%; /* Kartların temel genişliğini ayarlar (yaklaşık üçte bir) */
    min-width: 280px; /* Kartların çok fazla küçülmesini engeller */
}

/* Küçük ve Şık Kart Stili */
.mini-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.mini-card h4 { /* Daha küçük bir başlık kullanalım */
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
}

.mini-card .meta {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1rem;
}

.mini-card .content {
    flex-grow: 1; /* Kartın altındaki linke kadar olan boşluğu doldurur */
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    
    /* Metni 3 satırla sınırlandırıp sonuna ... koyma */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Gösterilecek satır sayısı */
    -webkit-box-orient: vertical;
}

.mini-card .action {
    margin-top: 1rem;
}

.mini-card .action a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
}