/* Estilos Principales - Sistema de Gestión y Reserva de Paquetes Turísticos */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0284c7;
    --primary-dark: #0369a1;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    
    /* Asientos */
    --seat-disponible: #10b981;
    --seat-bloqueado: #f59e0b;
    --seat-ocupado: #ef4444;
    --seat-seleccionado: #3b82f6;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
.navbar-custom {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff;
}

.navbar-custom .nav-link {
    color: #cbd5e1;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
    color: #38bdf8;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 90px 0;
    border-radius: 0 0 24px 24px;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Tarjetas de Paquetes */
.card-package {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.card-package:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
}

.card-package-img {
    height: 220px;
    object-fit: cover;
}

.badge-destination {
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Selector Gráfico de Asientos del Colectivo */
.bus-container {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.bus-steering-wheel {
    text-align: right;
    border-bottom: 2px dashed #cbd5e1;
    padding-bottom: 12px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.seat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.seat-aisle {
    grid-column: span 1;
}

.seat-btn {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.seat-btn.disponible {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #34d399;
}

.seat-btn.disponible:hover {
    background-color: #a7f3d0;
    transform: scale(1.06);
}

.seat-btn.bloqueado {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
    cursor: not-allowed;
}

.seat-btn.ocupado, .seat-btn.reservado {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
    cursor: not-allowed;
    opacity: 0.7;
}

.seat-btn.seleccionado {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #1d4ed8 !important;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Leyenda de Asientos */
.seat-legend {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    background: #f1f5f9;
    border-radius: 12px;
    margin-bottom: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.legend-color {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.legend-disponible { background-color: var(--seat-disponible); }
.legend-bloqueado { background-color: var(--seat-bloqueado); }
.legend-ocupado { background-color: var(--seat-ocupado); }
.legend-seleccionado { background-color: var(--seat-seleccionado); }

/* Steps Navigation Wizard */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.wizard-step {
    flex: 1;
    text-align: center;
    padding: 12px 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 3px solid #e2e8f0;
}

.wizard-step.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.wizard-step.completed {
    color: #10b981;
    border-bottom-color: #10b981;
}

/* Sidebar Dashboard Admin */
.admin-sidebar {
    background: #0f172a;
    color: #94a3b8;
    min-height: 100vh;
}

.admin-sidebar .nav-link {
    color: #94a3b8;
    padding: 12px 20px;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 4px;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background: #1e293b;
    color: #38bdf8;
}

/* Footer */
footer {
    margin-top: auto;
    background: #0f172a;
    color: #94a3b8;
    padding: 30px 0;
}
