/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HEADER FIJO Y TRANSPARENTE */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.75); /* fondo semi-transparente */
    backdrop-filter: blur(6px);             /* efecto difuminado detrás */
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 999;
    transition: background 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    font-family: 'Cormorant Garamond', serif;
}

.logo img {
    height: 38px;    /* tamaño equilibrado */
    width: auto;
    object-fit: contain;
    display: block;
}

/* MENÚ HORIZONTAL */
.menu {
    list-style: none;
    display: flex;
    gap: 35px;
}

.menu > li {
    position: relative; /* para submenú */
}

/* LETRAS VERDES PROFESIONALES NÍTIDAS */
.menu > li > a, 
.submenu .dropdown li a {
    text-decoration: none;
    font-size: 21px;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(90deg, #064e22 0%, #0b7a3b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0px 0px 1px rgba(0, 90, 40, 0.25); /* más nítido */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: 0.3s ease;
}

.menu > li > a:hover {
    filter: brightness(1.35);
    text-shadow: 0px 0px 3px rgba(0, 110, 50, 0.55);
}

/* SUBMENÚS */
.submenu .dropdown {
    list-style: none;       /* elimina viñetas */
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;              /* justo debajo del link padre */
    left: 0;                /* alineado al padre */
    min-width: 180px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 5px;
    display: none;
    z-index: 998;
    transform: translateX(0);
}

.submenu:hover .dropdown {
    display: block;
}

.submenu .dropdown li a {
    display: block;
    padding: 10px 15px;
    color: #0b7a3b;
    font-style: italic;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.submenu .dropdown li a:hover {
    background: rgba(11,122,59,0.1);
    color: #064e22;
}

/* ICONOS DE REDES */
.social {
    display: flex;
    align-items: center;
}

.social img {
    width: 25px;
    margin-left: 15px;
    transition: 0.3s;
}

.social img:hover {
    opacity: 0.7;
}

/* CARRUSEL DETRÁS DEL HEADER */
.carousel {
    position: relative;
    width: 100%;
    height: 80vh;       /* Ajusta la altura a tu gusto */
    margin-top: 0;
    overflow: hidden;
    z-index: 0;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* EVITA QUE EL CONTENIDO QUEDÉ DETRÁS DEL HEADER */
body {
    padding-top: 2px; /* ajusta según altura de tu header */
}
/* OVERLAY CENTRAL */
.carousel-overlay {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2; /* encima del carrusel */
    color: #FFD700; /* dorado para nombre */
    text-shadow: 0 0 4px rgba(0,0,0,0.5);
    font-family: 'Cormorant Garamond', serif;
}

/* FOTO EN CÍRCULO/ÓVALO */
.profile-photo img {
    width: 300px;
    height: 320px;
    border-radius: 50%;           /* círculo perfecto */
    object-fit: cover;            /* mantiene proporción y llena el círculo */
    object-position: center 40%;  /* mueve la imagen un poco hacia abajo */
    border: 4px solid rgba(255, 215, 0, 0.85); /* borde dorado */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

/* NOMBRE */
.profile-name {
    font-size: 50px;
    font-style: italic;
    font-weight: 800;
    margin-bottom: 8px;
    /* Gradiente dorado */
    background: linear-gradient(45deg, #FFD700, #FFC107, #FFB300, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.6), 0 0 12px rgba(247, 246, 245, 0.4);
}

/* CARGO */
.profile-role {
    font-size: 25px;
    font-style: italic;
    font-weight: 500;
    /* Gradiente dorado más suave */
    background: linear-gradient(45deg, #FFD700, #FFC107);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
}