/**
 * Hakkımızda Modülü Stilleri
 * İKAF Hakkimizda.html tasarımına uyumlu, ortak bölümlerle uyumlu
 */

/* Yazı altı boşluğu kalmasın: main min-height kapat */
#mainContent:has(.hakkimizda-page) {
    min-height: auto;
}

.hakkimizda-page {
    padding-top: 130px;
    min-height: 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #fff 20%, #fff 100%);
}

/* Ana sayfa slider ile aynı genişlik (1600px) */
.about-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px 2rem 0;
}

/* Görsel: en üstte, başlığın üstünde */
.about-hero-image {
    margin-bottom: 0;
}

.about-hero-image .image-container {
    margin-top: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.1);
}

.about-main-content {
    margin-bottom: 0;
}

/* Sponsor/Çözüm ortağı kaldırıldığı için boşluk ve çizgi yok; Destekçiler hemen başlasın */
.hakkimizda-page .supporters-section {
    padding-top: 2rem;
    border-top: none;
}
.hakkimizda-page .supporters-section::before {
    display: none;
}

/* Çizgi kaldırıldı: border yok, sadece gölge */
.about-card {
    border: none;
    box-shadow: 0 8px 32px rgba(26, 35, 126, 0.08);
}

/* Hero Bölümü - Görsel altında başlık şeridi */
.about-hero {
    text-align: center;
    margin-bottom: 32px;
    padding: 36px 24px 40px;
    background: linear-gradient(120deg, rgba(26, 35, 126, 0.05) 0%, rgba(254, 203, 21, 0.05) 100%);
    border-radius: 0 0 16px 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.07);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 0;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.04) 0%, rgba(254, 203, 21, 0.04) 50%, rgba(26, 35, 126, 0.04) 100%);
    animation: hakkimizdaRotate 20s linear infinite;
}

@keyframes hakkimizdaRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Anasayfa hero-content (position:absolute) bu sayfada uygulanmasın; başlık normal akışta kalsın */
.hakkimizda-page .about-hero .hero-content {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    z-index: 2;
    overflow: visible;
}

.hakkimizda-page .hero-content h1 {
    font-size: 3rem;
    text-align: center;
    margin: 0;
    line-height: 1.3;
    background: linear-gradient(120deg, #1a237e, #fecb15, #3949ab);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hakkimizdaGradient 5s ease infinite;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 24px 20px 28px;
    position: relative;
    z-index: 1;
    overflow: visible;
    min-height: 1.2em;
}

@keyframes hakkimizdaGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ana İçerik Alanı - yazı bitince kart hemen bitsin, alt boşluk yok */
.hakkimizda-page .main-content {
    background: #fff;
    padding: 2.5rem 2rem 0.75rem;
    border-radius: 16px;
    margin-bottom: 0;
}

.hakkimizda-page .content-text > *:last-child {
    margin-bottom: 0 !important;
}

.content-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.content-text a {
    color: #1a237e;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(26, 35, 126, 0.3);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.content-text a:hover {
    color: #fecb15;
    border-bottom-color: #fecb15;
}

/* Amaçlar bölümü */
.objectives-section {
    margin: 1.5rem 0;
}

.objectives-section h2 {
    font-size: 1.35rem;
    color: #1a237e;
    margin-bottom: 1rem;
}

.objectives-section ul {
    padding-left: 40px;
    margin: 0 0 1rem 0;
}

.objectives-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #333;
}

/* Görsel */
.image-container {
    max-width: 100%;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.1);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hakkimizda-page {
        padding-top: 90px;
    }

    .about-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-hero {
        padding: 40px 15px;
    }

    .main-content {
        padding: 20px;
    }

    .objectives-section ul {
        padding-left: 24px;
    }
}
