/* 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;
}

.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;
    padding-left: 10px;
}

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

.menu li a.active {
    color: #FFA500;
}

.content {
    flex: 1;
    margin-left: 270px;
    padding: 20px;
    background-color: #ecf0f1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-top: 190px;
}

.title-section {
    background-color: #CCE6FF;
    padding: 70px 0;
    margin-bottom: 30px;
    position: absolute;
    top: 0;
    left: 250px;
    right: 0;
    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;
}

/* Ana içerik alanı */
.main-content {
    flex: 1;
    padding: 20px;
}

.welcome-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.welcome-section h2 {
    color: #003366;
    font-size: 32px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.welcome-section p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Özellikler grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #003366;
}

.feature-card i {
    font-size: 48px;
    color: #003366;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #003366;
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.feature-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-btn {
    background: #003366;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
}

.feature-btn:hover {
    background: #002244;
    color: white;
}

/* İstatistikler bölümü */
.stats-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stats-section h2 {
    color: #003366;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #003366 0%, #00509e 100%);
    border-radius: 15px;
    color: white;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Footer */
.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;
}

.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 {
    margin-top: 15px;
}

.social-icons a {
    color: #003366;
    font-size: 18px;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* 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);
}

/* 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%;
    }
    
    .title-section {
        position: relative;
        left: 0;
        right: 0;
        margin-top: 80px;
    }
    
    .footer {
        margin-left: 0;
        width: 100%;
    }
    
    #contentTitle {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobil slider düzenlemeleri */
    .slider-section {
        padding: 30px 10px 40px 10px;
        min-height: 450px;
    }
    
    .slider-item {
        width: 100%;
        max-width: 350px;
        height: 400px;
    }
    
    .slider-img, .slider-img-wrapper {
        height: 280px;
    }
    
    .slider-info .slider-title {
        font-size: 1.2rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@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;
    }
    
    .title-section {
        position: relative;
        left: 0;
        margin-top: 70px;
        padding: 40px 0;
    }
    
    .footer {
        margin-left: 0;
        width: 100%;
    }
    
    .welcome-section,
    .feature-card,
    .stats-section {
        padding: 20px;
    }
    
    #contentTitle {
        font-size: 24px;
        padding: 0 10px;
    }
    
    /* Mobil slider düzenlemeleri */
    .slider-section {
        padding: 20px 5px 30px 5px;
        min-height: 400px;
    }
    
    .slider-item {
        width: 100%;
        max-width: 300px;
        height: 350px;
    }
    
    .slider-img, .slider-img-wrapper {
        height: 240px;
    }
    
    .slider-info .slider-title {
        font-size: 1.1rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* === Slider Section === */
.slider-section {
    margin: 70px 0 60px 0;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 48px 18px 54px 18px;
    position: relative;
    min-height: 480px;
}

.slider-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.slider-section .slider-title {
    text-align: center;
    color: #003366;
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.slider-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.tumu-btn {
    background: #003366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #003366;
}

.tumu-btn:hover {
    background: #00509e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,51,102,0.3);
    text-decoration: none;
}
.event-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    gap: 20px;
    flex-wrap: wrap;
}
.slider-item {
    width: calc(25% - 15px);
    min-width: 250px;
    max-width: 280px;
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    display: none;
    flex-direction: column;
    align-items: center;
    height: 400px;
    text-decoration: none;
    opacity: 0;
    transform: scale(0.9);
}
.slider-item.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}
.slider-item:hover {
    box-shadow: 0 12px 40px rgba(0,80,158,0.25);
    transform: scale(1.02);
}
.slider-img-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}
.slider-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    display: block;
}
.slider-info {
    padding: 15px 10px 10px 10px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.slider-info .slider-title {
    font-size: 1.1rem;
    color: #003366;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.3;
}
.slider-topluluk {
    font-size: 0.95rem;
    color: #1956a3;
    font-weight: 600;
    text-align: center;
    margin: 0;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn-left {
    left: 18px;
}
.slider-btn-right {
    right: 18px;
}

@media (max-width: 768px) {
    .slider-btn-left {
        left: 10px;
    }
    .slider-btn-right {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .slider-btn-left {
        left: 5px;
    }
    .slider-btn-right {
        right: 5px;
    }
}
.slider-btn:hover {
    background: #00509e;
    transform: translateY(-50%) scale(1.1);
}
@media (max-width: 768px) {
    .slider-section {
        padding: 30px 10px 40px 10px;
        min-height: 450px;
    }
    .slider-item {
        width: calc(50% - 10px);
        max-width: 300px;
        height: 350px;
    }
    .slider-img, .slider-img-wrapper {
        height: 220px;
    }
    .slider-info .slider-title {
        font-size: 1rem;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
@media (max-width: 480px) {
    .slider-section {
        padding: 20px 5px 30px 5px;
        min-height: 400px;
    }
    .slider-item {
        width: 100%;
        max-width: 280px;
        height: 320px;
    }
    .slider-img, .slider-img-wrapper {
        height: 200px;
    }
    .slider-info .slider-title {
        font-size: 0.95rem;
    }
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Slider Sayfa Numaraları */
.slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #e3f0ff;
    color: #003366;
    border: 2px solid #003366;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-dot:hover {
    background-color: #003366;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.3);
}

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

@media (max-width: 768px) {
    .page-dot {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    /* Mobilde sayfa numaralarını gizle */
    .slider-pagination {
        display: none;
    }
}
