/* Reset ve temel stiller - Profesyonel Check-in Tasarımı */
:root {
    --color-primary: #0f4c75;
    --color-primary-light: #1b6ca8;
    --color-accent: #00b4d8;
    --color-success: #059669;
    --color-warning: #d97706;
    --color-error: #dc2626;
    --color-text: #0f172a;
    --color-text-muted: #475569;
    --color-bg-light: #f8fafc;
    --color-border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(15, 76, 117, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 76, 117, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 76, 117, 0.12);
    --radius: 12px;
    --radius-lg: 16px;
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(160deg, #0f4c75 0%, #1b6ca8 50%, #0e7490 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* Header stilleri */
.main-header {
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 3rem;
    margin-right: 20px;
    color: #7dd3fc;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.main-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Ana içerik */
.congress-selection {
    margin-bottom: 50px;
}

.selection-intro {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.selection-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.selection-intro p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Kongre grid */
.congress-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Kongre kartları */
.congress-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: 0 4px 12px rgba(15, 76, 117, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
}

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

.congress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.congress-card:hover::before {
    transform: scaleX(1);
}

 

.card-header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.card-logo {
    width: 180px;
    height: 80px;
    margin: 0 auto 15px;
    display: block;
    object-fit: contain;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card-icon.fa-heartbeat {
    color: var(--color-error);
}

.card-icon.fa-laptop-code {
    color: var(--color-primary);
}

.card-icon.fa-graduation-cap {
    color: var(--color-success);
}

.card-icon.fa-chart-line {
    color: var(--color-warning);
}

.card-header h3 {
    color: #495057;
    font-size: 1.5rem;
    margin: 0;
}

.card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.congress-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.congress-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    justify-content: space-between;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #495057;
    font-size: 0.95rem;
}

.detail-item i {
    color: var(--color-primary);
    width: 20px;
    text-align: center;
}

.card-footer {
    padding: 20px 25px;
    background: #ffffff;
    border-top: 1px solid var(--color-border);
}

.select-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

.select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 76, 117, 0.35);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
}

.select-btn i {
    transition: transform 0.3s ease;
}

.select-btn:hover i {
    transform: translateX(5px);
}

/* Bilgi kutusu */
.selection-info {
    text-align: center;
    margin-bottom: 40px;
}

.info-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.info-box i {
    font-size: 1.4rem;
    color: #7dd3fc;
}

.info-box p {
    margin: 0;
    font-size: 1.1rem;
}

/* Footer - sabit altta, border/background yok */
.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.main-footer p {
    margin: 0;
}

/* İçerik footer altında kalmasın diye boşluk */
.congress-selection {
    padding-bottom: 60px;
}

/* Modal stilleri - backdrop-filter kaldırıldı (performans) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.2s ease-out;
    border: 1px solid var(--color-border);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 24px 28px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #495057;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 117, 0.35);
}

.btn-secondary {
    background: #64748b;
    color: white;
}

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

/* Kongre Seçim Modal Kartları */
.kongre-secim-container {
    margin: 25px 0;
}

.secim-kartlari {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.secim-karti {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.secim-karti:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.secim-karti::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.secim-karti:hover::before {
    transform: scaleX(1);
}

.secim-ikon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.secim-ikon i {
    font-size: 2rem;
    color: white;
}

.secim-karti:hover .secim-ikon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.secim-karti h4 {
    color: #495057;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.secim-karti p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.secim-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

#checkinKarti .secim-ikon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

#checkinKarti:hover .secim-ikon {
    box-shadow: 0 10px 25px rgba(15, 76, 117, 0.35);
}

/* Check-in kartı hover özel rengi */
#checkinKarti:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(15, 76, 117, 0.2);
}

#checkinKarti::before {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* Congress Hotels */
.congress-hotels {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.congress-hotels h4 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    font-weight: 600;
}

.congress-hotels h4 i {
    color: #6f42c1;
    margin-right: 5px;
}

.hotels-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hotel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid #6f42c1;
    backdrop-filter: blur(10px);
}

.hotel-name {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hotel-name i {
    color: #6f42c1;
    font-size: 0.8rem;
}

.hotel-location {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.more-hotels {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.more-text {
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
}

.more-text i {
    color: white;
}

/* Kongre yok mesajı */
.no-congress-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-congress-content {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    color: white;
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.no-congress-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.no-congress-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.no-congress-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Success/Notification toasts */
.success-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: toastSlideIn 0.25s ease-out;
}
.success-notification.fade-out {
    animation: toastFadeOut 0.3s ease-out forwards;
}
@keyframes toastSlideIn {
    from { transform: translateX(-50%) translateY(-20px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
@keyframes toastFadeOut {
    to { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* Notification toast (check-in vb.) */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10001;
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlideRight 0.2s ease-out;
}
.notification-toast.toast-fade-out { animation: toastFadeRight 0.25s ease-out forwards; }
.notification-toast.notification-success { background: #28a745; }
.notification-toast.notification-error { background: #dc3545; }
.notification-toast.notification-warning { background: #fd7e14; }
.notification-toast.notification-info { background: #17a2b8; }
@keyframes toastSlideRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes toastFadeRight {
    to { transform: translateX(20px); opacity: 0; }
}

/* Error message */
.error-message {
    background: #ffebee;
    border: 1px solid #f44336;
    padding: 15px;
    margin: 20px;
    border-radius: 5px;
    color: #c62828;
    font-weight: 500;
}

/* Check-in Modal Stilleri */
.checkin-modal-content {
    max-width: 500px;
}

.checkin-container {
    text-align: center;
    padding: 20px 0;
}

.checkin-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(15, 76, 117, 0.25);
}

.checkin-icon i {
    font-size: 2.2rem;
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.checkin-container h4 {
    color: #495057;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.checkin-container p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.checkin-form {
    max-width: 350px;
    margin: 0 auto;
}

.phone-input-container {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.phone-input-container:focus-within {
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

.phone-prefix {
    background: #e9ecef;
    padding: 15px 12px;
    font-weight: 600;
    color: #495057;
    border-right: 2px solid #dee2e6;
    white-space: nowrap;
}

.phone-input-container input {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
    color: #495057;
}

.phone-input-container input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.input-help {
    display: block;
    margin-top: 8px;
    color: #6c757d;
    font-size: 0.85rem;
    text-align: left;
}

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

.checkin-submit-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    min-width: 150px;
}

.checkin-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 76, 117, 0.35);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
}

.checkin-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #6c757d;
    font-size: 0.9rem;
}

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

/* Check-in Modal Form Group */
.checkin-form .form-group {
    text-align: left;
    margin-bottom: 20px;
}

#checkinOtp {
    width: 100%;
    padding: 15px;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    text-align: center;
    border: 2px solid #dee2e6;
    border-radius: 10px;
}

.otp-dev-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #6c757d;
}

.otp-countdown {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.otp-countdown.otp-expired {
    color: #dc3545;
}

.checkin-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

/* Responsive tasarım */
@media (max-width: 1400px) {
    .congress-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        max-width: 100%;
    }
    
    .main-header h1 {
        font-size: 2.5rem;
    }
    
    .logo-icon {
        font-size: 2.5rem;
    }
    
    .selection-intro h2 {
        font-size: 2rem;
    }
    
    .congress-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-logo {
        width: 180px;
        height: 70px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .modal-content {
        margin: 10px auto;
        width: 95%;
        max-height: 95vh;
    }
    
    .secim-kartlari {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .secim-karti {
        padding: 20px;
    }
    
    .secim-ikon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .secim-ikon i {
        font-size: 1.5rem;
    }
    
    .checkin-modal-content {
        margin: 15% auto;
        width: 95%;
    }
    
    .checkin-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .checkin-actions .btn {
        flex: 1;
        min-width: 120px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .main-header h1 {
        font-size: 2rem;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .card-logo {
        width: 180px;
        height: 60px;
    }
    
    .congress-card {
        margin: 0 10px;
    }
    
    .modal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* ── Footer iletişim notu ─────────────────────────────────── */
.footer-iletisim {
    font-size: .82rem;
    color: #fff;
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-iletisim i {
    color:#fff;
    flex-shrink: 0;
}
.footer-iletisim a {
    color: #cbd5e1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}
.footer-iletisim a:hover { color: #fff; }

.footer-wp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(22,163,74,.2);
    color: #86efac !important;
    padding: 2px 9px;
    border-radius: 20px;
}
.footer-wp i { color: #4ade80; font-size: .95rem; }
.footer-wp:hover { background: rgba(22,163,74,.35); color: #bbf7d0 !important; }
.footer-wp-label {
    font-size: .7rem;
    font-weight: 700;
    background: #16a34a;
    color: #fff;
    padding: 1px 6px;
    border-radius: 10px;
    letter-spacing: .02em;
}

.footer-mail {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #cbd5e1 !important;
}
.footer-mail i { color: #a5b4fc; }
.footer-mail:hover { color: #fff !important; }

/* Transfer — 10 yaş altı ücretsiz badge */
.transfer-ucretsiz-kisi { opacity: .85; }
.transfer-ucretsiz-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #065f46;
    border: 1px solid #6ee7b7;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    margin: 4px 0 12px;
}
.transfer-ucretsiz-badge i { color: #10b981; font-size: 16px; }
