/* Modern Travel Theme inspired by EasyTrip.pk */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-primary: 'Poppins', sans-serif;
    --color-primary: #e76f51; /* Warm adventure orange */
    --color-primary-hover: #d95d3f;
    --color-secondary: #1d3557; /* Deep ocean/mountain navy */
    --color-secondary-hover: #152842;
    --color-dark: #0f172a;
    --color-light: #f8fafc;
    --color-muted: #64748b;
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-light);
    color: var(--color-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-secondary);
}

/* Gradients and background */
.bg-gradient-premium {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #0f172a 100%);
    color: #ffffff;
}

/* Redesigned Hero Section */
.hero-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: var(--shadow-lg);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    font-weight: 400;
    max-width: 650px;
}

/* Floating Booking Search Bar */
.search-filter-bar {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.search-filter-bar select,
.search-filter-bar input {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--color-dark);
    background-color: #f8fafc;
    transition: var(--transition);
}

.search-filter-bar select:focus,
.search-filter-bar input:focus {
    border-color: var(--color-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.15);
}

/* Interactive Card Design */
.card-premium {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(231, 111, 81, 0.2);
}

.card-premium-img {
    height: 240px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.card-premium:hover .card-premium-img {
    transform: scale(1.04);
}

/* Buttons */
.btn-premium {
    background: var(--color-primary);
    border: none;
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(231, 111, 81, 0.3);
}

.btn-premium:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 111, 81, 0.5);
    color: #ffffff;
}

.btn-premium:active {
    transform: translateY(0);
}

.btn-premium-outline {
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 12px;
    transition: var(--transition);
}

.btn-premium-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(231, 111, 81, 0.3);
}

/* Navbar */
.navbar-custom {
    background: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 18px 0;
    box-shadow: var(--shadow-sm);
}

.navbar-custom .navbar-brand {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.navbar-custom .navbar-brand span {
    color: var(--color-primary);
}

.navbar-custom .nav-link {
    font-weight: 600;
    color: var(--color-muted);
    margin: 0 10px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.navbar-custom .nav-link:hover, 
.navbar-custom .nav-link.active {
    color: var(--color-primary);
}

/* Sidebar navigation for Admin */
.admin-sidebar {
    background: var(--color-secondary);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 100vh;
    padding: 30px 20px;
}

.admin-sidebar h2 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 30px;
    padding-left: 10px;
}

.admin-sidebar .nav-link {
    color: #94a3b8;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 6px;
    transition: var(--transition);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-primary);
}

/* Stats Cards */
.stat-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
}

.stat-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-card-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.stat-card-icon {
    position: absolute;
    right: 24px;
    bottom: 24px;
    font-size: 2.5rem;
    color: rgba(231, 111, 81, 0.1);
}

/* Badges for status */
.badge-pending {
    background-color: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-confirmed {
    background-color: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-completed {
    background-color: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-cancelled {
    background-color: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Custom form custom-controls */
.form-label-custom {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.form-control-custom {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control-custom:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.15);
}

/* Footer layout style */
.footer-custom {
    background: var(--color-secondary);
    color: #cbd5e1;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-custom h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-custom a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-custom a:hover {
    color: var(--color-primary);
}

/* Inline card icon-badge */
.card-icon-badge {
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-muted);
}

.card-icon-badge i {
    color: var(--color-primary);
    margin-right: 6px;
}

/* Navigation Enhancements */
.navbar-custom {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    transition: var(--transition);
}
.navbar-custom.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

/* Floating Search Widget and Tabs */
.search-widget-container {
    margin-top: -80px;
    position: relative;
    z-index: 100;
}

.search-tab-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.search-nav-tabs {
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0 20px;
}

.search-nav-tabs .nav-link {
    border: none;
    color: var(--color-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 20px;
    position: relative;
    background: transparent;
    transition: var(--transition);
}

.search-nav-tabs .nav-link:hover {
    color: var(--color-primary);
}

.search-nav-tabs .nav-link.active {
    color: var(--color-primary);
    background: transparent;
}

.search-nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px 3px 0 0;
}

.search-tab-content {
    padding: 30px;
}

/* Features grid */
.feature-box {
    padding: 30px;
    border-radius: var(--border-radius);
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(231, 111, 81, 0.2);
}
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(231, 111, 81, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Styled Section Headers */
.section-subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

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

/* Image Banner for Inner Pages */
.inner-page-banner {
    background: linear-gradient(rgba(29, 53, 87, 0.85), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1596701062351-df5f8a4261e5?q=80&w=1920') no-repeat center center/cover;
    padding: 80px 0;
    color: #ffffff;
    border-radius: 0 0 24px 24px;
    margin-bottom: 50px;
}

.inner-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
}

/* Card Badge positioning & Rating */
.rating-stars i {
    font-size: 0.85rem;
    color: #f59e0b;
}

.card-badge-top {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

/* Filter sidebar card */
.filter-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    border-bottom: 2px solid rgba(231, 111, 81, 0.1);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

/* Details and Booking layouts */
.booking-sidebar-card {
    position: sticky;
    top: 100px;
}

/* Timeline/Itinerary */
.itinerary-timeline {
    position: relative;
    padding-left: 30px;
}
.itinerary-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 2px;
    height: calc(100% - 20px);
    background: #e2e8f0;
}
.itinerary-step {
    position: relative;
    margin-bottom: 30px;
}
.itinerary-step::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -25px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.2);
    z-index: 2;
}

/* Why choose us background */
.bg-light-gray {
    background-color: #f8fafc;
}
