/* Enerji Koleji - Hakkımızda sayfası özel stilleri */
:root {
    --ek-primary: #e81116;
    --ek-primary-dark: #b30d11;
    --ek-secondary: #f7f7f9;
    --ek-text: #202531;
    --ek-muted: #5f6678;
}

body {
    background-color: #fff;
    color: var(--ek-text);
}

.main-wrapper {
    overflow: hidden;
}

.about-hero {
    position: relative;
    min-height: 70vh;
    padding: 120px 0 100px;
    display: flex;
    align-items: center;
    color: #fff;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(235, 79, 82, 0.92) 0%, rgba(41, 44, 61, 0.92) 100%);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 24px;
}

.about-hero p {
    max-width: 680px;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: .9;
}

.about-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 12px 22px;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
    font-weight: 785;
}

.about-hero__badge span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .24);
    font-size: 16px;
}

.about-section {
    padding: 80px 0;
}

.about-section.bg-soft {
    background-color: var(--ek-secondary);
}

.about-section .section-title {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--ek-text);
}

.about-section .section-subtitle {
    max-width: 720px;
    font-size: 1.05rem;
    color: var(--ek-muted);
    margin-bottom: 40px;
}

.color-card {
    border: none;
    border-radius: 22px;
    padding: 34px 30px 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 40px rgba(22, 27, 44, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.color-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.18), transparent 45%);
    opacity: 0.6;
    pointer-events: none;
}

.color-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    filter: blur(2px);
    top: -40px;
    right: -30px;
    z-index: 0;
}

.color-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 46px rgba(23, 30, 48, 0.22);
}

.color-card > * {
    position: relative;
    z-index: 1;
}

.color-card .card-title,
.color-card h3,
.color-card h4 {
    color: #fff;
    margin-bottom: 14px;
}

.color-card p,
.color-card li {
    color: rgba(255, 255, 255, 0.9);
}

.color-card ul {
    margin-top: 18px;
}

.color-card ul li + li {
    margin-top: 8px;
}

.card-bullets {
    padding-left: 0;
    margin-bottom: 0;
}

.color-card--navy {
    background: linear-gradient(135deg, #091e3a 0%, #2f3e9e 100%);
}

.color-card--sunset {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
}

.color-card--teal {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.color-card--purple {
    background: linear-gradient(135deg, #00a6ff 0%, #00ccff 100%);
}

.color-card--amber {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
}

.color-card--forest {
    background: linear-gradient(135deg, #0bab64 0%, #3bb78f 100%);
}

.color-card--coral {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
}

.color-card--sky {
    background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
}

.color-card .card-photo {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 18px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 20px rgba(10, 12, 25, 0.35);
    cursor: zoom-in;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    justify-content: center;
}

.about-grid .card {
    border: none;
    border-radius: 18px;
    padding: 32px 28px;
    height: 100%;
    box-shadow: 0 18px 30px rgba(27, 32, 53, 0.08);
    background-color: #fff;
}

.about-grid .card h3 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--ek-primary);
    margin-bottom: 12px;
}

.about-grid .card p {
    margin: 0;
    color: var(--ek-muted);
    font-weight: 500;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.values-list li {
    list-style: none;
    background: #fff;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 16px 28px rgba(24, 28, 41, .07);
    line-height: 1.6;
    position: relative;
    border-top: 4px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.values-list li::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(232,17,22,.14), rgba(70, 74, 104, .14));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.values-list li strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.values-list li:hover {
    transform: translateY(-6px);
    border-color: var(--ek-primary);
}

.values-list li:hover::before {
    opacity: 1;
}

.timeline {
    position: relative;
    padding-left: 24px;
    border-left: 3px solid rgba(232, 17, 22, 0.18);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -33px;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: var(--ek-primary);
    box-shadow: 0 0 0 6px rgba(232, 17, 22, 0.2);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-item p {
    margin: 0;
    color: var(--ek-muted);
}

.education-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.education-cards .card {
    border: none;
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: 0 20px 34px rgba(36, 41, 60, 0.08);
    height: 100%;
}

.education-cards .card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.education-cards .card p {
    color: var(--ek-muted);
    margin-bottom: 0;
}

.education-cards .color-card p {
    color: rgba(255, 255, 255, 0.9);
}

.education-cards .color-card {
    border-radius: 22px;
    box-shadow: 0 24px 40px rgba(22, 27, 44, 0.18);
}

.education-cards .color-card,
#akademik-yaklasim .color-card,
#kampus-ve-teknoloji .color-card,
#egitim-kademeleri .color-card,
#dil-egitimi .color-card,
#kulup-programlari .color-card,
#manevi-egitim .color-card,
#burs-ve-kayit .color-card {
    padding: 30px 26px 28px;
}

.about-gallery .section-subtitle {
    margin-bottom: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 32px rgba(24, 28, 41, 0.16);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 23, 45, 0) 0%, rgba(9, 23, 45, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.supporting-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(32, 37, 49, 0.88);
    line-height: 1.7;
}

.supporting-list li {
    position: relative;
    padding-left: 20px;
}

.supporting-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e81116 0%, #ff5858 100%);
    transform: translateY(-50%);
}

.supporting-list li + li {
    margin-top: 10px;
}

body.lightbox-open {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(9, 15, 30, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 10000000;
}

.image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.image-lightbox__content {
    position: relative;
    max-width: min(960px, 92vw);
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(10, 12, 25, 0.35);
    overflow: hidden;
    background: #0a1021;
    padding: 18px 18px 26px;
}

.image-lightbox__img {
    width: 100%;
    border-radius: 18px;
    max-height: 78vh;
    object-fit: contain;
}

.image-lightbox__caption {
    margin: 16px 6px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
}

.image-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.image-lightbox__close:hover,
.image-lightbox__close:focus {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.05);
    outline: none;
}

.cta-banner {
    background: linear-gradient(135deg, #e81116 0%, #ff5858 100%);
    color: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    filter: blur(0.5px);
}

.cta-banner h3 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 18px;
}

.cta-banner p {
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.cta-banner .btn {
    background: #fff;
    color: var(--ek-primary);
    font-weight: 600;
    border-radius: 30px;
    padding: 12px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.lead-paragraph {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--ek-muted);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .education-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-hero {
        padding-top: 140px;
    }
}

@media (max-width: 768px) {
    .about-grid,
    .values-list,
    .education-cards {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 60px 0;
    }

    .timeline {
        padding-left: 18px;
        margin-left: 6px;
    }

    .timeline-item::before {
        left: -27px;
    }

    .cta-banner {
        padding: 40px 28px;
    }
}
