<?php
/**
 * Encabezado del sitio para TRAUMA 2025
 */
?>
<div class="top-bar">
    <div class="top-bar-contact">
        <a href="mailto:info@trauma2025.org"><i class="far fa-envelope"></i> info@trauma2025.org</a>
        <a href="tel:+123456789"><i class="fas fa-phone"></i> +1 (234) 567-89</a>
    </div>
    <div>
        <a href="#"><i class="fas fa-info-circle"></i> Información del congreso</a>
    </div>
</div>

<header>
    <div class="language-selector">
        <div class="language-dropdown">
            <button class="language-btn">
                <i class="fas fa-globe"></i>
                <?php echo strtoupper($currentLanguage); ?>
                <i class="fas fa-chevron-down"></i>
            </button>
            <div class="language-dropdown-content">
                <a href="?lang=es" <?php echo $currentLanguage == 'es' ? 'class="active"' : ''; ?>>Español</a>
                <a href="?lang=en" <?php echo $currentLanguage == 'en' ? 'class="active"' : ''; ?>>English</a>
                <a href="?lang=pt" <?php echo $currentLanguage == 'pt' ? 'class="active"' : ''; ?>>Português</a>
            </div>
        </div>
    </div>

    <div class="logo-container">
        <i class="fas fa-hospital-user logo-icon"></i>
    </div>
    <h1><?php echo $text['headerTitle']; ?></h1>
    <p><?php echo $text['headerSubtitle']; ?></p>
</header>