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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Hamburger Menü */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: #003366;
    padding: 10px;
    border-radius: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.sidebar {
    width: 250px;
    background-color: #003366;
    color: #fff;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100vh;
    position: fixed;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo img {
    width: 100px;
    height: auto;
}

.logo-text {
    margin-top: 15px;
    text-align: center;
}

.logo-text h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-text p {
    color: #f39c12;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.menu {
    list-style-type: none;
    padding-left: 0;
}

.menu li {
    margin-bottom: 20px;
}

.menu li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #f39c12;
}

.content {
    flex: 1;
    margin-left: 270px;
    padding: 20px;
    background-color: #ecf0f1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: calc(100% - 270px);
}

@media (max-width: 768px) {
    .content {
        margin-left: 0;
        margin-top: 0;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .content {
        margin-left: 0;
        margin-top: 0;
        padding: 10px;
    }
}

.title-section {
    background-color: #CCE6FF;
    padding: 70px 0;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#contentTitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 48px;
    text-align: center;
    color: #003366;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    padding: 0 20px;
    line-height: 1.2;
}

.page-description {
    max-width: 900px;
    margin: 25px auto 0 auto;
    padding: 0 30px;
    text-align: center;
}

.page-description p {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2c3e50;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 25px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.page-description p:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .page-description {
        padding: 0 15px;
    }
    .page-description p {
        font-size: 14px;
        padding: 15px 20px;
    }
}

/* Etkinlik listesi */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 320px;
        height: 100dvh; /* iPhone Safari için gerçek ekran boyu */
        /* Fallback */
        height: 100vh;
        z-index: 999;
        transition: left 0.3s ease;
        background: #003366;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .content {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        padding: 15px;
        display: flex;
        flex-direction: column;
    }
    
    .title-section {
        position: relative;
        padding: 30px 0;
        width: 100%;
    }
    
    .footer {
        margin-left: 0;
        width: 100%;
    }
    
    #contentTitle {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .page-description {
        padding: 0 15px;
    }
    
    .page-description p {
        font-size: 14px;
        padding: 15px 20px;
    }
    
    /* Mobil grid düzenlemesi */
    .explore-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    .event-card {
        padding-top: 60%;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .event-details h3 {
        font-size: 16px;
    }
    
    .event-details p {
        font-size: 12px;
    }
    
    .event-date {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .event-place {
        font-size: 9px;
        padding: 4px 8px;
        max-width: 120px;
    }
    
    /* Sayfalama düzenlemesi */
    .pagination-container {
        width: 100%;
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .hamburger {
        top: 15px;
        left: 15px;
    }
    
    .sidebar {
        width: 320px;
        height: 100dvh; /* iPhone Safari için gerçek ekran boyu */
        /* Fallback */
        height: 100vh;
        left: -320px;
    }
    
    .content {
        margin-left: 0;
        margin-top: 0;
        padding: 10px;
        display: flex;
        flex-direction: column;
    }
    
    .title-section {
        position: relative;
        padding: 30px 0;
        width: 100%;
    }
    
    .footer {
        margin-left: 0;
        width: 100%;
    }
    
    #contentTitle {
        font-size: 24px;
        padding: 0 10px;
    }
    
    .page-description p {
        font-size: 13px;
        padding: 12px 15px;
    }
    
    /* Mobil grid düzenlemesi */
    .explore-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
        margin-top: 15px;
        width: 100%;
    }
    
    .event-card {
        padding-top: 60%;
        margin-bottom: 12px;
        width: 100%;
    }
    
    .event-details h3 {
        font-size: 14px;
    }
    
    .event-details p {
        font-size: 11px;
    }
    
    .event-date {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .event-place {
        font-size: 8px;
        padding: 3px 6px;
        max-width: 100px;
    }
    
    /* Sayfalama düzenlemesi */
    .pagination-container {
        width: 100%;
        padding: 15px 10px;
    }
}

.event-card {
    background-color: #aee4f6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    width: 100%;
    padding-top: 100%;
}

.event-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 51, 102, 0.9);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    font-family: 'Poppins', Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-place {
    position: absolute;
    top: 45px;
    right: 10px;
    background-color: rgba(168, 248, 255, 0.9);
    color: #003366;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    font-family: 'Poppins', Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 150px;
    word-wrap: break-word;
    text-align: center;
}

.event-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card:hover {
    transform: scale(1.05);
}

.event-details {
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 0 0 10px 10px;
}

.event-details h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.event-details p {
    font-size: 14px;
    color: #7f8c8d;
}

/* Modal Pencere (Sade) */
.event-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 48, 102, 0.25);
    z-index: 1000;
    overflow: hidden;
    font-family: 'Poppins', Arial, sans-serif;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 950px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 24px rgba(0, 48, 102, 0.10);
    border: 1px solid #e3f0ff;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001;
    animation: slideIn 0.3s ease;
    box-sizing: border-box;
    align-items: flex-start;
    text-align: left;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 768px) {
    .event-modal {
        padding: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-content {
        flex-direction: column;
        width: 92%;
        max-width: none;
        padding: 16px;
        height: 88vh;
        max-height: 88vh;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 12px;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .modal-left {
        width: 100%;
        text-align: center;
        flex-shrink: 0;
        margin-bottom: 12px;
    }
    
    .modal-left img {
        width: 100%;
        max-width: 100%;
        height: 160px;
        margin-bottom: 0;
        object-fit: cover;
        border-radius: 8px;
        box-sizing: border-box;
    }
    
    .modal-right {
        width: 100%;
        padding-left: 0;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 1;
        overflow-y: visible;
        min-height: auto;
        justify-content: flex-start;
        min-width: 250px;
        align-items: stretch;
        position: relative;
        flex-wrap: nowrap;
    }
    
    .modal-right h3 {
        font-size: 16px;
        margin-bottom: 6px;
        color: #003366;
        font-weight: 600;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
        text-align: left;
        width: 100%;
        max-width: 100%;
        min-width: 250px;
    }
    
    .modal-right p {
        font-size: 12px;
        margin-bottom: 4px;
        color: #00509e;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
        text-align: left;
        max-width: 100%;
    }
    
    #modalTarih {
        font-size: 10px;
        padding: 4px 8px;
        margin-bottom: 6px;
        word-wrap: break-word;
        line-height: 1.2;
        text-align: left;
        white-space: normal;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    #modalKonum {
        font-size: 10px;
        padding: 4px 8px;
        margin-bottom: 6px;
        word-wrap: break-word;
        line-height: 1.2;
        text-align: left;
        white-space: normal;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    #modalLongDesc {
        font-size: 11px;
        line-height: 1.4;
        margin-top: 8px;
        padding-top: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 1;
        min-height: auto;
        text-align: left;
        white-space: pre-line;
        max-width: 100%;
        margin-bottom: 15px;
        display: block;
        height: auto;
        max-height: none;
        overflow: visible;
        position: relative;
    }
    
    .apply-btn {
        font-size: 13px;
        padding: 8px 20px;
        margin-top: 0;
        align-self: center;
        width: auto;
        min-width: 140px;
        max-width: 200px;
        flex-shrink: 0;
        border-radius: 20px;
        font-weight: 600;
        display: block;
        position: relative;
        z-index: 10;
        clear: both;
        float: none;
    }
    
    .close-btn {
        font-size: 24px;
        top: 8px;
        right: 8px;
        z-index: 1002;
        position: absolute;
    }
}

@media (max-width: 480px) {
    .event-modal {
        padding: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        padding: 12px;
        height: 82vh;
        max-height: 82vh;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 10px;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .modal-left {
        width: 100%;
        text-align: center;
        flex-shrink: 0;
        margin-bottom: 10px;
    }
    
    .modal-left img {
        width: 100%;
        max-width: 100%;
        height: 120px;
        margin-bottom: 0;
        object-fit: cover;
        border-radius: 6px;
        box-sizing: border-box;
    }
    
    .modal-right {
        width: 100%;
        padding-left: 0;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
        overflow-y: visible;
        min-height: auto;
        justify-content: flex-start;
        min-width: 200px;
        align-items: stretch;
        position: relative;
        flex-wrap: nowrap;
    }
    
    .modal-right h3 {
        font-size: 14px;
        margin-bottom: 4px;
        color: #003366;
        font-weight: 600;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
        text-align: left;
        width: 100%;
        max-width: 100%;
        min-width: 200px;
    }
    
    .modal-right p {
        font-size: 11px;
        margin-bottom: 3px;
        color: #00509e;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
        text-align: left;
        max-width: 100%;
    }
    
    #modalTarih {
        font-size: 9px;
        padding: 3px 6px;
        margin-bottom: 4px;
        word-wrap: break-word;
        line-height: 1.1;
        text-align: left;
        white-space: normal;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    #modalKonum {
        font-size: 9px;
        padding: 3px 6px;
        margin-bottom: 4px;
        word-wrap: break-word;
        line-height: 1.1;
        text-align: left;
        white-space: normal;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    #modalLongDesc {
        font-size: 10px;
        line-height: 1.3;
        margin-top: 6px;
        padding-top: 6px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 1;
        min-height: auto;
        text-align: left;
        white-space: pre-line;
        max-width: 100%;
        margin-bottom: 12px;
        display: block;
        height: auto;
        max-height: none;
        overflow: visible;
        position: relative;
    }
    
    .apply-btn {
        font-size: 11px;
        padding: 6px 16px;
        margin-top: 0;
        align-self: center;
        width: auto;
        min-width: 120px;
        max-width: 180px;
        flex-shrink: 0;
        border-radius: 18px;
        font-weight: 600;
        display: block;
        position: relative;
        z-index: 10;
        clear: both;
        float: none;
    }
    
    .close-btn {
        font-size: 20px;
        top: 5px;
        right: 5px;
        z-index: 1002;
        position: absolute;
    }
}
.modal-left img {
    width: 220px;
    height: 220px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 80, 158, 0.08);
    border: 1px solid #e3f0ff;
}
.modal-right {
    width: 55%;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: 'Poppins', Arial, sans-serif;
    text-align: left;
    min-width: 300px;
    align-items: stretch;
    position: relative;
    flex-wrap: nowrap;
    min-height: auto;
}
.modal-right h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #003366;
    font-family: 'Poppins', Arial, sans-serif;
    width: 100%;
    max-width: 100%;
    min-width: 300px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.modal-right p {
    font-size: 15px;
    margin-bottom: 8px;
    color: #00509e;
    line-height: 1.5;
    font-family: 'Poppins', Arial, sans-serif;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#modalTarih {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-bottom: 12px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #00509e;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#modalKonum {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-bottom: 12px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #28a745;
    display: none;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#modalLongDesc {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e3f0ff;
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-line;
    text-align: left;
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
    display: block;
    position: relative;
}

.apply-btn {
    background: #00509e;
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
    align-self: center;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 500;
    display: block;
    position: relative;
    z-index: 10;
    clear: both;
    float: none;
}
.apply-btn:hover {
    background: #003366;
}
.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 28px;
    color: #00509e;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}
.close-btn:hover {
    color: #003366;
}
/* Mini Başvuru Modalı (Sade ve küçük) */
.mini-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 48, 102, 0.18);
    align-items: center;
    justify-content: center;
}
.mini-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 28px 18px 20px 18px;
    min-width: 240px;
    max-width: 340px;
    box-shadow: 0 4px 24px rgba(0, 48, 102, 0.12);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    font-family: 'Poppins', Arial, sans-serif;
}
.mini-modal-content h4 {
    color: #003366;
    font-size: 18px;
    margin-bottom: 18px;
    text-align: center;
}
.mini-modal-content label {
    color: #003366;
    font-size: 15px;
    margin-bottom: 4px;
    font-family: 'Poppins', Arial, sans-serif;
}
.mini-modal-content input[type="text"],
.mini-modal-content input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 12px;
    border-radius: 7px;
    border: 1px solid #aee4f6;
    font-size: 15px;
    font-family: 'Poppins', Arial, sans-serif;
    background: #f8fbff;
    transition: border 0.2s;
}
.mini-modal-content input[type="text"]:focus,
.mini-modal-content input[type="password"]:focus {
    border: 1px solid #00509e;
    outline: none;
}
.mini-modal-content button[type="submit"] {
    background: #00509e;
    color: #fff;
    border: none;
    padding: 12px 0;
    display: block;
    width: 100%;
    margin: 16px auto 0 auto;
    font-size: 16px;
    border-radius: 18px;
    cursor: pointer;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 500;
    transition: background 0.2s;
}
.mini-modal-content button[type="submit"]:hover {
    background: #003366;
}
.mini-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 22px;
    color: #00509e;
    cursor: pointer;
    transition: color 0.2s;
}
.mini-close:hover {
    color: #003366;
}
/* Başvuru Formu */
.apply-form {
    background: #e3f0ff;
    border-radius: 18px;
    padding: 24px 20px 18px 20px;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(0, 80, 158, 0.08);
    border: 1.5px solid #aee4f6;
    font-family: 'Poppins', Arial, sans-serif;
    animation: fadeIn 0.4s;
}
.apply-form h4 {
    color: #00509e;
    font-size: 22px;
    margin-bottom: 18px;
    font-family: 'Poppins', Arial, sans-serif;
    text-align: center;
}
.apply-form label {
    color: #003366;
    font-size: 16px;
    font-family: 'Poppins', Arial, sans-serif;
}
.apply-form input[type="text"],
.apply-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1.5px solid #aee4f6;
    font-size: 17px;
    font-family: 'Poppins', Arial, sans-serif;
    background: #fff;
    transition: border 0.2s;
}
.apply-form input[type="text"]:focus,
.apply-form input[type="password"]:focus {
    border: 1.5px solid #00509e;
    outline: none;
}
.apply-form button[type="submit"] {
    background: linear-gradient(90deg, #00509e 0%, #aee4f6 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 8px;
}
.apply-form button[type="submit"]:hover {
    background: linear-gradient(90deg, #003366 0%, #aee4f6 100%);
    color: #fff;
    transform: scale(1.04);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Arka plan bulanık efekti */
body.blur {
    filter: blur(5px);
    pointer-events: none;
}

/* Modal açıldığında sadece modal etkilenmesin diye */
body.modal-open {
    overflow: hidden;
}

/* Modal açıldığında sadece body bulanık olacak, modal hariç */
.event-modal.active ~ .container {
    filter: blur(5px);
    pointer-events: none;
}

/* Footer sadece content kadar geniş olsun ve sidebar'a dokunmasın */
.footer {
    margin-left: 250px;
    width: calc(100% - 250px);
    background-color: #ffffff;
    color: #003366;
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    border-top: 2px solid #dce3ea;
}

@media (max-width: 768px) {
    .footer {
        margin-left: 0;
        width: 100%;
        padding: 30px 15px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-section {
        min-width: auto;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 20px 10px 10px;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-section p {
        font-size: 14px;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #003366;
    border-bottom: 1px solid #dce3ea;
    padding-bottom: 5px;
}

.footer-section p {
    margin: 5px 0;
    color: #4a4a4a;
    font-size: 15px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #7a8a99;
    border-top: 1px solid #dce3ea;
    padding-top: 10px;
}

.social-icons i {
    font-size: 18px;
    margin-right: 10px;
    color: #003366;
    cursor: pointer;
    transition: color 0.3s;
}

.social-icons i:hover {
    color: #f39c12;
}

/* Sayfalama Stilleri */
.pagination-container {
    width: 100%;
    padding: 30px 20px;
    background-color: #ecf0f1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-item {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 2px;
    background-color: #ffffff;
    color: #003366;
    text-decoration: none;
    border: 2px solid #003366;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.pagination-item:hover:not(.disabled) {
    background-color: #003366;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.pagination-item.active {
    background-color: #003366;
    color: #ffffff;
    border-color: #003366;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.2);
}

.pagination-item.disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .pagination-container {
        margin-left: 0;
        width: 100%;
        padding: 20px 10px;
    }
    
    .pagination-item {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 35px;
    }
}

.menu li a.active {
    color: #FFA500;
}
.menu li a {
    padding-left: 10px;
}
.community-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}
.community-card {
    text-decoration: none;
    color: inherit;
}
.card-content {
    background-color: white;
    border: 2px solid #003366;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.card-content:hover {
    transform: translateY(-5px);
}
.card-content img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}
.card-content h3 {
    color: #003366;
    margin: 0;
    font-size: 18px;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}
.pagination a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}
.pagination a:hover {
    text-decoration: underline;
}
.current-page {
    color: #003366;
    font-weight: bold;
}