/* css/components.css: Estilos para Header, Botones y otros Componentes */

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    height: var(--header-height);
    position: fixed; 
    top: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000; 
    transition: top 0.4s ease-in-out;
}
.main-header.scroll-down { top: -120px; }

.profile-area { display: flex; align-items: center; gap: 15px; }
.profile-photo { width: 70px; height: 70px; border-radius: 50%; border: 3px solid var(--primary-color); overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.name-title { color: var(--primary-color); font-size: 1.6rem; }
.role-subtitle { color: var(--secondary-color); font-size: 1rem; }

.main-nav { display: flex; gap: 1rem; }
.nav-item { text-decoration: none; color: var(--primary-color); padding: 0.5rem 1rem; border: 2px solid var(--primary-color); border-radius: 5px; transition: all 0.3s; font-weight: bold; }
.nav-item:hover { background-color: var(--primary-color); color: var(--background-color); transform: translateY(-2px); }
.hamburger-menu { display: none; font-size: 2rem; color: var(--primary-color); cursor: pointer; z-index: 1001; }

.btn { padding: 0.75rem 1.5rem; border: none; border-radius: 5px; cursor: pointer; font-size: 1rem; transition: all 0.3s; text-transform: uppercase; font-weight: bold; }
.btn-primary { background-color: var(--primary-color); color: var(--background-color); }
.btn-secondary { background-color: var(--secondary-color); color: var(--background-color); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8); }
.btn:disabled { background-color: #444; color: #888; cursor: not-allowed; }

@media (max-width: 768px) {
    .main-header { padding: 0.5rem 1rem; height: 80px; }
    .profile-photo { width: 50px; height: 50px; }
    .name-title { font-size: 1.2rem; }
    .role-subtitle { font-size: 0.8rem; }
    .hamburger-menu { display: block; }
    .main-nav { position: fixed; top: 0; right: -100%; width: 70%; max-width: 300px; height: 100vh; background-color: #111; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transition: right 0.5s ease-in-out; }
    .main-nav.is-active { right: 0; }
    .nav-item { font-size: 1.2rem; width: 80%; text-align: center; }
}