/* Airports Page Styles */

/* Search Section */
.airport-search-section {
    margin-bottom: 50px;
}

.airport-search-box {
    position: relative;
    max-width: 700px;
    margin: 0 auto 20px;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: #9ca3af;
    pointer-events: none;
}

.search-icon svg {
    width: 100%;
    height: 100%;
}

.airport-search-input {
    width: 100%;
    padding: 18px 50px 18px 56px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    color: #1a1a2e;
    transition: all 0.3s ease;
    font-family: inherit;
}

.airport-search-input:focus {
    outline: none;
    border-color: #f5b800;
    box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.15);
}

.airport-search-input::placeholder {
    color: #9ca3af;
}

.search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background: #e5e7eb;
}

.search-clear svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.search-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-tag {
    padding: 8px 18px;
    background: #f3f4f6;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-tag:hover {
    background: #f5b800;
    color: #0f1235;
}

/* Airports Section */
.airports-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.section-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.section-icon.georgia {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    border: 2px solid #e5e7eb;
}

.section-icon.international {
    background: linear-gradient(135deg, #0f1235, #1a1f4e);
}

.section-header-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f1235;
    margin-bottom: 4px;
}

.section-header-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Airports Grid */
.airports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

/* Airport Card */
.airport-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.airport-card:hover {
    border-color: #f5b800;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.airport-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #0f1235 0%, #1a1f4e 100%);
}

.airport-code {
    font-size: 32px;
    font-weight: 800;
    color: #f5b800;
    letter-spacing: 2px;
}

.airport-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.airport-status.open {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.airport-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.airport-badge.hub {
    background: rgba(245, 184, 0, 0.2);
    color: #f5b800;
}

.airport-badge.lowcost {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.airport-badge.resort {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.airport-card-body {
    padding: 24px;
    flex: 1;
}

.airport-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f1235;
    margin-bottom: 4px;
}

.airport-fullname {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.airport-location {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 20px;
}

.airport-location svg {
    width: 18px;
    height: 18px;
    color: #f5b800;
    flex-shrink: 0;
}

.airport-location span {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.airport-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.detail-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 18px;
    height: 18px;
    color: #0f1235;
}

.detail-content {
    flex: 1;
    min-width: 0;
}

.detail-label {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.detail-link {
    font-size: 14px;
    font-weight: 500;
    color: #f5b800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.detail-link:hover {
    color: #e6ac00;
    text-decoration: underline;
}

.airport-card-footer {
    padding: 16px 24px 24px;
}

.airport-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.airport-btn.primary {
    background: linear-gradient(135deg, #f5b800, #e6ac00);
    color: #0f1235;
    box-shadow: 0 4px 15px rgba(245, 184, 0, 0.3);
}

.airport-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 184, 0, 0.4);
}

.airport-btn svg {
    width: 18px;
    height: 18px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.no-results-icon svg {
    width: 40px;
    height: 40px;
    color: #9ca3af;
}

.no-results h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f1235;
    margin-bottom: 8px;
}

.no-results p {
    font-size: 15px;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .airports-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .airport-search-input {
        font-size: 15px;
        padding: 16px 50px 16px 50px;
    }
    
    .search-tags {
        gap: 8px;
    }
    
    .search-tag {
        padding: 6px 14px;
        font-size: 13px;
    }
    
    .airport-code {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .airport-card-header {
        padding: 16px 20px;
    }
    
    .airport-card-body {
        padding: 20px;
    }
    
    .airport-name {
        font-size: 16px;
    }
    
    .detail-item {
        gap: 12px;
    }
    
    .detail-icon {
        width: 32px;
        height: 32px;
    }
    
    .detail-icon svg {
        width: 16px;
        height: 16px;
    }
}