:root {
    --bg-body: #0f172a;
    --bg-glass: rgba(15, 23, 42, 0.95);
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --text-main: #f1f5f9;
    --text-sub: #94a3b8;
    --color-accent: #3b82f6;
    --color-accent-glow: rgba(59, 130, 246, 0.6);
    --color-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --cal-day-bg: rgba(255, 255, 255, 0.05);
    --transition-speed: 0.3s;
}

/* YENİ: AÇIK TEMA DAHA YUMUŞAK VE GÖZ YORMAYAN BİR GRİYE ÇEKİLDİ */
[data-theme="light"] {
    --bg-body: #f1f5f9;
    /* Göz yormayan yumuşak açık gri */
    --bg-glass: rgba(241, 245, 249, 0.95);
    --bg-card: #ffffff;
    /* Kartlar tam beyaz ki arka plandan ayrılsın */
    --bg-card-hover: #e2e8f0;
    --text-main: #0f172a;
    --text-sub: #475569;
    --color-accent: #1e3a8a;
    --color-accent-glow: rgba(30, 58, 138, 0.3);
    --color-border: #cbd5e1;
    /* Sınır çizgileri biraz daha belirgin */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --cal-day-bg: #f8fafc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

/* NAVBAR & LOGO */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-box-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none !important;
    border: none;
}

.univ-logo {
    border-right: 1px solid var(--color-border);
    padding-right: 0.8rem;
    border-radius: 0;
    filter: none;
}

.club-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-image {
    width: 4.2rem;
    height: 4.2rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* YAZILAR */
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-xs-sub {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.text-xl-bold {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-accent);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.nav-links {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-sub);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-accent);
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: none;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-body);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: 0.4s;
}

.mobile-nav-overlay.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-link {
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
}

.theme-checkbox {
    --toggle-size: 10px;
    width: 6em;
    height: 3em;
    background: linear-gradient(to right, #fdfbf7 50%, #0f172a 50%);
    background-size: 205%;
    transition: 0.4s;
    border-radius: 99em;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--color-border);
    appearance: none;
}

.theme-checkbox::before {
    content: "";
    width: 2.2em;
    height: 2.2em;
    position: absolute;
    top: 0.4em;
    left: 0.4em;
    background: linear-gradient(to right, #fdfbf7 50%, #0f172a 50%);
    background-size: 205%;
    background-position: 100%;
    border-radius: 50%;
    transition: 0.4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.theme-checkbox:checked::before {
    left: calc(100% - 2.2em - 0.4em);
    background-position: 0;
}

.theme-checkbox:checked {
    background-position: 100%;
}

/* HERO & ARKA PLAN */
.section-hero {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 6rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    /* Koyu tema için gradyan arka plan */
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.3) 0%, transparent 50%);
}

.hero-bg-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200vmax;
    height: 200vmax;
    transform: translate(-50%, -50%);
    background-image: url('yz logolar/cok-logolu-header.png');
    background-size: contain;
    background-position: center;
    opacity: 0.08;
    /* Koyu tema opaklığı */
    z-index: -1;
    animation: none;
}

/* YENİ: AÇIK TEMADA ANİMASYON İPTAL EDİLDİ */
[data-theme="light"] .hero-bg-overlay {
    opacity: 0.08;
    /* Görsel hafifçe belli olacak */
    animation: none;
    /* Dönme iptal! Sadece sabit duracak */
}

[data-theme="light"] .section-hero {
    background: none;
}

.heading-hero {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .heading-hero {
        font-size: 2.2rem;
    }

    .text-hero-sub {
        font-size: 1rem;
    }
}

.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--color-accent);
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.text-hero-sub {
    font-size: 1.25rem;
    color: var(--text-sub);
    margin-bottom: 2.5rem;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--color-accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

/* GENEL DÜZEN */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.heading-section {
    font-size: 2.2rem;
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.divider-gradient {
    width: 120px;
    height: 4px;
    margin: 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* İLETİŞİM */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* KARTLAR */
.info-card,
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: var(--shadow-soft);
    word-wrap: break-word;
    padding: 2.5rem;
}

.event-card,
.gallery-card,
.dept-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: var(--shadow-soft);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.info-card:hover,
.event-card:hover,
.gallery-card:hover,
.dept-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow);
    background: var(--bg-card-hover);
}

.event-content {
    padding: 1.5rem 2rem;
}

.gallery-title-box {
    padding: 1rem;
    text-align: center;
}

/* GALERİ & ETKİNLİK GRID */
.grid-events,
.grid-gallery {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
    cursor: pointer;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .grid-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .gallery-image {
        height: 160px;
    }

    .grid-events {
        grid-template-columns: 1fr;
    }
}

/* YÖNETİM */
.departments-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.dept-card {
    padding: 3.5rem 2rem 2rem 2rem;
    position: relative;
    overflow: visible;
    background: var(--bg-card);
}

.dept-title-badge {
    position: absolute;
    top: -1.2rem;
    left: 2rem;
    background: var(--color-accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.dept-members-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .dept-members-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

.member-item {
    text-align: center;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-body);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.member-item:hover .member-photo {
    transform: scale(1.15);
    border-color: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.member-name {
    color: var(--text-main);
    font-weight: 700;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* FOOTER */
.main-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 2rem;
    margin-top: 6rem;
}

.footer-sponsors {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-sponsors h4 {
    color: var(--text-sub);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsor-grid-mini {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
}

.sponsor-item-mini {
    width: 100px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: 0.3s;
}

.sponsor-item-mini img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sponsor-item-mini:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.footer-logo {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    margin-bottom: 1rem;
    background: transparent;
    padding: 0;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-grid> :first-child,
    .footer-grid> :last-child {
        grid-column: span 2;
        text-align: center;
    }
}

.footer-col h3,
.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 1.2rem;
}

.footer-col p,
.footer-col a {
    color: var(--text-sub);
    display: block;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: 0.2s;
}

.footer-col a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

/* SOSYAL MEDYA KARTI */
.social-icons-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    flex-shrink: 0;
    text-decoration: none;
    line-height: 0;
    font-size: 0;
}

/* YENİ HOVER EFEKTİ: İkon kaybolmuyor, renkleniyor ve etrafında çember çıkıyor */
.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 0 0 4px var(--color-accent-glow);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
    margin: 0;
    padding: 0;
}

.footer-copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--text-sub);
    font-size: 0.9rem;
}

/* DİĞER BİLEŞENLER */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-accent);
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.check-list {
    list-style: none;
    padding: 0;
    color: var(--text-sub);
    line-height: 2;
}

.check-list li::before {
    content: '✓';
    color: var(--color-accent);
    margin-right: 0.5rem;
    font-weight: bold;
}

.stats-box {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat-item {
    border-left: 3px solid var(--color-accent);
    padding-left: 1rem;
}

.stat-num {
    font-size: 2.5rem;
    color: var(--text-main);
    display: block;
    line-height: 1;
}

.stat-label {
    color: var(--text-sub);
    font-size: 0.9rem;
}

.sub-heading {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.team-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--text-sub);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-sub);
    padding-right: 2rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 0.5rem;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

.icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

/* MODALLAR VE LIGHTBOX */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.modal-content {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-sub);
    font-size: 1.5rem;
    cursor: pointer;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
    backdrop-filter: blur(5px);
}

.lightbox-nav:hover {
    background: var(--color-accent);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 0.5rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* TAKVİM */
.calendar-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: 1.5rem;
    overflow-x: auto;
}

.calendar-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-month-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 0;
}

.calendar-nav-btns button {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, minmax(40px, 1fr));
    text-align: center;
    color: var(--text-sub);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(40px, 1fr));
    gap: 5px;
}

.calendar-day {
    min-height: 80px;
    padding: 5px;
    border-radius: 8px;
    background: var(--cal-day-bg);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
    transition: 0.3s;
    position: relative;
}

.calendar-day:hover {
    transform: translateY(-3px);
    z-index: 2;
    border-color: var(--color-accent);
}

.calendar-day-today {
    border: 2px solid var(--color-accent);
}

.has-event-purple {
    background-color: rgba(168, 85, 247, 0.25) !important;
    border: 1px solid #a855f7;
}

.has-event-blue {
    background-color: rgba(59, 130, 246, 0.25) !important;
    border: 1px solid #3b82f6;
}

.has-event-yellow {
    background-color: rgba(234, 179, 8, 0.25) !important;
    border: 1px solid #eab308;
}

.has-event-red {
    background-color: rgba(239, 68, 68, 0.25) !important;
    border: 1px solid #ef4444;
}

.calendar-event-text {
    font-size: 0.65rem;
    font-weight: bold;
    margin-top: auto;
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-legend {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-sub);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.purple {
    background: #a855f7;
}

.legend-dot.blue {
    background: #3b82f6;
}

.legend-dot.yellow {
    background: #eab308;
}

.legend-dot.red {
    background: #ef4444;
}

/* --- TAKVİM MOBİL OPTİMİZASYONU (Sıfır Kaydırma Hedefi) --- */
@media (max-width: 768px) {
    .calendar-wrapper {
        padding: 1rem;
        /* Kutunun kendi iç boşluğunu kıstık */
        border-radius: 1rem;
    }

    .calendar-header-row {
        margin-bottom: 1rem;
    }

    .calendar-month-title {
        font-size: 1.2rem;
        /* Başlığı biraz küçülttük */
    }

    .calendar-nav-btns button {
        font-size: 1.2rem;
    }

    .calendar-days-header {
        font-size: 0.75rem;
        /* Gün isimlerini küçülttük */
        margin-bottom: 0.25rem;
    }

    .calendar-grid {
        gap: 3px;
        /* Günler arasındaki boşluğu azalttık */
    }

    .calendar-day {
        min-height: 50px;
        /* KRİTİK: Gün kutularının yüksekliğini yarıya indirdik */
        padding: 2px;
        border-radius: 4px;
        font-size: 0.85rem;
        /* Sayı boyutunu küçülttük */
    }

    .calendar-event-text {
        font-size: 0.5rem;
        /* Etkinlik yazısını mikroskobik ama okunur yaptık */
        margin-top: 1px;
    }

    .calendar-legend {
        margin-top: 1rem;
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .legend-dot {
        width: 8px;
        height: 8px;
    }
}