﻿/* =================================
   HERO SECTION
================================= */
.hero-section {
    position: relative;
    height: 350px;
    background-image: url('/Asset/assets/img/information-guide/airport-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 120px;
}

    .hero-section .overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .hero-section .hero-content {
        position: relative;
        color: white;
        padding: 0 50px;
        max-width: fit-content;
        z-index: 1;
    }

    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .hero-section p {
        font-size: 1.2rem;
        max-width: fit-content;
    }

/* =================================
   CONTENT SECTIONS
================================= */
.content-sections {
    background-color: white;
    max-width: 1336px;
    padding: 24px 32px;
    margin: 16px auto;
}

/* Airline Information Table */
.airlines-table-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.airline-table {
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse;
}

    .airline-table td {
        padding: 15px 20px; /* Vertical padding 15px, horizontal padding 20px */
        vertical-align: middle;
    }

    .airline-table th {
        font-weight: 600;
        background-color: #f8f9fa;
        padding: 15px 20px; /* Vertical padding 15px, horizontal padding 20px */
    }

        .airline-table tr:last-child {
            border-bottom: none;
        }


    .airline-table svg {
        color: #2196f3;
        font-size: 1rem;
    }

    .airline-table a {
        font-size: 1rem;
        color: #2196f3;
    }


/* Remove flex from all table cells */
.airline-identity, .check-in-info, .airline-contact-info {
    padding: 15px;
    vertical-align: middle;
}

/* Only keep flex for airline identity inner content */
.airline-identity-content {
    display: flex;
    align-items: center;
}

/* Logo styling */
.airline-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 5px;
    background: #f5f7fa;
    margin-right: 18px;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

/* Contact info and check-in info styles */
.airline-contact-info div, .check-in-info div {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

    .airline-contact-info div:last-child, .check-in-info div:last-child {
        margin-bottom: 0;
    }

.airline-contact-info i, .check-in-info i {
    width: 20px;
    margin-right: 8px;
    color: #0066cc;
}

/* Airline name and code */
.airline-name {
    font-weight: 600;
    font-size: 1.1em;
}

.airline-code {
    color: #666;
    margin-left: 5px;
}

/* =================================
   RESPONSIVE STYLES
================================= */
@media (max-width: 768px) {
    .hero-section {
        height: 250px;
        margin-top: 140px;
    }

        .hero-section h1 {
            font-size: 2rem;
        }

    /* Better table handling on mobile */
    .airline-table thead {
        display: none;
    }

    .airline-table, .airline-table tbody, .airline-table tr {
        display: block;
        width: 100%;
    }

   
        .airline-table td {
            display: block;
            text-align: left;
            position: relative;
            padding-left: 15px;
            border-bottom: none;
        }

            .airline-table td:before {
                content: attr(data-label);
                font-weight: bold;
                margin-bottom: 5px;
                display: block;
            }
}

@media (max-width: 576px) {
    .hero-section {
        height: 200px;
        padding: 0 20px;
    }

        .hero-section h1 {
            font-size: 1.2rem;
        }

        .hero-section p {
            font-size: 0.8rem;
        }

        .hero-section .hero-content {
            padding: 0px;
        }

    .content-sections {
        padding: 8px 16px;
        margin: 0 auto;
    }
   
    .airline-logo {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }

    .airline-table a {
        font-size: 0.8rem;
        color: #2196f3;
    }
}


/* Pagination Styles */
.pagination .page-link {
    color: #2d2c6a;
    border: 1px solid #e0e4ea;
    padding: 12px 16px;
    margin: 0 2px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .pagination .page-link:hover {
        background-color: #f7f9fb;
        border-color: #1751a2;
        color: #1751a2;
    }

.pagination .page-item.active .page-link {
    background-color: #1751a2;
    border-color: #1751a2;
    color: white;
}

    .pagination .page-item.active .page-link:hover {
        background-color: #1751a2;
        border-color: #1751a2;
        color: white;
    }

/* Responsive pagination styles */
@media (max-width: 768px) {
    .pagination .page-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}