/* CSS personnalisé pour Albader Travel avec Bootstrap 5 */

/* Variables CSS Bootstrap personnalisées */
:root {
    --bs-primary: #1A263E;
    --bs-primary-rgb: 26, 38, 62;
    --bs-secondary: #DB7801;
    --bs-secondary-rgb: 219, 120, 1;
    --primary: #1A263E;
    --primary-light: #2A3A5E;
    --primary-dark: #0F1628;
    --secondary: #DB7801;
    --secondary-light: #FF8F1A;
    --secondary-dark: #B86200;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-200: #fecaca;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --green-50: #f0fdf4;
    --green-200: #bbf7d0;
    --green-700: #15803d;
    --blue-50: #eff6ff;
    --blue-900: #1e3a8a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    min-height: 100vh;
}

/* Utilitaires de base */
.min-h-screen {
    min-height: 100vh;
}

.bg-white {
    background-color: var(--white);
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-gray-900 {
    background-color: var(--gray-900);
}

.text-white {
    color: var(--white);
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-700 {
    color: var(--gray-700);
}

.text-gray-900 {
    color: var(--gray-900);
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-red-600 {
    color: var(--red-600);
}

.text-red-700 {
    color: var(--red-700);
}

/* Layout */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pt-24 {
    padding-top: 6rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

/* Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-x-3 > * + * {
    margin-left: 0.75rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Grid */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Position */
.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-50 {
    z-index: 50;
}

/* Typography */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

/* Borders */
.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
    border-color: var(--gray-200);
}

.border-t {
    border-top-width: 1px;
    border-top-color: var(--gray-200);
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-color: var(--gray-200);
}

.border-b-2 {
    border-bottom-width: 2px;
}

.border-l {
    border-left-width: 1px;
    border-left-color: var(--gray-200);
}

.border-gray-200 {
    border-color: var(--gray-200);
}

.border-gray-800 {
    border-color: var(--gray-800);
}

.border-primary {
    border-color: var(--primary);
}

.border-secondary {
    border-color: var(--secondary);
}

.border-red-200 {
    border-color: var(--red-200);
}

.border-green-200 {
    border-color: var(--green-200);
}

/* Shadows */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.shadow-2xl {
    box-shadow: var(--shadow-2xl);
}

/* Backgrounds */
.bg-primary {
    background-color: var(--primary);
}

.bg-primary-light {
    background-color: var(--primary-light);
}

.bg-secondary {
    background-color: var(--secondary);
}

.bg-secondary-light {
    background-color: var(--secondary-light);
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-gray-100 {
    background-color: var(--gray-100);
}

.bg-red-50 {
    background-color: var(--red-50);
}

.bg-red-100 {
    background-color: var(--red-100);
}

.bg-green-50 {
    background-color: var(--green-50);
}

.bg-blue-50 {
    background-color: var(--blue-50);
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-white {
    --tw-gradient-from: var(--white);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.from-primary {
    --tw-gradient-from: var(--primary);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(26, 38, 62, 0));
}

.to-gray-50 {
    --tw-gradient-to: var(--gray-50);
}

.to-primary {
    --tw-gradient-to: var(--primary);
}

.to-primary-light {
    --tw-gradient-to: var(--primary-light);
}

.to-secondary {
    --tw-gradient-to: var(--secondary);
}

.to-secondary-light {
    --tw-gradient-to: var(--secondary-light);
}

/* Hover effects */
.hover\:bg-primary-light:hover {
    background-color: var(--primary-light);
}

.hover\:bg-secondary-light:hover {
    background-color: var(--secondary-light);
}

.hover\:bg-gray-50:hover {
    background-color: var(--gray-50);
}

.hover\:bg-gray-100:hover {
    background-color: var(--gray-100);
}

.hover\:bg-red-50:hover {
    background-color: var(--red-50);
}

.hover\:text-primary:hover {
    color: var(--primary);
}

.hover\:text-white:hover {
    color: var(--white);
}

.hover\:shadow-xl:hover {
    box-shadow: var(--shadow-xl);
}

.hover\:shadow-2xl:hover {
    box-shadow: var(--shadow-2xl);
}

/* Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

/* Sizing */
.w-full {
    width: 100%;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-32 {
    width: 8rem;
}

.w-56 {
    width: 14rem;
}

.h-1 {
    height: 0.25rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-32 {
    height: 8rem;
}

.h-48 {
    height: 12rem;
}

.h-full {
    height: 100%;
}

.min-h-\[180px\] {
    min-height: 180px;
}

/* Object fit */
.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

/* Opacity */
.opacity-50 {
    opacity: 0.5;
}

.opacity-90 {
    opacity: 0.9;
}

/* Transform */
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Display */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

/* Visibility */
.visible {
    visibility: visible;
}

/* Truncate */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Line clamp */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Animation spin pour Bootstrap */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive - Mobile first */
@media (min-width: 768px) {
    .md\:block {
        display: block;
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .md\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .md\:pt-16 {
        padding-top: 4rem;
    }
    
    .md\:pt-24 {
        padding-top: 6rem;
    }
    
    .md\:pb-8 {
        padding-bottom: 2rem;
    }
    
    .md\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
    
    .md\:p-8 {
        padding: 2rem;
    }
    
    .md\:p-12 {
        padding: 3rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Group hover */
.group:hover .group-hover\:block {
    display: block;
}

/* Utilities spécifiques */
.text-primary {
    color: var(--primary);
}

.border-secondary {
    border-color: var(--secondary);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

/* Forcer l'affichage du nav et footer */
nav.fixed,
nav[class*="fixed"],
footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Classes supplémentaires communes */
.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.ml-4 {
    margin-left: 1rem;
}

.pl-4 {
    padding-left: 1rem;
}

.pl-10 {
    padding-left: 2.5rem;
}

.pr-4 {
    padding-right: 1rem;
}

.pr-12 {
    padding-right: 3rem;
}

.text-left {
    text-align: left;
}

.leading-tight {
    line-height: 1.25;
}

.outline-none {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.resize-none {
    resize: none;
}

/* Focus states */
.focus\:ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-primary\/20:focus {
    --tw-ring-color: rgba(26, 38, 62, 0.2);
}

.focus\:border-primary:focus {
    border-color: var(--primary);
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

/* Dark mode support (basique) */
.dark\:bg-gray-800 {
    background-color: var(--gray-800);
}

.dark\:bg-gray-900 {
    background-color: var(--gray-900);
}

.dark\:text-white {
    color: var(--white);
}

.dark\:text-gray-300 {
    color: var(--gray-300);
}

.dark\:text-gray-400 {
    color: var(--gray-400);
}

.dark\:border-gray-600 {
    border-color: var(--gray-600);
}

.dark\:border-gray-700 {
    border-color: var(--gray-700);
}

.dark\:hover\:text-secondary:hover {
    color: var(--secondary);
}

.dark\:hover\:bg-gray-700:hover {
    background-color: var(--gray-700);
}

/* Utilities supplémentaires */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9);
}

.bg-black\/60 {
    background-color: rgba(0, 0, 0, 0.6);
}

.bg-black\/70 {
    background-color: rgba(0, 0, 0, 0.7);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.from-black\/60 {
    --tw-gradient-from: rgba(0, 0, 0, 0.6);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.from-black\/70 {
    --tw-gradient-from: rgba(0, 0, 0, 0.7);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.to-transparent {
    --tw-gradient-to: transparent;
}

/* Responsive lg */
@media (min-width: 1024px) {
    .lg\:py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .lg\:py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Styles Bootstrap personnalisés */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
}

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

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--gray-50) !important;
}

.bg-dark {
    background-color: var(--gray-900) !important;
}

/* Effets hover pour les cartes */
.service-card:hover .service-img {
    transform: scale(1.1);
}

.pack-card:hover .pack-img {
    transform: scale(1.1);
}

.vehicle-card:hover .vehicle-img {
    transform: scale(1.1);
}

/* Navbar spacer */
.navbar-spacer {
    padding-top: 4rem;
}

@media (min-width: 768px) {
    .navbar-spacer {
        padding-top: 4rem;
    }
}

/* Assurer que le contenu est visible */
.container {
    max-width: 1200px;
}

/* Corriger les problèmes d'affichage */
section {
    display: block !important;
}

/* Assurer que les sections sont visibles sur mobile */
@media (max-width: 767px) {
    section {
        display: block !important;
    }
    
    .d-md-none {
        display: block !important;
    }
    
    .d-none.d-md-block {
        display: none !important;
    }
}

/* Corriger les problèmes de texte */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Assurer que les images sont visibles */
img {
    max-width: 100%;
    height: auto;
}

/* Styles pour le widget de vols dans la hero section */
#flight_mod {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Styles pour le widget de vols */
.widget-scope {
    background: white;
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.widget-scope.search-sec {
    background-color: var(--white);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-lg);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .widget-scope.search-sec {
        padding: 2rem;
    }
}

/* Assurer que le widget est visible sur mobile */
@media (max-width: 767px) {
    #flight_mod {
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .widget-scope.search-sec {
        padding: 1rem;
    }
}

/* Assurer que le footer est toujours visible */
footer {
    position: relative;
    z-index: 100 !important;
    background-color: var(--gray-900) !important;
    color: var(--white) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* S'assurer que le contenu principal ne cache pas le footer */
.min-vh-100 {
    min-height: 100vh;
    position: relative;
}

/* Assurer que le widget ne cache pas le footer */
.widget-scope {
    position: relative;
    z-index: 1;
}

/* Styles pour la navbar */
.navbar {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Styles pour les nav-link */
.nav-link {
    font-size: 14px;
}

/* Styles pour les nav-item */
.nav-item {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

