/* ===================================
   GAEK 2026 - Program Sayfası CSS
   =================================== */

/* === Program Header === */
.program-header {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: var(--bg-white);
    padding: 8rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.program-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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");
    opacity: 0.4;
}

.program-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.program-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.program-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    color: var(--bg-white);
}

/* === Quick Stats === */
.quick-stats {
    background: var(--bg-white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid-program {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: #dc2626 !important;
    margin-bottom: 0.25rem;
}

/* Stat number ID override */
#statDays,
#statSessions,
#statSpeakers,
#statSatellite {
    color: #dc2626 !important;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: var(--font-weight-medium);
}

/* === Action Buttons === */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.9375rem;
}

.action-btn:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-btn svg {
    flex-shrink: 0;
}

/* === Day Filter Tabs === */
.day-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0 1rem;
    flex-wrap: wrap;
}

.day-tab {
    padding: 1rem 2rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.day-tab:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.day-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
}

/* === Search Bar === */
.program-search {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-medium);
}

/* === Program Timeline === */
.program-timeline {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.day-section {
    margin-bottom: 4rem;
}

.day-section.hidden {
    display: none;
}

.day-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    color: var(--bg-white);
}

.day-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.day-title h2 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    color: var(--bg-white);
}

.day-subtitle {
    font-size: 1rem;
    opacity: 1;
    color: #ffffff;
    font-weight: var(--font-weight-medium);
}

/* === Session Cards === */
.session-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.session-card {
    background: var(--bg-white);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
}

.session-card.hidden {
    display: none;
}

.session-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.session-header {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-bottom: 2px solid var(--border-color);
}

.session-time {
    flex-shrink: 0;
    text-align: center;
    min-width: 80px;
}

.time-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 8px;
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
}

.session-info {
    flex-grow: 1;
}

.session-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-semibold);
}

.session-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.5rem;
}

.session-moderators {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin-top: 0.5rem;
}

.session-moderators strong {
    color: var(--text-dark);
}

.session-body {
    padding: 1.5rem;
}

.session-talks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.talk-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.talk-item:hover {
    background: #e0f2fe;
}

.talk-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.talk-content {
    flex-grow: 1;
}

.talk-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.talk-speaker {
    color: var(--text-medium);
    font-size: 0.9375rem;
}

/* === Favorite Button === */
.favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
}

.favorite-btn:hover {
    transform: scale(1.1);
    border-color: #f59e0b;
}

.favorite-btn.active {
    background: #fef3c7;
    border-color: #f59e0b;
}

.favorite-btn svg {
    width: 20px;
    height: 20px;
    stroke: #d97706;
    fill: none;
    transition: fill var(--transition-fast);
}

.favorite-btn.active svg {
    fill: #f59e0b;
    stroke: #f59e0b;
}

.session-card {
    position: relative;
}

/* === Special Sessions === */
.session-card.highlight {
    border-color: #10b981;
    border-width: 3px;
}

.session-card.highlight .session-header {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

/* === Satellite Symposium (Uydu Sempozyumu) === */
.session-card.satellite {
    border-color: #f59e0b;
    border-width: 2px;
}

.session-card.satellite .session-header {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.sponsor-logo {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    background: var(--bg-white);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* === Gallery Section === */
.program-gallery {
    background: var(--bg-light);
    padding: var(--spacing-xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* === No Results === */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.no-results.show {
    display: block;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-medium);
}

/* === Responsive === */
@media (max-width: 768px) {
    .program-header h1 {
        font-size: 2.5rem;
    }

    .day-filter {
        flex-direction: column;
        padding: 1rem 0;
    }

    .day-tab {
        width: 100%;
        text-align: center;
    }

    .session-header {
        flex-direction: column;
        gap: 1rem;
    }

    .session-time {
        min-width: auto;
    }

    .sponsor-logo {
        margin: 0 auto;
        width: 100px;
        height: 70px;
    }

    .talk-item {
        flex-direction: column;
        text-align: center;
    }

    .talk-icon {
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* === Modal === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    z-index: 2001;
    background: var(--bg-white);
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

.speaker-search-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.speaker-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.speakers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.speaker-item {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.speaker-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.speaker-item.hidden {
    display: none;
}

.speaker-name {
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.speaker-sessions {
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* Print Styles */
@media print {
    .navbar,
    .quick-stats,
    .day-filter,
    .program-search,
    .action-buttons,
    .favorite-btn,
    .cta-section,
    .footer {
        display: none !important;
    }

    .program-header {
        padding: 2rem 0 1rem;
    }

    .session-card {
        page-break-inside: avoid;
        border: 1px solid #000;
        margin-bottom: 1rem;
    }

    body {
        background: white;
    }
}

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .speakers-list {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid-program {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Favorite Info */
.favorite-info {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.favorite-info p {
    margin: 0;
    color: #78350f;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.favorite-info strong {
    color: #92400e;
}

@media (max-width: 768px) {
    .favorite-info {
        margin-top: 1rem;
        padding: 1rem;
        font-size: 0.875rem;
    }
}

/* Favorite Tab Special Style */
.day-tab.favorite-tab {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
    color: #92400e;
    font-weight: 700;
}

.day-tab.favorite-tab:hover {
    background: linear-gradient(135deg, #fde68a, #fcd34d);
    border-color: #f59e0b;
}

.day-tab.favorite-tab.active {
    background: #f59e0b;
    border-color: #f59e0b;
    color: var(--bg-white);
}

/* Empty Favorites Message */
.empty-favorites {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    display: none;
}

.empty-favorites.show {
    display: block;
}

.empty-favorites-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-favorites h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.empty-favorites p {
    color: var(--text-medium);
    max-width: 500px;
    margin: 0 auto;
}