body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

main {
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
}




/*-ELEMENTS-------------------------------------------------------------*/
.title__format{
    color: #1b476a;
    letter-spacing: 2px;
    border-left: 10px solid #1b476a;
    border-bottom: 1px solid #1b476a;
    text-align: center;
  }
  .title__format__upp{
    text-transform: uppercase;
  }
  .title__format__low{
    text-transform: lowercase;
  }
  .title__format__cap{
    text-transform: capitalize;
  }



/* Navbar Styles */
   /* Ajustes exclusivos para navbar */
    .navbar-spacer {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 120px; /* 100px navbar + 20px margen */
        z-index: 1050;
        padding: 20px 20px 0 20px; /* mt-5 (20px) + px-5 (20px lateral) */
        background-color: #254669; /* Mismo color que el navbar */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
    }

    .navbar-custom {
        background-color: #254669 !important;
        height: 100px;
        position: relative; /* Cambiado a relative para que respete el spacer */
        width: 100%;
        z-index: 1051; /* Mayor que el spacer */
        border-radius: 10px;
    }

    body.navbar-fixed {
        padding-top: 120px; /* Ajuste para el spacer */
    }

    .container-fluid {
        width: 100%;
        max-width: 100%;
        padding-left: 1.5rem; /* Aumentado para alinear logo */
        padding-right: 1.5rem;
        height: 100%;
    }

    .navbar-brand {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-weight: 700;
        font-size: 1.25rem;
        color: white !important;
        text-transform: uppercase;
        margin-left: 20px; 
    }

    .navbar-brand img {
        height: 70px;
        transition: transform 1s ease;
        cursor: pointer;
    }

    .navbar-brand img:hover {
        transform: rotate(360deg);
    }

    .nav-link-custom {
        color: white !important;
        font-weight: 600;
        padding: 0.5rem 1rem;
        transition: transform 0.3s ease;
        text-transform: uppercase;
        text-decoration: none !important;
    }

    .nav-link-custom:hover {
        transform: scale(1.3);
        opacity: 0.9;
    }

    .nav-link-custom i {
        transition: transform 0.3s ease; 
        display: inline-block;
    }

    .nav-link-custom:hover i {
        transform: scale(1.3);
    }

    .navbar-collapse {
        background-color: #254669;
    }

    .navbar-toggler-custom {
        border: none;
        background: transparent;
        position: absolute;
        right: 1.5rem; /* Ajustado al padding */
        top: 50%;
        transform: translateY(-50%);
        z-index: 1060;
        padding: 0;
    }

    .burger {
        width: 25px;
        height: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        outline: none;
    }

    .burger .line {
        height: 2px;
        width: 100%;
        background-color: white;
        border-radius: 2px;
        transition: transform 0.3s ease;
    }

/* --- Modificaciones para el botón hamburguesa centrado --- */

    @media (max-width: 991.98px) {
        .navbar-toggler-custom {
            left: 50%; /* Centrado horizontal */
            top: 80%; /* Posición más baja */
        }

        .navbar-collapse {
            position: absolute;
            top: 100%; /* Despliega hacia abajo */
            left: 0;
            right: 0;
            background-color: #254669;
            border-radius: 0 0 10px 10px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out; /* Animación suave */
        }

        .navbar-collapse.show {
            max-height: 300px; /* Altura suficiente para el menú */
        }

        .navbar-nav {
            text-align: center; /* Centra los elementos del menú */
            padding: 10px 0;
        }

        .nav-item {
            margin: 0.8rem 0; /* Más espacio entre ítems */
        }
    }

    @media (max-width: 500px) {
        .navbar-spacer, .container-fluid {
            margin-left: 0px !important;
            padding-left: 0px !important;
        }

        .navbar-brand {
            font-size: 1rem; /* Tamaño de fuente más pequeño en móviles */
        } 
    } 


/*Estilos inc turismo: revista y gaceta*/

    .card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .img-container {
    height: 250px; /* MÁS PEQUEÑO */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 0 0 10px 10px;
    }

    .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    }


/* Estilos base del footer, chocaba los icons con AP*/
.sntss-footer {
    background-color: #254669;
    padding: 30px 0;
    color: #fff;
    font-family: Arial, sans-serif;
}

/* Logo */
.sntss-footer .sntss-logo {
    max-width: 80px;
}

/* Divisor bajo el logo */
.sntss-logo-divider {
    border-bottom: 1px solid #fff;
    width: 100%;
    margin: 10px auto 15px;
}

/* Texto del footer */
.sntss-footer-text {
    text-align: start;
}

.sntss-small-text {
    font-size: 13px;
    margin-bottom: 0.5rem;
}

/* Secciones del footer */
.sntss-footer-section {
    margin-top: 75px;
}

/* Títulos de sección */
.sntss-section-title {
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #fff;
}

/* Lista de enlaces */
.sntss-link-list {
    list-style: none;
    padding-left: 0;
    line-height: 1.8;
    font-size: 14px;
}

.sntss-link-list a {
    color: #fff;
    text-decoration: none;
}

.sntss-link-list a:hover {
    text-decoration: underline;
}

/* Sección de contacto */
.sntss-email-link {
    color: #fff !important; /* sobrescribir Bootstrap */
    text-decoration: none;
}

/* Redes sociales */
.sntss-social-section {
    margin-top: 1rem;
}

.sntss-social-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.sntss-social-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .sntss-social-buttons {
        justify-content: flex-start;
    }
}

/* Botones de redes sociales */
.sntss-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 6px 10px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sntss-social-btn:hover {
    background-color: #fff;
    color: #000;
}

/* Copyright */
.sntss-copyright {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #4C688E;
    font-size: 12px;
    color: #4C688E;
}

.sntss-copyright-text {
    margin-bottom: 0.5rem;
}

.sntss-copyright-link a {
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 767px) {
    .sntss-footer-section {
        margin-top: 40px;
    }
}

/* Evitar cambio de color y subrayado en enlaces de Enlaces, Institucional y Aviso de Privacidad*/
.sntss-footer-section .sntss-link-list a:hover {
    color: #fff;           /* Mantiene el color blanco */
    text-decoration: none;  /* Quita subrayado */
}

.sntss-copyright-link a:hover {
    color: #fff;           /* Mantiene el color blanco */
    text-decoration: none;  /* Quita subrayado */
}
