
/**
 * Tatil Asistanı - Ana Stil Dosyası
 * Mobil öncelikli, modern ve kullanıcı dostu tasarım
 */

/* ===== Genel Stiller ===== */
:root {
    --primary-color: #6f42c1;
    --primary-dark: #5a32a3;
    --secondary-color: #0dcaf0;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding-bottom: 80px;
}

/* ===== Purple Theme ===== */
.bg-purple {
    background-color: var(--primary-color) !important;
}

.text-purple {
    color: var(--primary-color) !important;
}

.btn-purple {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transition: var(--transition);
}

.btn-purple:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.3);
}

/* ===== Navigation ===== */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(111, 66, 193, 0.95) !important;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-link {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ===== Bottom Navigation ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.75rem;
    transition: var(--transition);
    flex: 1;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary-color);
    background-color: rgba(111, 66, 193, 0.05);
}

/* ===== Cards ===== */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-header {
    background-color: var(--light-bg);
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

/* ===== Login Page ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-card {
    max-width: 500px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.login-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.login-body {
    padding: 2rem;
}

.qr-scanner-area {
    background: var(--light-bg);
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius);
    padding: 3rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.qr-scanner-area:hover {
    background-color: rgba(111, 66, 193, 0.05);
    border-color: var(--primary-dark);
}

.qr-scanner-area i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider span {
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.875rem;
}

/* ===== Dashboard ===== */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.countdown-timer {
    background: white;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
}

/* ===== Quick Access Cards ===== */
.quick-access-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark-text);
    display: block;
}

.quick-access-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

.quick-access-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.quick-access-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* ===== Baggage Checklist ===== */
.checklist-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.checklist-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checklist-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    cursor: pointer;
}

.checklist-item.checked {
    opacity: 0.6;
    text-decoration: line-through;
}

.checklist-category {
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 0.75rem 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border-radius: 8px;
}

/* ===== Places Cards ===== */
.place-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.place-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.place-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.place-content {
    padding: 1rem;
}

.place-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.place-distance {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ===== Survey Form ===== */
.survey-question {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
    margin-top: 1rem;
}

.rating-stars i {
    cursor: pointer;
    color: #dee2e6;
    transition: var(--transition);
}

.rating-stars i:hover,
.rating-stars i.active {
    color: #ffc107;
}

/* ===== Emergency Contacts ===== */
.emergency-contact {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.emergency-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.emergency-icon.danger {
    background-color: var(--danger-color);
}

.emergency-icon.success {
    background-color: var(--success-color);
}

.emergency-icon.warning {
    background-color: var(--warning-color);
}

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

.animate-fade-in {
    animation: fadeInUp 0.5s ease;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .welcome-banner {
        padding: 1.5rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .quick-access-card i {
        font-size: 2rem;
    }
    
    .place-image {
        height: 150px;
    }
}

/* ===== Utilities ===== */
.shadow-sm-custom {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow-custom {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.rounded-custom {
    border-radius: var(--border-radius) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
