/**
 * Aman Transportation - Frontend CSS
 * Premium Transportation Services - Kuwait
 */

:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #6c757d;
    --success: #198754;
    --danger: #dc3545;
    --warning: #f59e0b;
    --gold: #d4a843;
    --gold-light: #f0d78c;
    --dark: #0f172a;
    --dark-blue: #132561;
    --light: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

/* ============================================
   NAVBAR
   ============================================ */
#mainNav {
    background: rgba(15, 21, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    transition: var(--transition);
}

#mainNav.scrolled {
    background: rgba(15, 21, 42, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar-brand { font-size: 22px; }
.navbar-brand span { color: #fff; }
.navbar-brand small { color: var(--gold); font-weight: 500; }

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 60%;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    color: var(--dark) !important;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212,168,67,0.4);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold);
    color: var(--gold) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    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='%23d4a843' 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.5;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,168,67,0.15);
    border: 1px solid rgba(212,168,67,0.3);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-stat h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}

.hero-stat p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Booking Form Card */
.booking-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px;
}

.booking-card h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-select-aman, .form-input-aman {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.form-select-aman:focus, .form-input-aman:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.12);
}

.form-select-aman option { background: var(--dark); color: #fff; }

.form-label-aman {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.btn-book {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,168,67,0.3);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-section { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212,168,67,0.1), rgba(212,168,67,0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
}

.service-card .price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

/* ============================================
   TOUR CARDS
   ============================================ */
.tour-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

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

.tour-image {
    height: 200px;
    background: linear-gradient(135deg, var(--dark-blue), var(--dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tour-image i {
    font-size: 48px;
    color: rgba(212,168,67,0.3);
}

.tour-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.tour-content { padding: 24px; }

.tour-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.tour-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.tour-meta span {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-meta i { color: var(--gold); font-size: 14px; }

.tour-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.tour-price .amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
}

.tour-price .per {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section {
    background: linear-gradient(135deg, var(--dark-blue), var(--dark));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.why-section .section-title { color: #fff; }
.why-section .section-subtitle { color: rgba(255,255,255,0.6); }

.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 20px;
}

.why-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    padding: 60px 0;
    border-radius: var(--radius);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-banner h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 16px;
    color: rgba(15,21,42,0.7);
    margin-bottom: 0;
}

.btn-cta {
    background: var(--dark);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    border: none;
    transition: var(--transition);
}

.btn-cta:hover {
    background: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark) !important; }

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

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark) !important;
    transform: translateY(-2px);
}

/* ============================================
   PASSENGER DASHBOARD
   ============================================ */
.passenger-sidebar {
    background: var(--dark);
    min-height: 100vh;
    padding: 24px 16px;
    position: fixed;
    width: 260px;
}

.passenger-main {
    margin-left: 260px;
    padding: 24px;
    min-height: 100vh;
    background: var(--light);
}

.passenger-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 4px;
}

.passenger-nav a:hover, .passenger-nav a.active {
    background: rgba(212,168,67,0.15);
    color: var(--gold);
}

/* Booking Card */
.booking-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.booking-item:hover { box-shadow: var(--shadow); border-color: var(--gold); }

.booking-ref {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--gold);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .hero-title { font-size: 40px; }
    .hero-stats { gap: 24px; }
    .passenger-sidebar { width: 100%; position: relative; min-height: auto; }
    .passenger-main { margin-left: 0; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 32px; }
    .section-title { font-size: 28px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .cta-banner h3 { font-size: 24px; }
}

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

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
