/* Expandable Sections CSS - Modern UX/UI 2025 */

/* Expandable Section Container */
.expandable-section {
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.expandable-section:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Section Header (Clickable) */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.section-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-bottom-color: var(--primary-color);
}

.section-header .section-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    border: none;
    padding: 0;
}

/* Toggle Button */
.toggle-btn {
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-color);
    font-weight: 300;
    min-width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.section-header:hover .toggle-btn {
    transform: scale(1.2);
}

/* Section Content (Expandable) */
.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-content.active {
    max-height: none;
    overflow: visible;
}

.section-content > * {
    padding: 2rem;
    padding-top: 1rem;
}

.section-content > :first-child {
    padding-top: 2rem;
}

/* Highlight Box Modern */
.highlight-box-modern {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    margin: 1.5rem 0;
    line-height: 1.7;
}

.highlight-box-modern strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Terminal Grid */
.terminal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.terminal-card-detailed {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.terminal-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.terminal-card-detailed h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.terminal-card-detailed h4 {
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.terminal-card-detailed ul {
    list-style: none;
    padding-left: 0;
    margin-left: 1rem;
}

.terminal-card-detailed li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.6;
}

.terminal-card-detailed li:last-child {
    border-bottom: none;
}

/* Hotels Grid */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.hotel-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.hotel-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(6, 69, 173, 0.1);
    transform: translateY(-3px);
}

.hotel-card h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.hotel-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.hotel-distance,
.hotel-shuttle,
.hotel-features {
    margin: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Parking Grid */
.parking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.parking-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.parking-section ul {
    list-style: none;
    padding-left: 0;
}

.parking-section li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--background-light);
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.price-item {
    background: var(--background-light);
    padding: 1.25rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.price-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.price-period {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.price-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Pro Tip Box */
.pro-tip-box {
    background: #FFF3E0;
    border-left: 5px solid #FF9800;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    line-height: 1.7;
}

.pro-tip-box strong {
    color: #FF9800;
    display: block;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.faq-item-modern {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item-modern:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.faq-question {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.faq-answer {
    color: var(--text-color);
    line-height: 1.7;
}

/* Statistics Grid */
.stats-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.stat-detail-item {
    background: var(--background-light);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.stat-detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.stat-detail-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-detail-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Airlines & Routes */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.route-item {
    background: var(--background-light);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.route-item:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.route-destination {
    font-weight: 600;
    color: var(--text-color);
}

.route-passengers {
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Info Grid */
.contact-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card-modern {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
}

.contact-card-modern h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card-modern p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* Pro Tips Lists */
.tips-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.tips-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--background-light);
    line-height: 1.7;
}

.tips-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.tips-list li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header {
        padding: 1.25rem 1.5rem;
    }

    .section-header .section-title {
        font-size: 1.2rem;
    }

    .section-content > * {
        padding: 1.5rem;
    }

    .terminal-grid,
    .hotels-grid,
    .parking-grid,
    .pricing-grid,
    .routes-grid,
    .contact-grid-modern,
    .stats-detail-grid {
        grid-template-columns: 1fr;
    }

    .toggle-btn {
        font-size: 1.5rem;
    }
}

/* Animation for opening sections */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content.active > * {
    animation: slideDown 0.3s ease-out;
}
