:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --dark-bg: #0b0f19;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --text-light: #8892b0;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-light {
    background-color: #ffffff;
}

.section-alt {
    background-color: #f2f2f2;
}

/* Flexible Rich Text / Prose Content - Dynamic Scrollable Container */
.section-content {
    max-width: 960px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
    position: relative;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: none;
    padding: 32px 36px;
    max-height: clamp(380px, 68vh, 680px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.section-content > *:first-child {
    margin-top: 0;
}

.section-content > *:last-child {
    margin-bottom: 0;
}

.section-content::-webkit-scrollbar {
    width: 6px;
}

.section-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

.section-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.section-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.section-content p {
    margin-bottom: 1.25rem;
}

.section-content h3 {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 2rem 0 1rem;
}

.section-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin: 1.5rem 0 0.75rem;
}

.section-content ul,
.section-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

.section-content ul {
    list-style: disc !important;
}

.section-content ol {
    list-style: decimal !important;
}

.section-content li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

.section-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.section-content a:hover {
    color: var(--secondary-color);
}

.section-content strong {
    font-weight: 600;
    color: #0f172a;
}

.section-content blockquote {
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
    padding: 0.75rem 1.25rem;
    background: rgba(67, 97, 238, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.section-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.section-content th,
.section-content td {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.section-content th {
    background: #f1f5f9;
    font-weight: 600;
    color: var(--dark-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    color: var(--dark-bg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 3rem;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--dark-bg);
    color: var(--white);
}

.btn-secondary:hover {
    background: #000;
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header .container {
    max-width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--dark-bg);
    padding: 8px;
    border-radius: 6px;
    line-height: 1;
}

.hamburger:focus-visible {
    outline: 2px solid var(--primary-color);
}

.hero-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Timeline & Program Bileşenleri */
.timeline {
    max-width: 860px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding: 22px;
    margin-bottom: 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.12);
}

.timeline-time {
    min-width: 110px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.05rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--dark-bg);
}

.timeline-content p {
    color: #555;
    font-size: 0.95rem;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, rgba(148, 149, 154, 0.8), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Hero Compact (Kapak Pasif Durumu: Başlık, Alt Başlık ve Etkinlik Bilgileri) */
.hero-compact {
    padding: 120px 20px 45px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 60%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-compact .container {
    position: relative;
    z-index: 1;
}

.hero-compact-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-compact-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-compact-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    color: #475569;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto 24px auto;
    max-width: 780px;
}

.hero-compact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    align-items: center;
    margin-top: 15px;
}

.event-info-pill {
    background: var(--white);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 50px;
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.98rem;
    color: #1e293b;
    transition: var(--transition);
}

.event-info-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(67, 97, 238, 0.12);
    border-color: #cbd5e1;
}

.event-info-pill.date-pill i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.event-info-pill.location-pill i {
    color: #ef4444;
    font-size: 1.1rem;
}

/* Hero (Kapak) İçindeki Şık Transparan / Glassmorphic Rozetler */
.hero .hero-event-info {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    align-items: center;
}

.hero .event-info-pill {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero .event-info-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.hero .event-info-pill.date-pill i {
    color: #93c5fd;
}

.hero .event-info-pill.location-pill i {
    color: #fca5a5;
}

.hero-compact + .section {
    padding-top: 60px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 32px;
    align-items: start;
}

.about-grid > * {
    min-width: 0;
}

.about-grid .about-image {
    max-width: 400px;
    width: 100%;
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text {
    display: block;
    position: relative;
    box-sizing: border-box;
    height: auto;
    max-height: clamp(380px, 68vh, 680px);
    overflow-y: auto;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.about-text>*:first-child {
    margin-top: 0;
}

.about-text>*:last-child {
    margin-bottom: 0;
}

.about-text::-webkit-scrollbar {
    width: 6px;
}

.about-text::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 999px;
}

.about-text::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.about-text::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-bg);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

/* Kurullar ve Diğer Dinamik Bölümler Genel .section-content Yapısını Kullanır */
.section.kurullar .section-content,
#kurullar .section-content {
    max-height: clamp(380px, 68vh, 680px);
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Info Section */
.info {
    background-color: var(--light-bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-info {
    padding: 50px;
    background: var(--primary-color);
    color: var(--white);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-form {
    padding: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 50px 0 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo span {
    color: var(--primary-color);
}

.social-links {
    margin-bottom: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    color: #8892b0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Skip Navigation */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-nav:focus {
    top: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-grid .about-image {
        margin: 0 auto;
        max-width: 420px;
    }

    .section-content,
    .about-text {
        max-height: clamp(340px, 68vh, 560px);
        overflow-y: auto;
        padding: 24px 22px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0 20px;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        right: -100%;
        background: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-compact {
        padding: 95px 15px 35px 15px;
    }

    .hero-compact-title {
        font-size: 1.85rem;
    }

    .hero-compact-subtitle {
        font-size: 1.02rem;
    }

    .hero .hero-event-info,
    .hero-compact-info {
        flex-direction: column;
        gap: 10px;
    }

    .event-info-pill {
        width: 100%;
        max-width: 360px;
        justify-content: center;
        font-size: 0.92rem;
        padding: 9px 16px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-content,
    .about-text,
    .section.kurullar .section-content,
    #kurullar .section-content {
        max-height: clamp(300px, 65vh, 480px);
        overflow-y: auto;
        padding: 20px 18px;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }
}

/* ─── Event Poster & Lightbox Modal ─── */
.poster-card {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.poster-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(14, 30, 60, 0.2);
    border: 4px solid #ffffff;
    background: #0f172a;
    transition: var(--transition);
}

.poster-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(67, 97, 238, 0.25);
}

.event-poster {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: var(--transition);
}

.poster-wrapper:hover .event-poster {
    transform: scale(1.02);
}

.poster-ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.92) 0%, rgba(11, 15, 25, 0.5) 60%, transparent 100%);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 4;
}

.poster-wrapper:hover .poster-overlay {
    opacity: 1;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* Lightbox Modal */
.poster-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}

.poster-modal.active {
    display: flex;
}

.poster-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    cursor: default;
    animation: fadeInUp 0.3s ease;
}

.poster-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    background: transparent;
    border: none;
    line-height: 1;
    transition: var(--transition);
}

.poster-modal-close:hover {
    color: var(--accent-color);
    transform: scale(1.15);
}

/* ─── Duyuru (Popup) Modal ─── */
.app-popup-backdrop {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.app-popup-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.app-popup-dialog {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.8);
    width: 100%;
    max-width: 600px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    position: relative;
}

.app-popup-backdrop.active .app-popup-dialog {
    transform: scale(1) translateY(0);
}

.app-popup-header {
    padding: 20px 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.app-popup-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-popup-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.15);
}

.app-popup-title-area {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-popup-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.app-popup-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #bfdbfe;
}

.app-popup-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1;
}

.app-popup-close:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
    transform: scale(1.05);
}

.app-popup-body {
    padding: 22px 24px;
    overflow-y: auto;
    color: #334155;
    font-size: 0.96rem;
    line-height: 1.7;
    flex: 1;
}

.app-popup-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.app-popup-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.app-popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.app-popup-btn-primary {
    background: var(--primary-color);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
}

.app-popup-btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(67, 97, 238, 0.35);
}

.app-popup-btn-secondary {
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.app-popup-btn-secondary:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

@media (max-width: 640px) {
    .app-popup-dialog {
        max-width: 100%;
        margin: 10px;
        border-radius: 16px;
    }
    .app-popup-header {
        padding: 16px 18px;
    }
    .app-popup-body {
        padding: 18px;
    }
    .app-popup-footer {
        padding: 14px 18px;
    }
}

/* ─── Google Maps Harita Alanı (Tam Genişlik) ─── */
.google-maps-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #e2e8f0;
    line-height: 0;
    position: relative;
    border-top: 1px solid #e2e8f0;
}

.google-maps-wrapper {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.google-maps-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .google-maps-wrapper {
        height: 320px;
    }
}