/* EducationEyuboglu / EducationAtEyuboglu */
/*:root {
    --crimson: #8b1a1a;
    --off-white: #f5f0eb;
    --text-dark: #1a1a1a;
    --text-body: #3a3530;
    --slide-duration: 6500ms;
    --fade-duration: 1400ms;
}*/

/* ── photos ─────────────────────────────────────────── */
.photos {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 480px;
    max-height: 900px;
    overflow: hidden;
    background: #111;
}

/* ── SLIDES ─────────────────────────────────────────── */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--fade-duration) ease-in-out;
    will-change: opacity;
}

.slide.is-active {
    opacity: 1;
}

/* parallax image: extra height allows vertical drift */
.slide__img {
    position: absolute;
    inset: -8% 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: scale(1.06) translateY(0px);
    will-change: transform;
}

/* Ken-Burns on active slide */
.slide.is-active .slide__img {
    animation: kenBurns var(--slide-duration) ease-out forwards;
}

/* outgoing slide drifts downward */
.slide.is-leaving .slide__img {
    transform: scale(1.00) translateY(32px) !important;
    transition: transform var(--fade-duration) ease-in-out;
}

@keyframes kenBurns {
    from {
        transform: scale(1.06) translateY(0px);
    }

    to {
        transform: scale(1.00) translateY(-28px);
    }
}

/* ── OVERLAY ────────────────────────────────────────── */
.photos__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to right, rgba(0, 0, 0, .60) 0%, rgba(0, 0, 0, .08) 65%), linear-gradient(to top, rgba(0, 0, 0, .48) 0%, transparent 52%);
}

/* ── TEXT ───────────────────────────────────────────── */
.photos__copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    /* center vertically */
    justify-content: flex-start;
    /* align content to left */
    padding: clamp(2rem, 6vw, 5.5rem) clamp(1.5rem, 7vw, 7rem);
}

.photos__copy-inner {
    color: #fff;
    width: min(55%, 860px);
    /* keep title column reasonably wide */
}

.photos__eyebrow {
    font-weight: 300;
    font-size: clamp(.65rem, 1.2vw, .85rem);
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: clamp(.6rem, 1.5vh, 1.1rem);
    opacity: 0;
    animation: fadeUp .7s .3s ease forwards;
}

.photos__title {
    /*  font-family: 'Playfair Display', Georgia, serif;*/
    font-weight: 700;
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    line-height: .95;
    color: #fff;
    letter-spacing: -.02em;
    opacity: 0;
    animation: fadeUp .8s .5s ease forwards;
}

.photos__title::before {
    content: '';
    display: block;
    width: clamp(2.5rem, 5vw, 4rem);
    height: 3px;
    background: var(--crimson);
    margin-bottom: clamp(.8rem, 2vh, 1.4rem);
}

.photos__tagline {
    margin-top: clamp(.9rem, 2.5vh, 1.6rem);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(.85rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, .82);
    max-width: 40ch;
    opacity: 0;
    animation: fadeUp .7s .8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── DOT INDICATORS ─────────────────────────────────── */
.photos__dots {
    position: absolute;
    bottom: clamp(1.4rem, 3.5vh, 2.4rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: .55rem;
    align-items: center;
}

.dot {
    height: 7px;
    width: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .4s, width .4s;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.dot.is-active {
    width: 26px;
    background: rgba(255, 255, 255, .25);
}

/* fill animation inside active dot */
.dot.is-active::after {
    content: '';
    position: absolute;
    inset: 0;
    left: 0;
    background: #fff;
    border-radius: 4px;
    animation: dotFill var(--slide-duration) linear forwards;
}

@keyframes dotFill {
    from {
        transform: scaleX(0);
        transform-origin: left;
    }

    to {
        transform: scaleX(1);
        transform-origin: left;
    }
}

.dot:hover:not(.is-active) {
    background: rgba(255, 255, 255, .6);
}

/* ── PROGRESS LINE ──────────────────────────────────── */
.photos__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: rgba(255, 255, 255, .4);
    z-index: 3;
}

.photos__progress.is-running {
    animation: progressBar var(--slide-duration) linear forwards;
}

@keyframes progressBar {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* ── INTRO ──────────────────────────────────────────── */
.intro {
    background: var(--off-white);
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 10vw, 12rem);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.intro__label {
    /*  font-family: 'Playfair Display', Georgia, serif;*/
    font-weight: 700;
    font-size: clamp(1.85rem, 3.2vw, 2.4rem);
    line-height: 1.2;
}

.intro__text {
    font-weight: 300;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.65;
    color: var(--text-body);
}

.intro__cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1.4rem;
    font-weight: 400;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, .35);
    border-radius: 999px;
    padding: .55rem 1.15rem;
    text-decoration: none;
    transition: background .25s, color .25s;
}

.intro__cta:hover {
    background: var(--text-dark);
    color: #fff;
}

.intro__cta svg {
    width: 12px;
    height: 12px;
    transition: transform .25s;
}

.intro__cta:hover svg {
    transform: translateX(3px);
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
    .photos {
        height: 70svh;
        max-height: 680px;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 520px) {
    .photos {
        height: 88svh;
        max-height: 700px;
        min-height: 400px;
    }

    .photos__copy {
        padding: 1.5rem 1.5rem 4rem;
    }

    .intro {
        padding: 2.5rem 1.5rem;
    }
}


.admissions-section { padding: 40px 0; background: #fff; display: flex; justify-content: center; }

.admissions-container { position: relative; width: 100%; /* allow card to breathe beyond standard site width */ max-width: calc(var(--site-max-width) + 800px); display: flex; height: 720px; }

.admissions-photo { flex: 1; overflow: hidden; }

    .admissions-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.admissions-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; background: var(--navy); color: #fff; width: 540px; padding: 60px 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35); }

.admissions-emblem { width: 56px; height: 56px; }

.admissions-card h2 { font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: 2rem; letter-spacing: 0.01em; color: #fff; }

.admissions-card p { font-family: var(--font-body); font-size: 1rem; font-weight: var(--fw-light); line-height: 1.75; color: rgba(255, 255, 255, 0.9); }

.admissions-divider { width: 40px; height: 1px; background: rgba(255, 255, 255, 0.2); }

.admissions-buttons { display: flex; gap: 12px; margin-top: 4px; flex-wrap: wrap; justify-content: center; }

.admissions-btn { border: 1.5px solid rgba(255, 255, 255, 0.6); background: transparent; color: #fff; font-family: var(--font-body); font-size: 1.05rem; font-weight: var(--fw-semibold); letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 18px; cursor: pointer; border-radius: 2px; text-decoration: none; transition: background 0.25s ease, border-color 0.25s ease; }

    .admissions-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

@media (max-width: 1200px) {
    .admissions-container { height: 660px; }
    .admissions-card { width: 500px; padding: 50px 46px; }
        .admissions-card h2 { font-size: 1.8rem; }
}

@media (max-width: 992px) {
    .admissions-container { height: 600px; }
    .admissions-card { width: 460px; padding: 40px 36px; }
        .admissions-card h2 { font-size: 1.6rem; }
        .admissions-card p { font-size: 0.95rem; }
}

@media (max-width: 768px) {
    .admissions-container { height: 500px; }
    .admissions-card { width: 85%; padding: 32px 28px; }
        .admissions-card h2 { font-size: 1.6rem; }
        .admissions-card p { font-size: 1.05rem; }
}

@media (max-width: 576px) {
    .admissions-container { height: 420px; }
    .admissions-card { width: 90%; padding: 24px 20px; }
        .admissions-card h2 { font-size: 1.5rem; }
        .admissions-card p { font-size: 1rem; line-height: 1.6; }
    .admissions-btn { font-size: 1rem; padding: 10px 16px; }
}


.banner { width: 100%; padding: 3rem 1.25rem 1.5rem; position: relative; overflow: hidden; margin: 6em auto 2em auto; }

    .banner::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.18; }

    .banner .heading { font-weight: 700; font-size: clamp(42px, 7vw, 84px); color: #fff; line-height: 1; letter-spacing: -0.02em; margin-bottom: 1em; opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease forwards 0.1s; }

    .banner .content-row { display: grid; grid-template-columns: minmax(200px, 400px) 1fr; gap: 40px; align-items: start; opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s ease forwards 0.35s; }

    .banner .body-text { font-size: clamp(21px, 3vw, 36px); color: var(--white); line-height: 1.4; font-weight: 400; max-width: 1200px; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .banner { padding: 2rem 1rem 1.5rem; }
}

.banner-bg { background-color: #232f60; }

.button,
.btn { display: inline-block; width: auto; margin-top: 1em; padding: 12px 22px; border: 2px solid #e85a5a; border-radius: 30px; color: #222; text-decoration: none; font-weight: 600; transition: 0.2s; align-self: flex-start; }

    .button:hover,
    .btn:hover { background: #e85a5a; color: white; }

ul { list-style-image: url('/images/_Bullet/kirmizi.webp'); margin-bottom: 1em }
    ul li { line-height: 180%; padding-left: 0.5em; }

