/* ========================================
   CSS Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Cyan Theme dari Figma */
    --primary: #00bcd4;
    --primary-dark: #0097a7;
    --primary-light: #b2ebf2;
    --secondary: #0066ff;
    --bg-light: #b0e0e6;
    --bg-gradient-start: #a8dadc;
    --bg-gradient-end: #b0e0e6;
    
    /* Neutral Colors */
    --dark: #1a1a1a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    background: var(--primary);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
}

.logo-text {
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.8;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--white);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    background: var(--white);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    display: none;
    overflow: hidden;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.2s;
}

.user-dropdown a:hover {
    background: var(--light-gray);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    padding: 320px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 32px;
    opacity: 0.8;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
    transform: scale(1);
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* ========================================
   Search Section
   ======================================== */
.search-section {
    padding: 60px 0;
    background: var(--white);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.search-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.search-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--dark);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.form-group select,
.form-group input {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-body);
    transition: all 0.3s;
    background: var(--white);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.btn-search {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-choose {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   Promotions Section
   ======================================== */
.promotions {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--primary-dark);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.promo-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.promo-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
}

.promo-content {
    padding: 24px;
}

.promo-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.promo-content p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.promo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-validity {
    font-size: 14px;
    color: var(--gray);
}

.btn-promo {
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-promo:hover {
    background: var(--primary-dark);
}

/* ========================================
   My Tickets Page
   ======================================== */
.my-tickets-section {
    padding: 60px 0;
    background: var(--light-gray);
    min-height: 80vh;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--gray);
    font-size: 16px;
}

.btn-book-new {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-book-new:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.tickets-section {
    margin-bottom: 48px;
}

.tickets-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ticket-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.ticket-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.ticket-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.ticket-code {
    font-size: 14px;
    color: var(--gray);
}

.ticket-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-confirmed {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-upcoming {
    background: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background: var(--light-gray);
    color: var(--gray);
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.ticket-route {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 12px;
}

.route-icon {
    color: var(--primary);
}

.route-details strong {
    display: block;
    font-size: 16px;
    color: var(--dark);
}

.route-details span {
    font-size: 14px;
    color: var(--gray);
}

.route-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    position: relative;
}

.ticket-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.ticket-actions {
    display: flex;
    gap: 12px;
}

.btn-qr,
.btn-download {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-qr {
    background: var(--dark);
    color: var(--white);
}

.btn-qr:hover {
    background: #2d3748;
}

.btn-download {
    background: var(--light-gray);
    color: var(--dark);
}

.btn-download:hover {
    background: var(--border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.filter-select {
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.history-item {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.history-item:hover {
    box-shadow: var(--shadow);
}

.history-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.history-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.history-route {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 4px;
}

.history-date,
.history-seat {
    font-size: 13px;
    color: var(--gray);
}

.history-status {
    margin-right: 24px;
}

.btn-view-details {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.btn-view-details:hover {
    background: var(--primary-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: var(--white);
    margin: 10% auto;
    padding: 40px;
    border-radius: 16px;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray);
}

.modal-close:hover {
    color: var(--dark);
}

.modal-content h3 {
    margin-bottom: 24px;
    color: var(--dark);
}

.modal-text {
    margin-top: 16px;
    color: var(--gray);
}

/* ========================================
   Schedule Page
   ======================================== */
.schedule-section {
    padding: 60px 0;
    background: var(--light-gray);
    min-height: 80vh;
}

.schedule-search-form {
    margin: 0;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.results-section {
    margin-top: 40px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
}

.results-info p {
    color: var(--gray);
    font-size: 14px;
}

.sort-by {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-by label {
    font-size: 14px;
    color: var(--gray);
}

.sort-by select {
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
}

.schedule-table-container {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table thead {
    background: var(--primary);
    color: var(--white);
}

.schedule-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.schedule-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.schedule-table tbody tr:hover {
    background: var(--light-gray);
}

.train-number {
    font-weight: 600;
    color: var(--dark);
}

.train-name {
    color: var(--dark);
}

.time-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-main {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.duration {
    color: var(--gray);
    font-size: 14px;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.action-cell {
    text-align: center;
}

.btn-book {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.btn-book:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-sold-out {
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
}

.schedule-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #fef3c7;
    border-radius: 12px;
    margin-top: 20px;
    color: #92400e;
}

.schedule-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.schedule-note p {
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   Promotions Page
   ======================================== */
.promotions-page {
    padding: 60px 0;
    background: var(--light-gray);
    min-height: 80vh;
}

.filter-section {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.filter-label {
    font-weight: 600;
    color: var(--dark);
}

.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid var(--border);
    color: var(--dark);
    background: var(--white);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.promotion-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.promotion-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.promotion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.promo-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ef4444;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.promotion-content {
    padding: 24px;
}

.promo-type-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.promotion-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.promotion-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.promo-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.promo-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.promo-detail-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.promo-detail-item .detail-label {
    font-size: 12px;
    color: var(--gray);
    display: block;
}

.promo-detail-item .detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.btn-promo-book {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-promo-book:hover {
    background: var(--primary-dark);
}

.promo-info-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.info-card svg {
    color: var(--primary);
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 12px;
}

.empty-state svg {
    color: var(--gray);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 24px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-description {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-links h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-contact ul {
    list-style: none;
    margin-bottom: 24px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    text-align: center;
    opacity: 0.9;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .features-grid,
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 24px;
        transition: left 0.3s;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ========================================
   Additional Enhancements
   ======================================== */

/* Smooth transitions for all interactive elements */
* {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Improved button hover effects */
.btn-primary,
.btn-search,
.btn-login,
.btn-promo {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-search::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-search:hover::before {
    width: 300px;
    height: 300px;
}

/* Alert/Message styles */
.alert,
.success-message,
.error-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Card hover lift effect */
.feature-card,
.promo-card {
    will-change: transform;
}

/* Form focus states */
.form-group input:focus,
.form-group select:focus {
    transform: translateY(-2px);
}

/* Skeleton loading for images */
.promo-image,
.hero-image {
    position: relative;
    background: var(--light-gray);
}

.promo-image::before,
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    to {
        left: 100%;
    }
}

/* Improved mobile menu animation */
@media (max-width: 768px) {
    .nav-menu {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        left: 0;
    }
}

/* Ticket card styles (for My Tickets page) */
.ticket-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}

.ticket-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Pagination styles */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-state svg {
    width: 120px;
    height: 120px;
    opacity: 0.3;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark);
}

/* Improved table styles (for admin) */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table thead {
    background: var(--primary);
    color: var(--white);
}

.data-table th,
.data-table td {
    padding: 16px;
    text-align: left;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.data-table tbody tr:hover {
    background: var(--light-gray);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tooltip */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--dark);
    color: var(--white);
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    margin-bottom: 8px;
}

.tooltip:hover::before {
    opacity: 1;
}

.btn-confirm-sidebar {
    background: var(--primary);
    color: var(--white);
}
.btn-confirm-sidebar:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

