/* ========================================
   MINIMALIST AIRPORT DESIGN - High Density
   Maximum information, minimal decoration
   ======================================== */

/* Override enhanced styles with compact versions */

/* Content Sections - Compact */
.content-section {
    background: white;
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease;
}

.content-section:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transform: none;
}

.content-section::before {
    display: none;
}

/* Typography - Compact scale */
.content-section h2 {
    color: #0047AB;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0047AB;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.content-section h2::after,
.content-section h2::before {
    display: none;
}

.content-section h3 {
    color: #1a1a1a;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem;
    padding-left: 0;
    letter-spacing: normal;
}

.content-section h3::before {
    display: none;
}

.content-section h4 {
    color: #2d2d2d;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

.content-section p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.content-section ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.content-section ul li {
    padding-left: 0;
    margin-bottom: 0.4rem;
    list-style: disc;
}

.content-section ul li::before {
    display: none;
}

.content-section ul li:hover {
    transform: none;
}

/* Tables - Compact */
.content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
}

.content-section table th {
    background: #0047AB;
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.content-section table th::after {
    display: none;
}

.content-section table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.content-section table tbody tr::before {
    display: none;
}

.content-section table tbody tr:hover {
    background: #f9fafb;
    transform: none;
    box-shadow: none;
}

/* Highlight Boxes - Minimal */
.highlight-box,
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.95rem;
    box-shadow: none;
    border-left: 4px solid #0047AB;
    animation: none;
}

.highlight-box::before,
.alert::before {
    display: none;
}

.highlight-box,
.alert-info {
    background: #e3f2fd;
}

.alert-success {
    background: #e8f5e9;
    border-left-color: #4CAF50;
}

.alert-warning,
.pro-tip {
    background: #fff3e0;
    border-left-color: #FF9800;
}

.highlight-box:hover,
.alert:hover,
.pro-tip:hover {
    transform: none;
    box-shadow: none;
}

.highlight-box strong,
.alert strong,
.pro-tip strong {
    display: inline;
    font-size: 0.95rem;
}

.pro-tip strong::before {
    display: none;
}

/* Info Grid - Compact */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.info-item {
    background: #f9fafb;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #0047AB;
    font-size: 0.9rem;
}

.info-item::before {
    display: none;
}

.info-item:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.info-label {
    font-weight: 600;
    color: #0047AB;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Cards - Minimal */
.card {
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.card:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card::before {
    display: none;
}

.card-header {
    padding: 1rem;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    background: #fafbfc;
    font-size: 1rem;
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Bootstrap Grid - Compact gaps */
.row {
    margin: 0 -0.5rem;
}

.col-md-6,
.col-md-4,
.col-md-3 {
    padding: 0 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

/* FAQ - Compact */
.faq-section {
    margin: 1rem 0;
}

.faq-item {
    background: white;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 6px;
    border-left: 3px solid #0047AB;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #0047AB;
}

.faq-item:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.faq-question {
    font-weight: 600;
    color: #0047AB;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.faq-question::before {
    display: none;
}

.faq-answer {
    color: #333;
    line-height: 1.6;
    font-size: 0.9rem;
    padding-left: 0;
}

/* Contact Grid - Compact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.contact-card {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.contact-card:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.contact-card h4 {
    color: #0047AB;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.contact-card p {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.contact-card a::after {
    display: none;
}

/* Pro Tips - Compact */
.pro-tip {
    padding: 1rem;
    margin: 1rem 0;
}

.pro-tip ul {
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Stat Cards - Compact */
.quick-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card-modern {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem 1rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    flex-direction: column;
}

.stat-card-modern::before {
    display: none;
}

.stat-card-modern:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0047AB;
    line-height: 1;
}

.stat-label {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    text-transform: none;
    letter-spacing: normal;
}

/* Airport Hero - Compact */
.airport-hero {
    background: linear-gradient(135deg, #0047AB 0%, #0066CC 100%);
    color: white;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.airport-hero h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.airport-subtitle {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Quick Navigation - Sticky & Mobile-Friendly */
.quick-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;

    /* Sticky positioning */
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

/* Enhanced sticky state */
.quick-nav.is-stuck {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border-color: #0047AB;
}

.quick-nav-link {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    color: #0047AB;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-nav-link:hover,
.quick-nav-link:focus {
    background: #0047AB;
    color: white;
    border-color: #0047AB;
    outline: none;
}

.quick-nav-link.active {
    background: #0047AB;
    color: white;
    border-color: #0047AB;
    font-weight: 600;
}

/* Mobile: Horizontal scroll with snap */
@media (max-width: 768px) {
    .quick-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: #0047AB #f9fafb;
        padding: 0.75rem 0.5rem;
        gap: 0.4rem;
        top: 60px; /* Below mobile header */
    }

    /* Hide scrollbar but keep functionality */
    .quick-nav::-webkit-scrollbar {
        height: 3px;
    }

    .quick-nav::-webkit-scrollbar-track {
        background: #f9fafb;
    }

    .quick-nav::-webkit-scrollbar-thumb {
        background: #0047AB;
        border-radius: 3px;
    }

    .quick-nav-link {
        flex-shrink: 0;
        padding: 0.45rem 0.85rem;
        font-size: 0.85rem;
        scroll-snap-align: start;
    }

    /* Fade indicators on edges */
    .quick-nav::before,
    .quick-nav::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 1;
    }

    .quick-nav::before {
        left: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, transparent 100%);
    }

    .quick-nav::after {
        right: 0;
        background: linear-gradient(270deg, rgba(255,255,255,0.98) 0%, transparent 100%);
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .quick-nav {
        padding: 0.6rem 0.4rem;
        gap: 0.3rem;
        margin: 0.75rem 0;
    }

    .quick-nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Disable all animations for minimalist version */
@keyframes fadeInUp,
@keyframes shimmer,
@keyframes gradientShift,
@keyframes pulse {
    from, to { opacity: 1; transform: none; }
}

.content-section {
    animation: none !important;
}

/* Table utilities - minimal */
.table {
    font-size: 0.9rem;
    margin: 1rem 0;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9fafb;
}

.table-hover tbody tr:hover {
    background-color: #f3f4f6;
}

/* Background utilities - simplified */
.bg-primary {
    background-color: #0047AB !important;
}
.bg-primary h3 {
    color: white !important;
}
.bg-success {
    background-color: #4CAF50 !important;
}

.bg-warning {
    background-color: #FF9800 !important;
}

.display-6 {
    font-size: 1.5rem;
}

/* Table wrapper for horizontal scroll on mobile */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
    position: relative;
}

.table-responsive table {
    margin: 0;
    min-width: 600px; /* Ensure table doesn't collapse too much */
}

/* Scrollbar styling for table wrapper */
.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #0047AB;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #003580;
}

/* Fade indicator on right side when scrollable */
.table-responsive.has-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 6px; /* Above scrollbar */
    width: 30px;
    background: linear-gradient(270deg, rgba(255,255,255,0.95) 0%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.table-responsive.scrolled-end::after {
    opacity: 0;
}

/* Responsive - maintain density on mobile */
@media (max-width: 768px) {
    .content-section {
        padding: 1rem;
        margin: 1rem 0;
    }

    .content-section h2 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }

    .content-section h3 {
        font-size: 1.15rem;
        margin: 1rem 0 0.5rem;
    }

    .content-section p,
    .content-section ul {
        font-size: 0.9rem;
    }

    /* Table scrolling on mobile */
    .table-responsive {
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

    .content-section table {
        font-size: 0.85rem;
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .content-section table th,
    .content-section table td {
        padding: 0.5rem 0.4rem;
        white-space: nowrap;
    }

    .stat-card-modern {
        padding: 1rem 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .quick-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .airport-hero h1 {
        font-size: 1.5rem;
    }

    .airport-subtitle {
        font-size: 0.9rem;
    }
}

/* Ultra-compact for small screens */
@media (max-width: 480px) {
    .content-section {
        padding: 0.75rem;
        margin: 0.75rem 0;
        border-radius: 6px;
    }

    .content-section h2 {
        font-size: 1.25rem;
        margin-bottom: 0.6rem;
        padding-bottom: 0.4rem;
    }

    .quick-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Print optimization */
@media print {
    .content-section {
        margin: 0.5rem 0;
        padding: 1rem;
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .content-section h2 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .content-section p,
    .content-section ul {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .quick-nav,
    .airport-hero {
        display: none;
    }
}
