body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: #0d0d0d;
    color: #fff;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box; /*  clave */
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* reduce un poco */
    z-index: 1000;
    backdrop-filter: blur(5px);
}

/* LOGO */
.logo img {
    height: 150px;
}

/* MENU */
.menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* evita que se salga */
}

.menu a {
    color: white;
    text-decoration: none;
    margin-left: 15px; /* menos espacio */
    font-weight: bold;
    white-space: nowrap; /* evita saltos raros */
}

/* Hover efecto fuego */
.menu a:hover {
    color: orange;
}

/* Línea animada */
.menu a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: orange;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.menu a:hover::after {
    width: 100%;
}

.bio {
    color: white;
    text-decoration: none;
    position: relative;
    font-weight: bold;
    transition: 0.3s;
}

/* Hover naranja */
.bio:hover {
    color: orange;
}

/* Línea animada igual que menú */
.bio::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: orange;
    left: 0;
    bottom: -4px;
    transition: 0.3s;
}

.bio:hover::after {
    width: 100%;
}

/* Evitar que el header tape el contenido */
.hero {
    margin-top: 70px;
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide h1 {
    font-size: 60px;
    text-align: center;
    margin-top: 30vh;
}

.slide p {
    text-align: center;
    font-size: 20px;
}

/* SEPARADOR LLAMAS */
.separator {
    height: 120px;
    background: url('img/flames.webp') repeat-x bottom;
    background-size: contain;
}

/* NOTICIAS */
.news {
    padding: 60px 20px;
    text-align: center;
}

.news-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.card {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
    width: 250px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    border-radius: 10px;
}

/* TEAM */
.team {
    padding: 60px 20px;
    text-align: center;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.member img {
    width: 200px;
    border-radius: 50%;
    border: 3px solid orange;
}

.member h3 {
    margin-top: 10px;
}

/* FOOTER */
.footer {
    background: #000;
    padding: 50px 20px 20px;
    /*border-top: 2px solid orange;*/
}

/* CONTENEDOR */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

/* COLUMNAS */
.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h2,
.footer-col h3 {
    color: orange;
}

/* LINKS */
.footer-col a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 8px 0;
    transition: 0.3s;
}

.footer-col a:hover {
    color: orange;
    transform: translateX(5px);
}

/* PARTE INFERIOR */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 15px;
    font-size: 14px;
    color: #aaa;
}

.footer::before {
    content: "";
    display: block;
    height: 100px;
    background: url('img/flames.webp') repeat-x bottom;
    background-size: contain;
    margin-bottom: 30px;
}