/* Turkish Mediterranean Transfer Booking Website - Custom Styles */

/* ===== CSS VARIABLES ===== */
:root {
    /* Turkish Mediterranean Color Palette */
    --deep-blue: #1e3a8a;
    --turquoise: #06b6d4;
    --aquamarine: #22d3ee;
    --sunset-orange: #f97316;
    --sandy-beige: #fbbf24;
    --warm-white: #fefefe;
    --soft-gray: #f8fafc;
    --dark-gray: #374151;
    --success-green: #10b981;
    --warning-red: #ef4444;
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Shadows */
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--warm-white);
    overflow-x: hidden;
    padding-top: 80px; /* Add padding to prevent header overlap */
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

[dir="rtl"] .navbar-brand {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: calc(100vh - 80px); /* Adjust for header height */
    background: linear-gradient(135deg, rgba(0, 123, 191, 0.8) 0%, rgba(0, 188, 212, 0.8) 50%, rgba(0, 229, 255, 0.8) 100%), url('/assets/images/Alanya.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Section Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: calc(100vh - 70px);
        background-attachment: scroll;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: calc(100vh - 60px);
        padding: 2rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: calc(100vh - 50px);
        padding: 1.5rem 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.1);
    z-index: 1;
}

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

.hero-text {
    color: var(--warm-white);
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Title Responsive */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 0.75rem;
    }
}

.turkish-accent {
    color: var(--sandy-beige);
    position: relative;
}

.turkish-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sunset-orange), var(--sandy-beige));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.feature-item i {
    color: var(--sandy-beige);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

/* Hero Features Responsive */
@media (max-width: 767.98px) {
    .hero-subtitle {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-features {
        gap: 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-subtitle {
        margin-bottom: 1rem;
    }
    
    .hero-features {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        justify-content: center;
    }
}

/* ===== BOOKING CARD ===== */
.booking-card {
    background: var(--warm-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.booking-header {
    background: linear-gradient(135deg, var(--deep-blue), var(--turquoise));
    color: var(--warm-white);
    padding: 2rem;
    text-align: center;
}

.booking-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.booking-subtitle {
    opacity: 0.9;
    margin: 0;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.booking-body {
    padding: 2rem;
}

/* Booking Card Responsive */
@media (max-width: 767.98px) {
    .booking-header {
        padding: 1.5rem;
    }
    
    .booking-body {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .booking-header {
        padding: 1rem;
    }
    
    .booking-body {
        padding: 1rem;
    }
}

.quick-booking-section,
.datetime-section,
.flight-section {
    margin-bottom: 1.5rem;
}

.form-floating label {
    color: var(--dark-gray);
    font-weight: 500;
}

.form-select,
.form-control {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.quick-book-btn {
    background: linear-gradient(135deg, var(--sunset-orange), var(--sandy-beige));
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.quick-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* ===== SECTION STYLES ===== */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    position: relative;
    display: inline-block;
}

.turkish-pattern {
    display: inline-block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--sunset-orange), var(--sandy-beige));
    margin: 0 1rem;
    vertical-align: middle;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    opacity: 0.8;
    margin-top: 1rem;
}

/* ===== FEATURED ROUTES SECTION ===== */
.featured-routes-section {
    background: #f8fafc;
    padding: var(--section-padding);
}

.route-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(6, 182, 212, 0.1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--turquoise);
}

.route-header {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--turquoise) 100%);
    color: var(--warm-white);
    padding: 1.5rem;
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.popularity-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.popularity-badge i {
    font-size: 0.8rem;
    color: #fff200;
}

.route-locations {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.from-location,
.to-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
}

.route-arrow {
    color: var(--sandy-beige);
    font-size: 1.2rem;
}

.route-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.route-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(6, 182, 212, 0.1);
    flex: 1;
    justify-content: center;
    text-align: center;
    min-height: 40px;
}

.info-item i {
    color: var(--turquoise);
    font-size: 0.9rem;
}

.route-price {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-gray);
    opacity: 0.8;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.price-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sunset-orange);
    text-shadow: 0 2px 4px rgba(247, 147, 30, 0.3);
    position: relative;
    z-index: 1;
}

.route-action {
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

.select-route-btn {
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--aquamarine) 100%);
    border: none;
    color: var(--warm-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    cursor: pointer;
}

.select-route-btn:hover {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--turquoise) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.select-route-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.select-route-btn i {
    font-size: 1rem;
    margin-right: 0.25rem;
}

/* ===== VEHICLE OPTIONS SECTION ===== */
.vehicle-options-section {
    padding: var(--section-padding);
}

.vehicle-card-modern {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.vehicle-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--turquoise);
}

.vehicle-card-modern.available {
    border-color: var(--success-green);
}

.vehicle-card-modern.available:hover {
    border-color: var(--turquoise);
}

/* Display-only vehicle cards (non-interactive) */
.vehicle-card-display {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    border: 2px solid var(--light-gray);
}

.vehicle-image {
    background: linear-gradient(135deg, var(--deep-blue), var(--turquoise));
    color: var(--warm-white);
    padding: 2rem;
    text-align: center;
}

.vehicle-image i {
    font-size: 3rem;
}

.vehicle-content {
    padding: 1.5rem;
}

.vehicle-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.vehicle-description {
    color: var(--dark-gray);
    opacity: 0.8;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.vehicle-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.feature i {
    color: var(--turquoise);
    width: 16px;
}

.vehicle-price {
    text-align: center;
    padding: 1rem;
    background: var(--soft-gray);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--deep-blue);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--soft-gray);
    padding: var(--section-padding);
}

.testimonial-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--sandy-beige);
}

.testimonial-image i {
    font-size: 2.5rem;
    color: var(--turquoise);
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--deep-blue);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--dark-gray);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== CALL TO ACTION SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--turquoise) 100%);
    color: var(--warm-white);
    padding: var(--section-padding);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.cta-feature i {
    color: var(--sandy-beige);
    font-size: 1.2rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--sunset-orange), var(--sandy-beige));
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* ===== LEGACY COMPATIBILITY ===== */
/* Vehicle Cards (old style compatibility) */
.vehicle-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.vehicle-card.selected {
    border-color: var(--turquoise);
    background-color: #f8f9ff;
}

.price-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--turquoise);
}

/* Booking Summary */
.booking-summary {
    background: var(--soft-gray);
    border: 1px solid #dee2e6;
    border-radius: var(--radius-md);
    padding: 20px;
}

/* Language and Currency Switchers */
.language-switcher .dropdown-toggle,
.currency-switcher .dropdown-toggle {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 0.9rem;
}

.language-switcher .dropdown-toggle:hover,
.currency-switcher .dropdown-toggle:hover {
    color: var(--turquoise);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--turquoise), var(--deep-blue));
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--deep-blue), var(--turquoise));
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 2px solid var(--turquoise);
    color: var(--turquoise);
    background: transparent;
    border-radius: var(--radius-md);
    padding: 10px 28px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--turquoise);
    color: var(--warm-white);
    border-color: var(--turquoise);
}

/* Header */
.navbar {
    box-shadow: var(--shadow-light);
    background: var(--warm-white) !important;
    backdrop-filter: blur(10px);
    min-height: 80px; /* Ensure consistent header height */
    z-index: 1030; /* Ensure header stays on top */
}

.navbar-brand {
    font-weight: 700;
    color: var(--deep-blue) !important;
    font-size: 1.5rem;
}

/* Language and Currency Selectors */
.language-selector,
.currency-selector {
    display: flex;
    align-items: center;
    margin: 0 10px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
}

.language-selector:hover,
.currency-selector:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--turquoise);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.language-selector i,
.currency-selector i {
    color: var(--turquoise);
    font-size: 0.875rem;
    margin-right: 8px;
}

.language-selector a,
.currency-selector a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    text-decoration: none;
    color: var(--deep-blue);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.language-selector a:hover,
.currency-selector a:hover {
    background: rgba(6, 182, 212, 0.15);
    color: var(--turquoise);
    transform: translateY(-1px);
}

.language-selector a.active,
.currency-selector a.active {
    background: var(--turquoise);
    color: var(--warm-white);
    box-shadow: var(--shadow-light);
    font-weight: 600;
}

.language-selector a.active::before,
.currency-selector a.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Navigation improvements */
.navbar .d-flex {
    gap: 10px;
}

.nav-link {
    color: var(--deep-blue) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--turquoise) !important;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* User menu styling */
.dropdown-toggle {
    color: var(--deep-blue) !important;
    font-weight: 500;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-md);
    padding: 8px 15px !important;
    background: rgba(6, 182, 212, 0.05);
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--turquoise);
    color: var(--turquoise) !important;
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--turquoise);
}

/* Mobile responsive improvements */
@media (max-width: 991.98px) {
    .language-selector,
    .currency-selector {
        margin: 5px 0;
        justify-content: center;
        width: 100%;
    }
    
    .navbar .d-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 15px;
    }
    
    .language-selector a,
    .currency-selector a {
        flex: 1;
        text-align: center;
    }
}

/* Footer */
.footer {
    background: var(--deep-blue);
    color: var(--warm-white);
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer h5 {
    color: var(--sandy-beige);
    margin-bottom: 20px;
}

.footer a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Card enhancements */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-medium);
}

.card-header {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    border-bottom: none;
    background: linear-gradient(135deg, var(--deep-blue), var(--turquoise));
    color: var(--warm-white);
}

/* Flash Messages Container */
.flash-messages-container {
    position: fixed;
    top: 90px; /* Position below header */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1025; /* Below header but above content */
    width: 90%;
    max-width: 600px;
}

/* Alert enhancements */
.alert {
    border-radius: var(--radius-md);
    border: none;
    font-weight: 500;
    margin-bottom: 10px;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
    border-left: 4px solid var(--success-green);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--warning-red);
    border-left: 4px solid var(--warning-red);
}

.alert-info {
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--turquoise);
    border-left: 4px solid var(--turquoise);
}

/* Table enhancements */
.table {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table thead th {
    border-bottom: none;
    font-weight: 600;
    background: var(--soft-gray);
    color: var(--deep-blue);
}

/* Badge enhancements */
.badge {
    font-size: 0.8rem;
    padding: 0.5em 0.8em;
    border-radius: var(--radius-sm);
}

.badge-primary {
    background: var(--turquoise);
}

.badge-success {
    background: var(--success-green);
}

.badge-warning {
    background: var(--sandy-beige);
    color: var(--dark-gray);
}

.badge-danger {
    background: var(--warning-red);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Reduce padding on mobile */
    }
    
    .navbar {
        min-height: 70px; /* Smaller header on mobile */
    }
    
    .hero-section {
        min-height: calc(100vh - 70px); /* Adjust for smaller header */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .booking-header,
    .booking-body {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .flash-messages-container {
        top: 80px; /* Adjust for smaller header on mobile */
        width: 95%;
    }
    
    .route-locations {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .route-arrow {
        transform: rotate(90deg);
    }
    
    .route-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-features {
        gap: 1.5rem;
    }
    
    .cta-feature {
        font-size: 0.9rem;
    }
    
    .vehicle-features {
        grid-template-columns: 1fr;
    }
    
    .vehicle-card {
        margin-bottom: 15px;
    }
    
    .price-display {
        font-size: 1rem;
    }
    
    .btn-primary {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .turkish-pattern {
        display: none;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Route Cards Mobile Responsive */
    .route-card {
        min-height: 320px;
    }
    
    .route-header {
        min-height: 80px;
        padding: 1rem;
    }
    
    .route-locations {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .from-location,
    .to-location {
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .route-arrow {
        transform: rotate(90deg);
        font-size: 1rem;
    }
    
    .route-details {
        padding: 1rem;
    }
    
    .route-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .info-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .route-price {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .price-amount {
        font-size: 1.25rem;
    }
    
    .route-action {
        padding: 0.75rem;
    }
}

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

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.route-card,
.vehicle-card-modern,
.testimonial-card,
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--turquoise);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .hero-section,
    .cta-section,
    .navbar, 
    .footer, 
    .btn, 
    .alert {
        display: none !important;
    }
    
    .booking-card,
    .route-card,
    .vehicle-card-modern,
    .testimonial-card,
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        background: var(--warm-white) !important;
        color: var(--dark-gray) !important;
    }
}