/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
    color: white;
    padding: 10px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
}

.tagline {
    font-size: 14px;
    font-weight: 500;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.support-info, .working-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.support-info i, .working-hours i {
    color: #ff6b35;
}

/* Navigation */
.navbar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.nav-menu {
    display: flex;
    list-style: none;
    padding: 15px 0;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: #0066CC;
    color: white;
}

/* Header Notice */
.header-notice {
    background: #e3f2fd;
    border-bottom: 1px solid #bbdefb;
    padding: 8px 0;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #1976d2;
}

.notice-content i {
    color: #ff6b35;
}

.notice-help {
    margin-left: auto;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 30px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Search Section */
.search-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-header h2 {
    color: #0066CC;
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header i {
    color: #ff6b35;
}

/* Flight Search Form */
.flight-search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.form-control {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.swap-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swap-btn {
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.swap-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.tutorial-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0066CC;
    text-decoration: none;
    font-size: 14px;
}

.tutorial-link i {
    color: #ff0000;
}

.tutorial-text {
    color: #0066CC;
    text-decoration: none;
}

.tutorial-text:hover {
    text-decoration: underline;
}

.search-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Promotions Section */
.promotions-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-banner {
    background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
    border-radius: 12px;
    padding: 25px;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.mobile-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.banner-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.banner-text p {
    font-size: 14px;
    opacity: 0.9;
}

.banner-graphic {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    opacity: 0.2;
    z-index: 1;
}

.banner-graphic i:first-child {
    position: absolute;
    top: 0;
    right: 0;
}

.banner-graphic i:last-child {
    position: absolute;
    top: 20px;
    right: 30px;
    transform: rotate(45deg);
}

/* Latest Deals */
.latest-deals {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.latest-deals h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0066CC;
    padding-bottom: 10px;
}

.deals-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.deal-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066CC;
}

.deal-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.deal-route {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.deal-date {
    font-size: 12px;
    color: #666;
}

.deal-price {
    font-size: 16px;
    font-weight: 700;
    color: #ff6b35;
}

.deal-airline img {
    border-radius: 4px;
}

.deal-btn {
    background: #0066CC;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.deal-btn:hover {
    background: #004499;
}

.price-note {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* Bottom Sections */
.bottom-sections {
    margin-top: 40px;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.how-to-buy, .payment-methods {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.how-to-buy h3, .payment-methods h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 25px;
    border-bottom: 2px solid #0066CC;
    padding-bottom: 10px;
}

.buy-methods, .payment-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066CC;
}

.method-item i {
    color: #0066CC;
    font-size: 18px;
    margin-top: 2px;
}

.method-item span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.office-locations {
    flex-direction: column;
    align-items: flex-start;
}

.office-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
    width: 100%;
}

.office-location {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 13px;
    line-height: 1.5;
}

.payment-option {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066CC;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.payment-header i {
    color: #0066CC;
    font-size: 20px;
}

.payment-header strong {
    color: #333;
    font-size: 14px;
}

.payment-logo {
    height: 20px;
    border-radius: 4px;
}

.payment-option p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.bank-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.bank-logos img {
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.bank-logos img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #0066CC;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section i {
    color: #ff6b35;
    margin-right: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ccc;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0066CC;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .swap-container {
        order: -1;
    }
    
    .bottom-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .office-map {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .deals-list .deal-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .bank-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .search-section, .latest-deals, .how-to-buy, .payment-methods {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .search-btn {
        justify-content: center;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .bank-logos {
        grid-template-columns: 1fr;
    }
}

/* Animation and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-section, .promotions-section, .how-to-buy, .payment-methods {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0066CC;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
