/* ===================================================================
   TRAVEL INFORMATION PAGE STYLES - Clean & Optimized
   =================================================================== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%),
                url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    color: white;
    padding: 120px 0 80px;
    margin-top: -80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-visual {
    position: relative;
}

.floating-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-card:hover {
    transform: translateY(-8px);
    background: white;
}

/* Section Titles */
.section-title {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Cards */
.info-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.info-card:hover {
    transform: translateY(-4px);
}

/* Country Selector */
.country-selector {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.country-selector.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.country-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: var(--light);
}

.country-option:hover {
    background: #e9ecef;
}

.country-option.active {
    border-color: var(--primary);
    background: rgba(13, 110, 253, 0.05);
}

.country-flag {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* Step Cards */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid white;
}

/* Resource Links */
.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.resource-link:hover {
    background: var(--light);
    border-color: var(--primary);
    color: var(--primary);
}

.resource-link i {
    margin-right: 1rem;
}

/* Contact Box */
.contact-box {
    background: linear-gradient(135deg, var(--dark) 0%, #343a40 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Country Content Transitions */
.country-content {
    transition: opacity 0.3s ease;
}

.country-content:not(.visible) {
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 0 3rem;
        min-height: 50vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .floating-card {
        margin-bottom: 1rem;
    }
    
    .step-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-box {
        padding: 2rem;
    }
}

@media (min-width: 1200px) {
    .hero-container {
        padding: 0 3rem;
    }
}