/**
 * TÜBİTAK 2237-A Etkinlik Web Sayfası
 * Mobile-First CSS - Full Height Sections
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS Variables ===== */
:root {
    --primary: #003366;
    --primary-dark: #002244;
    --primary-light: #004488;
    --accent: #C4A14B;
    --accent-light: #D4B85B;

    --white: #FFFFFF;
    --off-white: #F5F7FA;
    --light-gray: #E8ECF0;
    --medium-gray: #6B7280;
    --dark-gray: #1F2937;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 51, 102, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 51, 102, 0.2);
}

/* ===== Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y proximity;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

/* ===== Sections Base ===== */
.section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.section-inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(196, 161, 75, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

/* ===== Floating Action Button Menu ===== */
.fab-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

.fab-toggle {
    height: 44px;
    padding: 0 1rem;
    border-radius: 25px;
    background: var(--primary);
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.fab-toggle span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.fab-toggle:hover {
    background: var(--primary-light);
}

.fab-toggle i.bi-x-lg {
    display: none;
}

.fab-container.open .fab-toggle {
    background: var(--accent);
}

.fab-container.open .fab-toggle i.bi-list {
    display: none;
}

.fab-container.open .fab-toggle i.bi-x-lg {
    display: block;
}

.fab-menu {
    position: absolute;
    top: 55px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.fab-container.open .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}

.fab-item em {
    font-style: normal;
    font-size: 0.7rem;
    opacity: 0.4;
}

.fab-item:hover,
.fab-item.active {
    background: var(--primary);
    color: var(--white);
}

.fab-item.active em {
    opacity: 0.7;
}

/* ===== Section Label ===== */
.section-label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.section-label em {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--primary);
    opacity: 0.4;
}

.section-label span {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--primary);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-label.light em,
.section-label.light span {
    color: var(--white);
}

.hero-section .section-label em,
.hero-section .section-label span {
    color: var(--white);
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 1rem;
}

/* Hero Logos */
.hero-logos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.hero-logos .logo-atilim {
    /* Beyaz logo, arka plan gerekmez */
    max-height: 60px;
}

.hero-logos .logo-tubitak {
    background: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    max-height: 50px;
}

.hero-badge {
    margin-bottom: 1rem;
}

.hero-badge span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    background: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
}

.hero-section h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-info-item i {
    color: var(--accent);
    font-size: 1rem;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 1.25rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== About Section ===== */
.about-section {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.about-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.about-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.about-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.about-card p {
    font-size: 0.85rem;
    color: var(--medium-gray);
    line-height: 1.5;
}

/* Topics Grid - About Section */
.topics-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.topics-section h5 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topics-section h5 i {
    color: var(--accent);
}

.topics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.topic-chip i {
    color: var(--accent);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .topics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-badge i {
    color: var(--accent);
}

/* ===== Profile Section ===== */
.profile-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.profile-section .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-light);
}

.profile-section .section-header h2 {
    color: var(--white);
}

.profile-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.profile-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.profile-list li:last-child {
    border-bottom: none;
}

.profile-list i {
    color: var(--accent);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.participation-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 0.85rem;
    line-height: 1.6;
}

.participation-note i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.participation-note p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.profile-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.85rem;
}

.profile-note i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.profile-note p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ===== Committee Section ===== */
.committee-section {
    background: var(--white);
}

.committee-block {
    margin-bottom: 1.5rem;
}

.committee-block:last-child {
    margin-bottom: 0;
}

.committee-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.committee-title i {
    color: var(--accent);
}

/* Düzenleme Kurulu - Ana Kartlar (Eğiticiler gibi) */
.committee-grid.main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.committee-card {
    background: var(--off-white);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.committee-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.committee-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    overflow: hidden;
}

.committee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.committee-avatar i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.committee-card h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

.committee-card .title {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0.15rem;
}

.committee-card .org {
    display: block;
    font-size: 0.65rem;
    color: var(--medium-gray);
    line-height: 1.2;
}

/* Bilim Kurulu - Mini Kartlar */
.committee-grid.mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.committee-card-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--off-white);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.committee-card-mini:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.mini-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mini-avatar i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.mini-info h5 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
    margin: 0;
}

.mini-info span {
    font-size: 0.6rem;
    color: var(--medium-gray);
    line-height: 1.2;
    display: block;
}

@media (min-width: 480px) {
    .committee-grid.main {
        grid-template-columns: repeat(3, 1fr);
    }
    .committee-grid.mini {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .committee-grid.main {
        grid-template-columns: repeat(5, 1fr);
    }
    .committee-grid.mini {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .committee-grid.mini {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ===== Trainers Section ===== */
.trainers-section {
    background: var(--off-white);
}

.trainer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.trainer-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trainer-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.trainer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    overflow: hidden;
}

.trainer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-avatar i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.trainer-card h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

.trainer-card .title {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0.15rem;
}

.trainer-card .org {
    display: block;
    font-size: 0.65rem;
    color: var(--medium-gray);
    line-height: 1.2;
}

@media (min-width: 480px) {
    .trainer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .trainer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .trainer-card {
        padding: 1.25rem;
    }

    .trainer-avatar {
        width: 55px;
        height: 55px;
    }

    .trainer-card h4 {
        font-size: 0.85rem;
    }
}

@media (min-width: 1024px) {
    .trainer-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .trainer-avatar {
        width: 60px;
        height: 60px;
    }
}

/* ===== Program Section ===== */
.program-section {
    background: var(--white);
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.program-tab {
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    background: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.program-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.program-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.program-content {
    display: none;
}

.program-content.active {
    display: block;
}

.program-list {
    max-width: 600px;
    margin: 0 auto;
}

.program-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-left: 3px solid var(--accent);
    background: var(--off-white);
    margin-bottom: 0.75rem;
    border-radius: 0 8px 8px 0;
}

.program-time {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    min-width: 90px;
}

.program-details h5 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.program-details .speaker {
    font-size: 0.8rem;
    color: var(--accent-dark);
}

.program-item.break {
    border-left-color: var(--medium-gray);
    background: transparent;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.program-item.break .program-details h5 {
    font-weight: 500;
    color: var(--medium-gray);
}

.program-sub {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.program-sub li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.5rem;
    padding: 0.3rem 0 0.3rem 0.75rem;
    border-left: 2px solid var(--light-gray);
    font-size: 0.82rem;
}

.program-sub strong {
    font-weight: 600;
    color: var(--dark-gray);
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.contact-icon i {
    font-size: 1rem;
    color: var(--white);
}

.contact-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.contact-card p,
.contact-card a {
    font-size: 0.8rem;
    color: var(--medium-gray);
    text-decoration: none;
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--accent);
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
}

.support-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    text-align: center;
}

.support-badge i {
    color: var(--accent);
    flex-shrink: 0;
}

/* ===== Placeholder ===== */
.placeholder-box {
    background: var(--light-gray);
    border: 2px dashed var(--medium-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: var(--medium-gray);
}

.placeholder-box.large {
    padding: 3rem 2rem;
}

.placeholder-box i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.5;
}

.placeholder-box p {
    margin: 0;
    font-style: italic;
}

/* ===== TABLET (768px+) ===== */
@media (min-width: 768px) {
    .section {
        padding: 3rem 2rem;
    }

    .section-inner {
        padding: 2rem;
    }

    .hero-logos .logo-atilim {
        max-height: 70px;
    }

    .hero-logos .logo-tubitak {
        max-height: 55px;
    }

    .hero-section h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .hero-info {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

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

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .map-wrapper iframe {
        height: 250px;
    }
}

/* ===== DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {

    .fab-container {
        top: 2rem;
        right: 2rem;
    }

    .section-label {
        top: 2rem;
        left: 2rem;
    }

    .section-label em {
        font-size: 0.9rem;
    }

    .section-label span {
        font-size: 0.85rem;
    }

    .hero-logos .logo-atilim {
        max-height: 80px;
    }

    .hero-logos .logo-tubitak {
        max-height: 60px;
    }

    .hero-logos {
        gap: 1.25rem;
    }

    .map-wrapper iframe {
        height: 300px;
    }
}

/* ===== Small Mobile Fix ===== */
@media (max-width: 380px) {
    .hero-logos .logo-atilim {
        max-height: 50px;
    }

    .hero-logos .logo-tubitak {
        max-height: 40px;
    }

    .hero-logos {
        gap: 0.75rem;
    }

    .fab-item span {
        display: none;
    }

    .fab-item {
        padding: 0.5rem;
        border-radius: 50%;
    }

    .fab-item i {
        width: auto;
    }
}

/* ===== Admin Styles ===== */
.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

.admin-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.admin-header h1 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-nav a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--accent);
}

.admin-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.admin-card h2 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.admin-form label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: var(--dark-gray);
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.admin-form textarea {
    min-height: 100px;
    resize: vertical;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.admin-table th {
    background: var(--off-white);
    font-weight: 600;
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); }
.btn-success { background: #28a745; color: var(--white); }
.btn-danger { background: #dc3545; color: var(--white); }
.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.8rem; }

.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.alert-success { background: #d4edda; color: #155724; }
.alert-danger { background: #f8d7da; color: #721c24; }

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 1rem;
}

.login-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 360px;
    box-shadow: var(--shadow-lg);
}

.login-card h1 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.login-card .btn {
    width: 100%;
    justify-content: center;
}

/* Kayıt bağlantıları */
.hero-kayit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0.75rem 1.75rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1.75rem;
    box-shadow: 0 4px 16px rgba(196, 161, 75, 0.35);
    transition: background var(--transition), transform var(--transition);
}

.hero-kayit:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.fab-item.vurgulu span {
    color: var(--accent);
    font-weight: 700;
}

/* ===== Kayıt Formu Sayfası ===== */
.form-page {
    background: var(--off-white);
    min-height: 100vh;
}

.form-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 1.5rem 1.25rem 2rem;
    text-align: center;
}

.form-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.form-back:hover {
    color: var(--accent-light);
}

.form-header h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.form-header p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-main {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.form-bilgi,
.form-uyari {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.form-bilgi {
    background: rgba(0, 51, 102, 0.06);
    border-left: 3px solid var(--primary);
    color: var(--dark-gray);
}

.form-bilgi.ince {
    font-size: 0.8rem;
    background: rgba(196, 161, 75, 0.1);
    border-left-color: var(--accent);
    margin-bottom: 1rem;
}

.form-uyari {
    background: #FDECEA;
    border-left: 3px solid #C0392B;
    color: #7B241C;
}

.form-bilgi i,
.form-uyari i {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.form-bilgi p,
.form-uyari p {
    margin: 0;
}

.kayit-formu fieldset {
    background: var(--white);
    border: none;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
}

.kayit-formu legend {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 0 0 0.75rem;
    width: 100%;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 1rem;
}

.alan {
    margin-bottom: 1rem;
}

.alan:last-child {
    margin-bottom: 0;
}

.alan > label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.35rem;
}

.alan > label small {
    font-weight: 400;
    color: var(--medium-gray);
}

.zorunlu {
    color: #C0392B;
}

.alan input[type="text"],
.alan input[type="email"],
.alan input[type="tel"],
.alan select,
.alan textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--dark-gray);
    background: var(--white);
}

.alan input:focus,
.alan select:focus,
.alan textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 68, 136, 0.12);
}

.alan.hatali input,
.alan.hatali select,
.alan.hatali textarea {
    border-color: #C0392B;
}

.alan textarea {
    resize: vertical;
}

.alan .ek-girdi {
    margin-top: 0.5rem;
}

.alan-ikili {
    display: grid;
    gap: 1rem;
}

.hata {
    display: block;
    color: #C0392B;
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.ipucu {
    display: block;
    color: var(--medium-gray);
    font-size: 0.75rem;
    line-height: 1.5;
    margin-top: 0.4rem;
}

label.secim {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--dark-gray);
    cursor: pointer;
}

label.secim input {
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
}

/* Koşullu alanlar betik çalışmıyorsa görünür kalır */
.js-aktif .kosullu {
    display: none;
}

.js-aktif .kosullu.acik {
    display: block;
}

.tuzak-alan {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.aydinlatma {
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.aydinlatma summary {
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
}

.aydinlatma-govde {
    padding: 0 0.9rem 0.9rem;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--medium-gray);
    max-height: 300px;
    overflow-y: auto;
}

.aydinlatma-govde h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-bottom: 0.6rem;
}

.aydinlatma-govde p {
    margin-bottom: 0.7rem;
}

.aydinlatma-govde strong {
    color: var(--dark-gray);
}

.form-buton {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background var(--transition);
}

.form-buton:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.form-buton.ikincil {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    max-width: 260px;
    margin: 1.25rem auto 0;
}

.form-buton.ikincil:hover {
    background: var(--primary);
    color: var(--white);
}

.form-sonuc {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.form-sonuc i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: block;
}

.form-sonuc.basarili i {
    color: #1E8449;
}

.form-sonuc h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 0.6rem;
}

.form-sonuc p {
    font-size: 0.87rem;
    line-height: 1.6;
    color: var(--medium-gray);
    max-width: 420px;
    margin: 0 auto;
}

.form-footer {
    padding: 1.5rem 1.25rem 2.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--medium-gray);
}

@media (min-width: 640px) {
    .form-header {
        padding: 2rem 2rem 2.75rem;
    }

    .form-header h1 {
        font-size: 1.9rem;
    }

    .alan-ikili {
        grid-template-columns: 1fr 1fr;
    }

    .kayit-formu fieldset {
        padding: 1.5rem;
    }
}

/* ===== Kayıt Yönetim Sayfası ===== */
.yonetim-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.yonetim-ust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.yonetim-sayac {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.82rem;
    color: var(--medium-gray);
}

.yonetim-sayac strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.yonetim-islem {
    display: flex;
    gap: 0.6rem;
}

.yonetim-islem .form-buton {
    width: auto;
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
    margin: 0;
}

.tablo-sarmal {
    overflow-x: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.yonetim-tablo {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    white-space: nowrap;
}

.yonetim-tablo th {
    background: var(--off-white);
    color: var(--primary);
    font-weight: 600;
    text-align: left;
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid var(--light-gray);
}

.yonetim-tablo td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--light-gray);
    color: var(--dark-gray);
}

.yonetim-tablo tr.kontenjanda td:nth-child(2) {
    background: rgba(196, 161, 75, 0.18);
    font-weight: 600;
}

.yonetim-tablo td.bos {
    text-align: center;
    color: var(--medium-gray);
    padding: 2rem;
}

/* ===== TÜBİTAK Destek Bilgi Kutusu ve Kayıt Bölümü ===== */
.destek-kutusu {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    font-size: 0.9rem;
    line-height: 1.7;
}

.destek-kutusu h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.6rem;
}

.destek-kutusu h3 i {
    color: var(--accent);
}

.destek-kutusu p {
    color: var(--dark-gray);
    margin: 0;
}

.kayit-section {
    background: var(--off-white);
}

.kayit-section .destek-kutusu {
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.kayit-tarih {
    text-align: center;
    color: var(--dark-gray);
    margin: 0;
}

.kayit-cta {
    text-align: center;
}

.participation-note p + p {
    margin-top: 0.6rem;
}

[hidden] {
    display: none !important;
}

/* Yönetim: değerlendirme durumu */
.durum-hucre {
    min-width: 190px;
}

.durum-formu {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.durum-formu select {
    font-size: 0.75rem;
    padding: 0.25rem 0.35rem;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
}

.durum-formu button {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border: none;
    border-radius: 6px;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
}

.durum-formu button:hover {
    background: var(--primary-light);
}

.durum-hucre small {
    display: block;
    margin-top: 0.25rem;
    color: var(--medium-gray);
    font-size: 0.7rem;
}

/* Yönetim: başvuru detay modalı */
.ad-baglanti {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    text-align: left;
}

.ad-baglanti:hover {
    color: var(--primary-light);
}

.modal-arka {
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 40, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2000;
}

.modal-kutu {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 1.5rem;
}

.modal-kutu h3 {
    font-family: var(--font-display);
    color: var(--primary);
    margin: 0 2rem 1rem 0;
}

.modal-kapat {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--medium-gray);
    cursor: pointer;
}

.modal-kapat:hover {
    color: var(--dark-gray);
}

.modal-detay {
    display: grid;
    grid-template-columns: minmax(140px, auto) 1fr;
    gap: 0.35rem 1rem;
    margin: 0 0 1.25rem;
    font-size: 0.85rem;
}

.modal-detay dt {
    font-weight: 600;
    color: var(--medium-gray);
}

.modal-detay dd {
    margin: 0;
    color: var(--dark-gray);
    overflow-wrap: anywhere;
}

.modal-durum {
    border-top: 1px solid var(--light-gray);
    padding-top: 1rem;
}

.modal-durum label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.modal-durum select,
.modal-durum button {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
}

/* Yönetim: tıklanabilir satırlar ve durum rozetleri */
.kayit-satir {
    cursor: pointer;
}

.kayit-satir:hover td {
    background: rgba(0, 51, 102, 0.05);
}

.durum-rozet {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.durum-beklemede {
    background: var(--light-gray);
    color: var(--medium-gray);
}

.durum-katilimci {
    background: rgba(22, 130, 66, 0.12);
    color: #168242;
}

.durum-dinleyici {
    background: rgba(0, 68, 136, 0.1);
    color: var(--primary-light);
}

.durum-kabul_edilmedi {
    background: rgba(192, 57, 43, 0.1);
    color: #C0392B;
}
