
/* Travelwaygo Styles - Pure CSS, No Build Required */

/* Scrollbar Utilities */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Text Effects */
.text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

/* Hero Image Container */
.hero-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Search Form Overlay */
.search-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem 1rem;
}

/* Benefits Row */
.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003580 0%, #0071EB 100%);
    border-radius: 12px;
    color: white;
    font-size: 24px;
}

/* Promotions Carousel */
.promo-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.promo-card {
    flex: 0 0 calc(50% - 0.5rem);
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .promo-card {
        flex: 0 0 85%;
    }
}

/* Deals Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .deals-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Deal Card */
.deal-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.deal-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
}

.faq-question:hover {
    color: #003580;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0;
}

.faq-answer.active {
    max-height: 500px;
    padding-bottom: 1rem;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-icon.active {
    transform: rotate(180deg);
}

/* App Promo Block */
.app-promo {
    background: linear-gradient(135deg, #003580 0%, #004CB3 100%);
    color: white;
    border-radius: 16px;
    overflow: hidden;
}

/* Footer Accordion (Mobile) */
.footer-column h4 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-column ul {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s;
}

@media (max-width: 768px) {
    .footer-column ul {
        max-height: 0;
    }
    
    .footer-column ul.active {
        max-height: 500px;
        margin-top: 0.5rem;
    }
    
    .footer-icon {
        display: block;
        transition: transform 0.3s;
    }
    
    .footer-icon.active {
        transform: rotate(180deg);
    }
}

@media (min-width: 769px) {
    .footer-icon {
        display: none;
    }
}

/* Regional Settings Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* Search Form Styles */
.trip-type-toggle {
    display: flex;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

.trip-type-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.trip-type-btn.active {
    background: white;
    color: #003580;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: #003580;
    box-shadow: 0 0 0 3px rgba(0,53,128,0.1);
}

/* Swap Button */
.swap-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.swap-btn:hover {
    background: #f3f4f6;
    transform: rotate(180deg);
}

/* Blog Styles */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.form-select,
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #003580;
    box-shadow: 0 0 0 3px rgba(0,53,128,0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Success Popup */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.popup-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.popup-icon {
    width: 64px;
    height: 64px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 32px;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Print Styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
}
