/* EAZ 26 Website Styles */
:root {
    --turquoise: #0af5f7;
    --navy: #373380;
    --navy-soft: #5159c8;
    --offwhite: #f4f5f7;
    --text-main: #f9fbff;
    --text-muted: #c0c6d8;
    --overlay: rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


@font-face {
    font-family: 'CSRistela';
    src: url('fonts/CSRistela-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "EngebrechtreExBd";
    src: url("fonts/Engebrechtre-ExBd.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--navy);
    color: var(--text-main);
}

body {
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout helpers */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top hero / header (home) */
.hero {
    position: relative;
    padding: 10px 18px 10px;
    color: var(--text-main);
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(55, 51, 128, 0.97), rgba(81, 89, 200, 0.9)), url("img/eaz-hero.jpg") center/cover no-repeat fixed;
        opacity: 0.96;
        z-index: -2;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% -10%, rgba(10, 245, 247, 0.26), transparent 55%);
        z-index: -1;
    }

.top-bar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-block:8px;
    width:100%;
}

.menu-toggle {
    border: none;
    background: transparent;
    padding: 30px 6px 8px;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

    .menu-toggle span {
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: var(--offwhite);
        display: block;
    }

    .menu-toggle:focus-visible {
        outline: 2px solid var(--turquoise);
        outline-offset: 2px;
    }

.hero-logos {
    display:flex;
    align-items:center;
    gap:16px;
    margin:0 auto;
}

.header-cta {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(10, 245, 247, 0.85);
    background: rgba(10, 245, 247, 0.12);
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    justify-self: end;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.header-cta:hover {
    background: rgba(10, 245, 247, 0.22);
    box-shadow: 0 0 0 1px rgba(10, 245, 247, 0.45);
    transform: translateY(-1px);
}


    .hero-logos img {
        height: 85px;
        width: auto;
        object-fit: contain;
    }

.logo-divider {
    width: 2px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(to bottom, rgba(10, 245, 247, 0.2), rgba(10, 245, 247, 0.9));
}

.hero-content {
    margin: 40px auto 0;
    max-width: 720px;
    text-align: center;
}

    .hero-content h1 {
        margin: 0 0 8px;
        font-size: clamp(2.2rem, 4.8vw, 3.1rem);
        letter-spacing: 0.06em;
        text-align: center;
        font-family: 'CSRistela', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    .hero-content p {
        margin: 4px 0;
        color: var(--text-muted);
        font-size: 0.95rem;
    }

.hero-tags {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

/* Generic sub-page header */
.sub-header {
    position: relative;
    padding: 10px 18px 10px;
    background: linear-gradient(135deg, #373380, #5159c8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-header-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-block:8px;
    width:100%;
}

.sub-header-logos {
    display:flex;
    align-items:center;
    gap:18px;
    margin:0 auto;
}

    .sub-header-logos img {
        height: 80px;
        object-fit: contain;
    }

.sub-header-divider {
    width: 3px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(to bottom, rgba(10, 245, 247, 0.15), rgba(10, 245, 247, 0.9));
}

.sub-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sub-header-kulup {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.sub-header-title {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'CSRistela', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-align: center;
}

/* Shared main content */
main {
    flex: 1;
    padding: 26px 18px 40px;
    background: radial-gradient(1200px 1200px at 120% 0%, rgba(33, 188, 255, 0.24), transparent 60%), #050a15;
}

.main-inner {
    max-width: 1040px;
    margin: 0 auto;
}

/* Text blocks */
.text-block {
    background: rgba(9, 18, 38, 0.9);
    border-radius: 18px;
    padding: 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

    .text-block h2 {
        margin: 0 0 10px;
        font-size: 1.2rem;
    }

    .text-block p {
        margin: 8px 0;
        color: var(--text-muted);
        line-height: 1.7;
        font-size: 0.98rem;
    }

    .text-block ul {
        margin: 10px 0 0 18px;
        padding: 0;
        color: var(--text-muted);
        line-height: 1.7;
        font-size: 0.96rem;
    }

/* Card grid */
.card-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.info-card {
    background: rgba(9, 18, 38, 0.9);
    border-radius: 16px;
    padding: 16px 15px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

    .info-card h3 {
        margin: 0 0 6px;
        font-size: 1.02rem;
    }

    .info-card p,
    .info-card li {
        margin: 4px 0;
        color: var(--text-muted);
        font-size: 0.9rem;
    }

/* Sponsor logos section */
.sponsor-section {
    margin-top: 20px;
}

.sponsor-tier {
    margin-bottom: 26px;
}

.sponsor-tier-title {
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.sponsor-tier-note {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.sponsor-logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sponsor-logo-placeholder {
    height: 54px;
    min-width: 120px;
    border-radius: 12px;
    background: rgba(33, 188, 255, 0.16);
    border: 1px dashed rgba(145, 206, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact page */
.contact-emails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

    .contact-emails a {
        font-size: 0.92rem;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(33, 188, 255, 0.14);
        border: 1px solid rgba(33,188,255,0.6);
    }

/* Koordinatör Kartları - GÜNCEL VE 310px GENİŞLİK */
.coord-grid {
    margin-top: 22px;
    display: flex; /* Yatay hizalama için Flexbox */
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center; /* Kartları ortalama */
}

.coord-card {
    border-radius: 22px;
    padding: 20px 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 310px; /* Yatay genişliği 310px olarak güncelledik */
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
    background: linear-gradient(135deg, #020418, #373380);
}

.coord-card-main {
    background: radial-gradient(circle at 0% 0%, rgba(10, 245, 247, 0.38), rgba(55, 51, 128, 0.98));
}

.coord-photo {
    width: 170px; /* Fotoğraf genişliğini 170px olarak güncelledik */
    height: 250px; /* Fotoğraf yüksekliğini 250px olarak güncelledik */
    border-radius: 28px;
    background: rgba(10, 245, 247, 0.18);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

    .coord-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.coord-info-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.coord-name {
    font-size: 1.02rem;
    font-weight: 600;
    margin-top: 4px;
}

.coord-meta {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

    .coord-meta a {
        text-decoration: underline;
        text-decoration-thickness: 1px;
    }

/* Footer */
.site-footer {
    padding: 14px 18px 20px;
    font-size: 0.76rem;
    color: var(--text-muted);
    background: #030711;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
}

/* Side menu */
.side-menu {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(260px, 75vw);
    background: rgba(248, 249, 252, 0.96);
    color: #111827;
    box-shadow: 6px 0 20px rgba(0, 0, 0, 0.4);
    transform: translateX(-100%);
    transition: transform 0.22s ease-out;
    z-index: 40;
    display: flex;
    flex-direction: column;
}

.side-menu-header {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.side-menu-title {
    font-weight: 700;
    font-size: 0.96rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.side-menu .menu-toggle span {
    background: #111827;
}

.side-menu-nav {
    padding: 12px 4px 8px;
    flex: 1;
}

    .side-menu-nav a {
        display: block;
        padding: 9px 16px;
        border-radius: 999px;
        margin: 2px 8px;
        font-size: 0.92rem;
    }

        .side-menu-nav a:hover {
            background: rgba(15, 23, 42, 0.06);
        }

        .side-menu-nav a.active {
            background: rgba(33, 150, 243, 0.18);
            color: #0b1120;
            font-weight: 600;
        }

.side-menu-footer {
    padding: 14px 12px 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.74rem;
    color: #4b5563;
    position: relative;
    overflow: hidden;
}

.side-menu-footer-logo {
    position: absolute;
    right: -16px;
    bottom: -18px;
    width: 120px;
    opacity: 0.13;
}

    .side-menu-footer-logo img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

.side-menu-footer p {
    margin: 2px 0;
}

/* Overlay behind side menu */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
    z-index: 30;
}

body.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

.side-menu.open {
    transform: translateX(0);
}

/* Responsive tweaks */
@media (max-width: 720px) {
    .hero {
        padding-inline: 14px;
    }

    .hero-logos img {
        height: 56px;
        width: auto;
        object-fit: contain;
    }

    .hero-content {
        margin: 40px auto 0;
        max-width: 720px;
        text-align: center;
    }

    .sub-header {
        position: relative;
        padding: 12px 18px 20px;
        background: linear-gradient(135deg, #373380, #5159c8);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    main {
        padding-inline: 14px;
    }
    /* Mobil stilinizi koruyoruz (kartlar alt alta/grid) */
    .coord-card {
        background: rgba(9, 18, 38, 0.9);
        border-radius: 22px;
        padding: 12px 18px 14px;
        border: 1px solid rgba(255, 255, 255, 0.07);
        display: grid;
        grid-template-columns: 130px 1fr;
        gap: 16px;
        align-items: center;
        max-width: 100%;
    }

    .coord-photo {
        width: 100%;
        height: auto;
        max-height: 270px; /* Yeni yüksekliği mobil grid yapısına uyguladık */
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}


.sub-header {
    position: relative;
    padding: 12px 18px 20px;
    background: linear-gradient(135deg, #373380, #5159c8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-header-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-block:8px;
    width:100%;
}

.sub-header .menu-toggle {
    position: absolute;
    left: 14px;
    top: 14px;
}

.hero .top-bar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-block:8px;
    width:100%;
}

.hero .menu-toggle {
    position: absolute;
    left: 18px;
    top: 14px;
}

.hero .hero-logos {
    display:flex;
    align-items:center;
    gap:16px;
    margin:0 auto;
}

.page-title {
    font-family: 'CSRistela', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.9rem;
    margin: 0 0 14px;
    letter-spacing: 0.06em;
}

.section-title {
    font-size: 1.1rem;
    margin: 6px 0 8px;
}

.sponsor-page-image {
    margin-top: 10px;
}

    .sponsor-page-image img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
    }


.hero-title-section {
    margin: 28px 0 10px;
}

.hero-title {
    margin: 0;
    text-align: center;
    font-family: "EngebrechtreExBd", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(120deg, #0af5f7, #5159c8);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 22px rgba(10, 245, 247, 0.45);
}


.team-photo-block {
    margin-top: 18px;
    margin-bottom: 6px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(10, 245, 247, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

    .team-photo-block figure {
        margin: 0;
    }

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

/* Etkinliğimiz sayfası - ana layout */
.event-layout {
    margin-top: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 22px;
    align-items: stretch;
}

.event-main-card {
    background: linear-gradient(145deg, rgba(7, 16, 31, 0.96), rgba(55, 51, 128, 0.92));
    border-radius: 20px;
    padding: 20px 18px;
    border: 1px solid rgba(10, 245, 247, 0.28);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

    .event-main-card .section-title {
        margin-bottom: 10px;
    }

.event-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 6px;
}

    .event-meta li {
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-size: 0.92rem;
    }

        .event-meta li span {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-muted);
        }

        .event-meta li strong {
            font-size: 0.98rem;
        }

.event-main-card p {
    margin-top: 4px;
}

/* Sağ taraftaki bloklar */
.event-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-side-card {
    border-radius: 18px;
    padding: 14px 14px 13px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}

    .event-side-card h3 {
        margin: 0 0 6px;
        font-size: 1rem;
    }

/* Renk varyasyonları */
.event-structure {
    background: linear-gradient(135deg, #373380, #5159c8);
}

.event-attendees {
    background: radial-gradient(circle at 0% 0%, rgba(10, 245, 247, 0.35), rgba(55, 51, 128, 0.98));
}

.event-sponsors {
    background: linear-gradient(135deg, #020418, #373380);
}

.event-side-card li {
    color: var(--text-main);
}

/* Geçmiş etkinlikler slider */
.past-events {
    margin-top: 46px;
}

.past-events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.past-events-year {
    margin: 0;
    font-family: "EngebrechtreExBd", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--turquoise);
}

.past-events-slider {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.past-events-nav {
    border-radius: 999px;
    border: 1px solid rgba(10, 245, 247, 0.5);
    background: rgba(7, 16, 31, 0.9);
    color: var(--offwhite);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

    .past-events-nav:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        background: linear-gradient(135deg, rgba(55, 51, 128, 0.95), rgba(10, 245, 247, 0.9));
    }

.past-events-frame {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(7, 16, 31, 0.96), rgba(55, 51, 128, 0.95));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6);
}

.past-events-poster-wrapper,
.past-events-flows {
    border-radius: 14px;
    background: #020418;
    padding: 6px;
    display: grid;
    gap: 8px;
}

.past-events-flows {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
}

    .past-events-poster,
    .past-events-flows img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 10px;
    }

/* Responsive */
@media (max-width: 900px) {
    .event-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .event-side-card {
        flex: 1 1 240px;
    }

    .past-events-slider {
        flex-direction: column;
        align-items: stretch;
    }

    .past-events-frame {
        grid-template-columns: minmax(0, 1fr);
    }

    .past-events-flows {
        grid-auto-flow: row;
    }
}

@media (max-width: 640px) {
    .past-events-nav {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }
}


/* Geçmiş sponsorlarımız - ekstra görsel grid */
.sponsor-photo-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.sponsor-photo-card {
    background: radial-gradient(circle at 0% 0%, rgba(33, 188, 255, 0.14), rgba(7, 16, 31, 0.96));
    border-radius: 18px;
    padding: 10px;
    border: 1px solid rgba(33, 188, 255, 0.24);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

    .sponsor-photo-card figure {
        margin: 0;
    }

    .sponsor-photo-card img {
        display: block;
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 12px;
    }


/* İletişim sayfası alt blokları */
.contact-bottom {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 22px;
}

.contact-social,
.contact-map {
    border-radius: 22px;
    padding: 18px 20px 20px;
    background: linear-gradient(135deg, #020418, #373380);
    border: 1px solid rgba(10, 245, 247, 0.22);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6);
}

.contact-social {
    background: radial-gradient(circle at 0% 0%, rgba(10, 245, 247, 0.32), rgba(7, 16, 31, 0.96));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 14px;
}

    .social-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.95rem;
    }

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(10, 245, 247, 0.6);
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .social-icon img {
        max-width: 26px;
        max-height: 26px;
        display: block;
    }

.social-list a {
    color: var(--text-main);
    text-decoration: none;
}

    .social-list a:hover {
        text-decoration: underline;
    }

.contact-map-text {
    margin: 8px 0 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-embed {
    border-radius: 18px;
    overflow: hidden;
    background: #020418;
    height: 320px;
}

    .map-embed iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

@media (max-width: 800px) {
    .contact-bottom {
        grid-template-columns: minmax(0, 1fr);
    }
}


@media (min-width: 900px) {
    .coord-grid {
        /* Burayı boş bırakarak flexbox'ın 3 kartı yan yana sığdırmasını sağlıyoruz */
    }
}
