/* --- PALETA DE COLORES ---
   Fondo: #042416 (Verde Bosque Muy Oscuro)
   Secundario: #0B3D28 (Verde Musgo)
   Acento: #2D6A4F (Verde Esmeralda)
   Texto: #E9ECEF (Blanco Grisáceo suave)
   ------------------------- */

body {
  font-family: 'Roboto', sans-serif;
  color: #e9ecef;
  background-color: #042416; /* Verde oscuro profundo de la imagen */
  margin: 0;
  padding: 0;
}

/* NAVBAR PERSONALIZADA */
.custom-navbar {
    background-color: #042416 !important; /* El verde oscuro del body */
    border-bottom: 3px solid #1b4332; /* Un toque de verde esmeralda */
    padding: 10px 0;
}

/* Color del texto del Logo/Nombre */
.custom-navbar .navbar-brand span {
    color: #ffffff !important;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Efecto para el logo circular */
.custom-navbar img.rounded-circle {
    border: 2px solid #2d6a4f; /* Borde verde esmeralda al logo */
    padding: 2px;
    background: white; /* Para que el logo resalte si tiene fondo transparente */
}

/* Si tienes enlaces en esta barra (opcional) */
.custom-navbar .nav-link {
    color: #d8f3dc !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
    color: #95d5b2 !important; /* Verde claro al pasar el mouse */
}
/* NAVBAR PRINCIPAL */
.navbar-nav {
  width: 100%;
  justify-content: center;
}
/* Ajustes para que el buscador se vea moderno */
.custom-navbar .form-control {
    border-radius: 20px 0 0 20px; /* Redondeado solo a la izquierda */
    padding-left: 15px;
}

.custom-navbar .btn-success {
    background-color: #2d6a4f; /* Verde que combine con tu borde */
    border: none;
    border-radius: 0 20px 20px 0; /* Redondeado solo a la derecha */
    padding: 0 20px;
    transition: all 0.3s ease;
}

.custom-navbar .btn-success:hover {
    background-color: #1b4332; /* Un verde más oscuro al pasar el mouse */
}

/* Opcional: Que el borde resalte al hacer clic en el input */
.custom-navbar .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(45, 106, 79, 0.25);
    border: 1px solid #2d6a4f;
}
.nav-item {
  flex: 1;
  text-align: center;
}

h1, h2, .navbar-brand {
  font-family: 'Playfair Display', serif;
  color: #ffffff;
}

/* HERO CON EFECTO BANDERA */
.hero {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Importante para que el movimiento no se salga de los bordes */
    border-bottom: 4px solid #2d6a4f;
}

/* Creamos una capa específica para la imagen */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagenes/b1.jpg');
    background-size: 115% 115%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1; /* La coloca detrás del texto */
    
    /* Aplicamos la animación solo a esta capa */
    animation: flameoHero 8s ease-in-out infinite alternate;
}

/* Ejemplo de la animación (asegúrate de que coincida con este nombre) */
@keyframes flameoHero {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.05) translate(-1%, 1%);
    }
    100% {
        transform: scale(1) translate(1%, -1%);
    }
}

/* Capa oscura para que el texto se lea mejor sobre la bandera */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(4, 36, 22, 0.4); /* Filtro verde oscuro traslúcido */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10; /* Por encima del filtro oscuro */
    padding: 20px;
}

.hero h1 {
    color: #ffffff !important; /* Blanco puro para resaltar */
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    font-family: 'Playfair Display', serif;
}

.hero p {
    color: #d8f3dc !important; /* Verde muy clarito */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

/* Animación de movimiento */
@keyframes flameoHero {
    0% {
        background-position: 50% 50%;
        transform: scale(1);
    }
    100% {
        background-position: 53% 47%;
        transform: scale(1.02); /* Pequeño zoom para dar viveza */
    }
}

/* Animación que simula el movimiento del viento */
@keyframes flameoBandera {
    0% {
        background-position: 50% 50%;
        background-size: 110% 110%;
    }
    50% {
        background-position: 52% 48%; /* Pequeño desplazamiento */
        background-size: 115% 115%; /* Zoom sutil para efecto de profundidad */
    }
    100% {
        background-position: 48% 52%;
        background-size: 110% 110%;
    }
}

/* Mejora para el texto sobre la bandera */
.hero h1 {
    color: #ffffff;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8); /* Sombra fuerte para que resalte del fondo oscuro */
    z-index: 1;
}

.hero p {
    color: #d8f3dc;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* CARDS GENERALES */
.card {
  background-color: #0B3D28; /* Verde un poco más claro que el fondo */
  border: 1px solid #1B4332;
  color: white;
}

.card img {
  object-fit: cover;
  height: 200px;
}

.card-title {
  font-weight: 600;
  color: #95d5b2; /* Verde pastel para destacar títulos */
}

/* NAV SECUNDARIO (LISTA VERTICAL) */
.nav-secundario {
  background: transparent;
  width: 95vw; 
  margin: 20px auto;
  padding: 0;
}

.nav-secundario li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0B3D28;
  width: 100%;
  padding: 0;
  margin-bottom: 5px; 
  list-style: none;
  transition: all 0.3s ease;
}

.nav-secundario li a {
  font-family: 'Playfair Display', serif;
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 12px;
  text-align: center;
  font-weight: 600; 
  letter-spacing: 1px; 
}

.nav-secundario li:hover {
  background: #2D6A4F; /* Verde esmeralda al pasar el mouse */
  transform: translateX(10px);
}

.nav-secundario li a:hover {
  color: #ffffff;
}

/* SECCIÓN VIDEO */
.video-card {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.overlay {
  position: absolute;
  inset: 0;
  /* Degradado que nace del verde oscuro */
  background: linear-gradient(to top, #042416 15%, transparent 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
}

.btn-play {
  background: #2D6A4F; /* Verde esmeralda vibrante */
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  transition: background 0.3s ease;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

.video-card:hover img {
  transform: scale(1.15);
}

/* BOTÓN FLOTANTE (SCROLL) */
.floating-scroll {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 65px;
  height: 65px;
  /* Degradado basado en tu nueva paleta */
  background: linear-gradient(135deg, #2D6A4F 0%, #0B3D28 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-scroll:hover {
  transform: scale(1.1) rotate(5deg);
  background: #40916c;
}

/* DIVISORES */
.border-bottom {
  border-bottom-width: 2px !important;
  border-bottom-color: #2D6A4F !important;
  border-bottom-style: solid !important;
}

/* UTILIDADES */
html {
  scroll-behavior: smooth;
}

@keyframes bounce-arrow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(3px); }
}

.arrow-down svg {
  animation: bounce-arrow 2s infinite;
}

.btn-volver {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;

  color: #d8f3dc;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(11, 61, 40, 0.6);

  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.btn-volver:hover {
  background: #2D6A4F;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.simbolos {
  background-color: #042416; 

  text-align: center;
  padding: 50px 20px;
  
}

.grid-simbolos {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.simbolo {
  width: 300px;
}

.simbolo img {
  width: 100%;
  border-radius: 10px;
}

.simbolo h3 {
  margin-top: 10px;
}

.simbolos h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #976d03;
}

.simbolo h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
}

.simbolo p {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  line-height: 1.6;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-contenido {
  background: rgba(12, 41, 29);
  margin: 10% auto;
  padding: 30px;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  text-align: center;
  font-family: 'Merriweather', serif;
}

.cerrar {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

button {
  margin-top: 10px;
  padding: 8px 15px;
  border: none;
  background: #8a1c1c;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

#fecha {
  font-size: 0.9rem;
}



.malvinas{
    background: linear-gradient(180deg, #6ea8d8, #fefefe, #6ea8d8);
    padding: 60px 20px;
    text-align: center;
    border-top: 4px solid #1f4e79;
    border-bottom: 4px solid #1f4e79;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.malvinas h2{
    font-size: 2.5rem;
    color: #0d2c54;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.malvinas img{
    width: 100%;
    max-width: 750px;
    border-radius: 15px;
    border: 5px solid white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    transition: transform 0.4s ease;
}

.malvinas img:hover{
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px){
    .malvinas{
        padding: 40px 15px;
    }

    .malvinas h2{
        font-size: 1.8rem;
    }
}

.malvinas p{
    color: #12355b;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-style: italic;
}

.historia h2{
    font-size: 2.5rem;
    color: #b8cb0b;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.historia p{
    font-size: 1.15rem;
    line-height: 1.9;
    color: #ffffff;
    text-align: justify;
    margin-bottom: 18px;
    font-family: 'Georgia', serif;
}

.historia p::first-letter{
    font-size: 1.6rem;
    font-weight: bold;
    color: #c7b600;
}

nav{
    border-bottom: 2px solid #859306;
}
.historia{
    border-bottom: 2px solid #859306;
}

.simbolos{
    border-bottom: 2px solid #859306;
}

/* =========================================
   HERO HISTORIA - ESTILO ARMÓNICO ELEGANTE
========================================= */

.hero-historia{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;

    padding: 90px 60px;

    background:
    radial-gradient(circle at center,
    rgba(20,120,80,0.55),
    rgba(0,0,0,0.95));

    position: relative;
    overflow: hidden;

    border-top: 1px solid rgba(212,175,55,0.5);
    border-bottom: 1px solid rgba(212,175,55,0.5);
}

/* =========================================
   CONTENIDO CENTRAL
========================================= */

.contenido-historia{
    max-width: 760px;

    padding: 45px;

    background: rgba(0,0,0,0.25);

    border: 1px solid rgba(212,175,55,0.2);

    border-radius: 18px;

    backdrop-filter: blur(4px);

    box-shadow:
    0 0 25px rgba(0,0,0,0.4);

    animation: aparecer 1s ease;
}

.contenido-historia h1{
    text-align: center;

    font-size: 4rem;

    margin-bottom: 30px;

    color: #e7d39a;

    font-family: "Cinzel", serif;

    letter-spacing: 3px;

    text-shadow:
    0 0 8px rgba(255,215,120,0.25);
}

.contenido-historia p{
    color: #f3f3f3;

    font-size: 1.35rem;

    line-height: 1.9;

    margin-bottom: 28px;

    text-align: justify;

    font-family: "Georgia", serif;

    text-shadow:
    0 0 4px rgba(0,0,0,0.7);
}

/* =========================================
   LETRA CAPITAL
========================================= */

.letra-capital{
    float: left;

    font-size: 4.5rem;

    line-height: 0.9;

    padding-right: 12px;

    color: #d8bf6a;

    font-weight: bold;

    font-family: Georgia, serif;

    text-shadow:
    0 0 10px rgba(255,215,120,0.3);
}

/* =========================================
   TARJETAS BIOGRAFÍA
========================================= */

.link-biografia{
    display: flex;
    flex-direction: column;
    align-items: center;

    text-decoration: none;

    transition: transform 0.4s ease;
}

.link-biografia:hover{
    transform: translateY(-8px);
}

/* =========================================
   IMÁGENES
========================================= */

.personaje{
    width: 230px;

    border-radius: 10px;

    border: 3px solid rgba(212,175,55,0.6);

    box-shadow:
    0 0 20px rgba(0,0,0,0.7),
    0 0 20px rgba(255,215,120,0.15);

    transition: 0.4s ease;
}

.personaje:hover{
    transform: scale(1.04);

    box-shadow:
    0 0 25px rgba(255,215,120,0.35);
}

/* =========================================
   TEXTO BIOGRAFÍA
========================================= */

.texto-biografia{
    margin-top: 14px;

    font-size: 0.95rem;

    color: #9fd0ff;

    font-family: "Georgia", serif;

    transition: 0.3s ease;
}

.link-biografia:hover .texto-biografia{
    color: #ffffff;
}

/* =========================================
   ANIMACIÓN
========================================= */

@keyframes aparecer{

    from{
        opacity: 0;
        transform: translateY(30px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 1100px){

    .hero-historia{
        flex-direction: column;
        padding: 70px 25px;
    }

    .contenido-historia{
        max-width: 100%;
    }

    .contenido-historia h1{
        font-size: 2.8rem;
    }

    .contenido-historia p{
        font-size: 1.15rem;
    }

    .personaje{
        width: 180px;
    }
}

@media(max-width: 600px){

    .contenido-historia{
        padding: 28px;
    }

    .contenido-historia h1{
        font-size: 2rem;
    }

    .contenido-historia p{
        font-size: 1rem;
    }

    .personaje{
        width: 150px;
    }

    .texto-biografia{
        font-size: 0.85rem;
    }
}

/* NAVBAR */
.custom-navbar {
  background: linear-gradient(135deg, #0B3D28, #1B4332);
}

/* TITULO */
.titulo-navbar {
  font-size: 1.6rem;
  white-space: nowrap;
}

/* FECHA */
.fecha-navbar {
  font-size: 0.95rem;
  white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .custom-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .titulo-navbar {
    font-size: 1rem;
  }

  .fecha-navbar {
    font-size: 0.75rem;
    margin-left: 10px;
  }
}


