/* Airport Page Specific Styles */

/* Airports Section */
.airports-section {
    padding: 4rem 0;
}

.airports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.airport-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}

.airport-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.airport-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.airport-logo {
    width: 60px;
    height: 60px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 2rem;
    color: #3b82f6;
}

.airport-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.airport-codes {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.airport-code {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.airport-location {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
}

.airport-location i {
    margin-right: 0.5rem;
}

.airport-details {
    margin-top: 1rem;
}

.airport-detail {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.airport-detail i {
    width: 16px;
    margin-right: 0.5rem;
    color: #9ca3af;
}

.airport-type {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.stat-card i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
}

/* Airport Modal Styles */
.modal-airport-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-airport-logo {
    width: 80px;
    height: 80px;
    background: #f3f4f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 2.5rem;
    color: #3b82f6;
}

.modal-airport-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.modal-airport-codes {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.modal-airport-code {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.modal-airport-location {
    font-size: 1rem;
    color: #6b7280;
    display: flex;
    align-items: center;
}

.modal-airport-details {
    display: grid;
    gap: 1rem;
}

.modal-detail-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.modal-detail-item i {
    width: 20px;
    margin-right: 1rem;
    margin-top: 0.25rem;
    color: #3b82f6;
}

.modal-detail-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-detail-content p {
    color: #1f2937;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .airports-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .airport-card {
        padding: 1.5rem;
    }
    
    .modal-airport-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-airport-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .airport-codes {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .modal-airport-codes {
        flex-direction: column;
        gap: 0.5rem;
    }
}
