/* =================================================================
   Airport Concierge Rental Service - Main CSS
   Modern, premium styling with Bootstrap 5 base
   ================================================================= */

/* =================================================================
   CSS Variables - Color Palette (5 primary colors + shades)
   ================================================================= */
:root {
    /* Primary Colors */
    --primary: #2c3e50;     /* Deep Navy Blue */
    --secondary: #c0392b;   /* Rich Burgundy Red */
    --accent-1: #f39c12;    /* Golden Orange */
    --accent-2: #27ae60;    /* Forest Green */
    --accent-3: #8e44ad;    /* Royal Purple */
    
    /* Light Shades */
    --primary-light: #34495e;
    --secondary-light: #e74c3c;
    --accent-1-light: #f1c40f;
    --accent-2-light: #2ecc71;
    --accent-3-light: #9b59b6;
    
    /* Dark Shades */
    --primary-dark: #1a252f;
    --secondary-dark: #922b21;
    --accent-1-dark: #d68910;
    --accent-2-dark: #1e8449;
    --accent-3-dark: #6c3483;
    
    /* Neutral Colors */
    --light: #f8f9fa;
    --dark: #212529;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-1-light) 100%);
    
    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* =================================================================
   Global Typography & Base Styles
   ================================================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Conservative sizing for specific elements */
.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
}

.display-4 {
    font-size: 2.25rem;
}

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .display-4 { font-size: 3.5rem; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =================================================================
   Custom Bootstrap Overrides
   ================================================================= */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* =================================================================
   Header & Navigation
   ================================================================= */
header {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--accent-1) !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
  font-size: 12px !important;
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: var(--accent-1);
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

/* =================================================================
   Hero Section
   ================================================================= */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-3) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../COM_images/cnbd_hero-airport.webp') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1,
.hero-section p {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* =================================================================
   Sections
   ================================================================= */
section {
    padding: 5rem 0;
}

.bg-light {
    background: linear-gradient(135deg, var(--gray-100) 0%, white 100%) !important;
}

/* =================================================================
   Team Section
   ================================================================= */
.col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* =================================================================
   Process Steps
   ================================================================= */
.process-step {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

/* =================================================================
   Timeline
   ================================================================= */
.timeline-item {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* =================================================================
   Testimonials Slider
   ================================================================= */
.testimonial-swiper {
    padding-bottom: 3rem;
}

.testimonial-swiper .swiper-slide {
    height: auto;
}

.testimonial-swiper .swiper-pagination {
    bottom: 0;
}

.testimonial-swiper .swiper-pagination-bullet {
    background: var(--primary);
}

.testimonial-swiper .swiper-pagination-bullet-active {
    background: var(--accent-1);
}

/* =================================================================
   Gallery
   ================================================================= */
#gallery img {
    transition: all 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
    filter: brightness(0.8);
}

/* =================================================================
   Contact Form
   ================================================================= */
.form-control {
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

/* =================================================================
   FAQ Section
   ================================================================= */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-header button {
    background: white;
    color: var(--primary-dark);
    font-weight: 600;
    border: none;
    box-shadow: none;
}

.accordion-header button:not(.collapsed) {
    background: var(--primary);
    color: white;
}

.accordion-body {
    background: var(--gray-100);
}

/* =================================================================
   Footer
   ================================================================= */
footer {
    background: var(--gradient-primary) !important;
    color: white;
}

footer h5 {
    color: var(--accent-1);
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-1);
}

/* =================================================================
   Utilities
   ================================================================= */
.shadow {
    box-shadow: var(--shadow) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* =================================================================
   Responsive Adjustments
   ================================================================= */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .card-img-top {
        height: 200px;
    }
}

/* =================================================================
   Animation Classes
   ================================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* =================================================================
   Print Styles
   ================================================================= */
@media print {
    .navbar, .btn, .swiper-pagination, footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
} 