/* style.css – YEALMUN Sade Tema, Okul Fotoğrafı Arka Plan (Blurlu), Mobile Uyum */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    background-color: transparent;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

main {
    width: 100%;
}

/* Arka plan fotoğrafı – tüm sayfalar için, kenar taşmasını engelle */
body::before {
    content: '';
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: -2;
    background-image: url('../assets/yeal.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px) brightness(0.5);
    transform: scale(1.05);
}

body::after {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* HEADER – SİYAH (şeffaf) */
.site-header {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 64px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.logo-img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-list {
    display: flex;
    gap: 1rem;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    color: #cccccc;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s, color 0.15s;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    padding: 0.45rem 0.6rem;
    line-height: 1;
}

/* HOME HERO */
.home-hero {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 0;
}

.home-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.countdown-label {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

.countdown-item .countdown-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #000000;
    margin-top: 0.3rem;
    display: block;
    text-shadow: none;
}

.countdown-message {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-top: 0.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* PAGE SECTIONS */
.page-section {
    padding: 3.5rem 0 4.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h1 {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.section-header p {
    color: #ffffff;
    font-size: 1.2rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* PAGE PLACEHOLDER (diğer sayfalar) */
.page-placeholder {
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0 5rem 0;
}

.page-placeholder h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.page-placeholder p {
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* APPLY CARDS */
.apply-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.apply-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #000000;
    transition: box-shadow 0.15s, transform 0.1s, background 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.apply-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
}

.apply-icon {
    font-size: 2.8rem;
    color: #2563eb;
}

.apply-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* TEAM CARDS – YATAY, 3 SÜTUN */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card-horizontal {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-height: 180px;
    transition: box-shadow 0.15s, background 0.15s;
    overflow: hidden;
}

.team-card-horizontal:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.team-photo-horizontal {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.team-photo-horizontal.small {
    width: 95px;
    height: 95px;
}

.duo-photos-horizontal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.team-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.3;
}

.team-info .team-title {
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 500;
}

/* EXEC fotoğrafı için */
.exec-photo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: min(100%, 560px);
    margin: 0 auto 2rem auto;
}

/* COMMITTEES SAYFASI KART STILLERİ */
.committees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    max-width: 1100px;
    margin: 0 auto;
}

.committee-card-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.committee-card-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.committee-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.committee-card-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #000000;
    padding: 0.8rem 0.8rem 0.2rem 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.committee-agenda {
    padding: 0.2rem 0.8rem 0.8rem 0.8rem;
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.6;
    flex: 1;
}

.committee-agenda strong {
    color: #2563eb;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.committee-agenda p {
    margin: 0.3rem 0 0 0;
    font-size: 0.92rem;
    color: #1e293b;
    line-height: 1.6;
}

/* FOOTER */
.site-footer {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #cbd5e1;
    padding-top: 2.5rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 160px;
}

.footer-col h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.4rem;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.social-links li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-bottom .credit {
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: #64748b;
}

/* BUTTON */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}
.btn-primary:hover {
    background: #1d4ed8;
}

/* SCHEDULE SAYFASI */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-day {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.schedule-day:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.schedule-day-header {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.schedule-day-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    display: flex;
    align-items: center;
}

.day-date {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

.schedule-items {
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: background 0.15s;
    gap: 1rem;
}

.schedule-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.schedule-time {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1e293b;
    min-width: 110px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.schedule-event {
    font-size: 0.95rem;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.schedule-event i {
    width: 18px;
    color: #64748b;
    font-size: 0.9rem;
}

.schedule-item.highlight .schedule-event {
    font-weight: 600;
}
.schedule-item.highlight .schedule-event i {
    color: #3b82f6;
}

.schedule-item.break-item .schedule-event i {
    color: #94a3b8;
}
.schedule-item.break-item .schedule-event {
    color: #64748b;
}

.schedule-item.lunch-item .schedule-event i {
    color: #f59e0b;
}
.schedule-item.lunch-item .schedule-event {
    font-weight: 500;
}

/* ============================================================ */
/* MOBILE UYUM */
/* ============================================================ */

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .section-header h1 {
        font-size: 3rem;
    }
    .home-content h1 {
        font-size: 2.2rem;
    }
    .schedule-grid {
        grid-template-columns: 1fr 1fr;
    }
    .committees-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-list {
        position: fixed;
        top: 0;
        left: -100%;
        background: rgba(0, 0, 0, 0.96);
        flex-direction: column;
        align-items: flex-start;
        width: min(85%, 320px);
        height: 100vh;
        padding: 5.5rem 1.5rem 2rem;
        transition: left 0.2s ease;
        gap: 0.8rem;
        z-index: 200;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        overflow-y: auto;
        backdrop-filter: blur(4px);
    }
    .nav-list.active-mobile {
        left: 0;
    }
    .nav-list li {
        width: 100%;
    }
    .nav-link {
        display: block;
        color: #cccccc;
        font-size: 1rem;
        padding: 0.6rem 0;
    }
    .nav-link:hover {
        color: #ffffff;
    }

    .logo-img {
        height: 48px;
        width: 48px;
    }
    .logo-text {
        font-size: 1.4rem;
    }

    .section-header h1 {
        font-size: 2.5rem;
    }
    .section-header p {
        font-size: 1rem;
    }

    .home-content h1 {
        font-size: 1.8rem;
    }
    .countdown-grid {
        gap: 0.8rem;
    }
    .countdown-item {
        padding: 0.8rem 1rem;
        min-width: 60px;
    }
    .countdown-number {
        font-size: 1.8rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1rem;
    }
    .team-card-horizontal {
        padding: 1rem;
        min-height: 130px;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .team-photo-horizontal {
        width: 100px;
        height: 100px;
    }
    .team-photo-horizontal.small {
        width: 70px;
        height: 70px;
    }
    .team-info {
        width: 100%;
    }
    .team-info h3 {
        font-size: 0.9rem;
    }
    .team-info .team-title {
        font-size: 0.8rem;
    }

    .exec-photo-wrapper {
        max-width: 100% !important;
        padding: 6px !important;
    }

    .apply-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    .apply-card {
        padding: 1.2rem 0.8rem;
    }
    .apply-card h3 {
        font-size: 0.9rem;
    }
    .apply-icon {
        font-size: 2rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-col {
        min-width: 100%;
    }
    .social-links li a {
        justify-content: center;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
        padding: 0.6rem 0.5rem;
    }
    .schedule-time {
        min-width: auto;
        font-size: 0.8rem;
        color: #64748b;
    }
    .schedule-event {
        font-size: 0.9rem;
    }
    .schedule-day-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .schedule-day-header h2 {
        font-size: 1.2rem;
    }

    .committees-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .committee-image {
        height: 180px;
    }
    .committee-card-item h3 {
        font-size: 1.05rem;
    }
    .committee-agenda {
        font-size: 0.9rem;
    }
    .committee-agenda p {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .apply-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    .team-card-horizontal {
        padding: 0.8rem;
        min-height: 110px;
        gap: 0.8rem;
    }
    .team-photo-horizontal {
        width: 80px;
        height: 80px;
    }
    .team-photo-horizontal.small {
        width: 55px;
        height: 55px;
    }
    .team-info h3 {
        font-size: 0.8rem;
    }
    .team-info .team-title {
        font-size: 0.7rem;
    }
    .section-header h1 {
        font-size: 2rem;
    }
    .home-content h1 {
        font-size: 1.5rem;
    }
    .countdown-item {
        padding: 0.5rem 0.8rem;
        min-width: 50px;
    }
    .countdown-number {
        font-size: 1.4rem;
    }
    .countdown-item .countdown-label {
        font-size: 0.7rem;
    }
    .logo-img {
        height: 40px;
        width: 40px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
}