    @charset "utf-8";
    html, body {
    overflow-x: hidden;
    }
    /* CSS Document */
    :root {
                --color-primary: #037ccf;
                --color-secondary: #037ccf;
                --color-dark: #1a1a1a;
                --color-light: #f5f5f5;
            }

            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }

            body {
                font-family: 'Roboto', 'Lato', 'Open Sans', 'Montserrat', sans-serif;
                background-color: var(--color-light);
            }

            h1, h2, h3, h4, h5 {
                font-family: 'Montserrat', 'Roboto', sans-serif;
                font-weight: 700;
            }

            p, span, li, input, textarea {
                font-family: 'Roboto', 'Open Sans', sans-serif;
            }

            button, .btn {
                font-family: 'Lato', 'Roboto', sans-serif;
                font-weight: 600;
                }

            /* ========== TOP BAR ========== */
            .top-bar {
                background-color: white;
                padding: 12px 0;
                border-bottom: 1px solid #e0e0e0;
            }

            .top-bar-content {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .social-top {
                display: flex;
                gap: 12px;
            }

            .social-top a {
                width: 32px;
                height: 32px;
                background-color: #f0f0f0;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--color-primary);
                font-size: 14px;
                transition: all 0.3s ease;
                text-decoration: none;
            }

            .social-top a:hover {
                background-color: var(--color-primary);
                color: white;
                transform: scale(1.1);
            }

            .search-box {
                display: flex;
                gap: 5px;
            }

            .search-box input {
                padding: 8px 12px;
                border: 1px solid #ddd;
                border-radius: 4px;
                font-size: 13px;
                width: 180px;
            }

            .search-box button {
                padding: 8px 15px;
                background-color: var(--color-primary);
                color: white;
                border: none;
                border-radius: 4px;
                cursor: pointer;
                font-size: 13px;
                transition: all 0.3s ease;
            }

            .search-box button:hover {
                background-color: #025ba3;
            }

            /* ========== HEADER ========== */
            .header {
                background: linear-gradient(rgba(3, 124, 207, 0.85), rgba(3, 124, 207, 0.85)), url('images/Banner.jpg') center/cover;
                color: white;
                padding: 10px 0;
                position: relative;
                border-bottom: 3px solid #037ccf;
            }

            .logo {
                width: 150px;
                height: 150px;
                background-color: rgba(255, 255, 255, 0.2);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: bold;
                font-size: 12px;
                text-align: center;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            }

            .header-top {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 20px;
            }

            .header-title {
                background-image:image('images/Banner.jpg');
                flex: 1;
                text-align: center;
                margin: 0 30px;
            }

            .header-title h1 {
                font-size: 32px;
                font-weight: 700;
                letter-spacing: 2px;
                margin: 0;
            }

            .header-image {
                width: 10%;
                height: 10%;
                overflow: hidden;
                
            }

            .header-image img {
                width: 100%;
                height: 100%;
                object-fit: fill;
            }

            .social-header {
                display: flex;
                gap: 15px;
                align-items: center;
                position: absolute;
                right: 0;
            }

            .social-icon {
                width: 40px;
                height: 40px;
                background-color: rgba(255, 255, 255, 0.2);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-size: 18px;
                transition: all 0.3s ease;
                cursor: pointer;
            }

            .social-icon:hover {
                background-color: rgba(255, 255, 255, 0.4);
                transform: scale(1.1);
            }

            /* ========== NAVIGATION ========== */
            .navbar-custom {
                background-color: transparent;
                padding: 0 0 10px 0;
                margin-top: 20px;
                border-bottom: 2px solid #037ccf;
                display: flex;
                justify-content: center;
                align-items: center;
                position: relative;
            }

            .nav-menu {
                display: flex;
                justify-content: center;
                gap: 30px;
            }

            .nav-item {
                position: relative;
            }

            .nav-link {
                color: black;
                text-decoration: none;
                font-size: 16px;
                font-weight: 600;
                letter-spacing: 1px;
                transition: all 0.3s ease;
                padding: 10px 0;
                display: inline-block;
            }

            .nav-link:hover {
                color: white;
                font-size: 18px;
                transform: translateY(-2px);
            }

            .nav-link::after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 50%;
                width: 0;
                height: 2px;
                background-color: var(--color-secondary);
                transition: all 0.3s ease;
                transform: translateX(-50%);
            }

            .nav-link:hover::after {
                width: 100%;
            }

            /* ========== ICON CIRCLES SECTION ========== */
            .icons-section {
                display: flex;
                justify-content: center;
                gap: 20px;
                margin: 40px 0;
                flex-wrap: wrap;
            }

            .icon-circle-container {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 12px;
            }

            .icon-circle {
                width: 80px;
                height: 80px;
                background-color: #d3d3d3;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
                transition: all 0.3s ease;
            }

            .icon-circle:hover {
                transform: scale(1.1);
                box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
            }

            .icon-label {
                font-size: 13px;
                font-weight: 600;
                color: var(--color-primary);
                text-align: center;
            }

            /* ========== CAROUSEL ========== */
            .carousel-section {
                margin: 50px 0;
                display: flex;
                justify-content: center;
            }

            .carousel {
                margin: 0 auto;
                border-radius: 10px;
                overflow: hidden;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            }

            .carousel-item {
                height: 500px;
                background-color: #e9ecef;
            }

            .carousel-img {
                width: 100%;
                height: 500px;
                object-fit: cover;
                display: block;
                border-radius: 10px;
            }

            .carousel-caption {
                background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
                padding: 20px;
            }

            /* ========== HISTORY SECTION ========== */
            .history-section {
                background-color: white;
                padding: 40px;
                border-radius: 10px;
                margin: 30px 0;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
                text-align: justify;
            }

            .history-section h2 {
                color: var(--color-primary);
                font-weight: 700;
                margin-bottom: 20px;
                font-size: 28px;
            }

            .history-section p {
                color: #555;
                line-height: 1.8;
                font-size: 16px;
                text-align: justify;
                margin-bottom: 15px;
            }

            /* ========== FOOTER ========== */
            footer {
                background-color: var(--color-dark);
                color: white;
                padding: 50px 0;
                margin-top: 50px;
                border-top: 3px solid var(--color-secondary);
            }

            .footer-section {
                padding: 20px;
            }

            .footer-section h5 {
                color: var(--color-secondary);
                font-weight: 700;
                margin-bottom: 20px;
                font-size: 14px;
                letter-spacing: 1px;
            }

            .footer-links {
                list-style: none;
            }

            .footer-links li {
                margin-bottom: 12px;
            }

            .footer-links a {
                color: #ccc;
                text-decoration: none;
                transition: all 0.3s ease;
                font-size: 14px;
            }

            .footer-links a:hover {
                color: var(--color-secondary);
                font-size: 15px;
                padding-left: 5px;
            }

            .footer-contact {
                text-align: center;
            }

            .footer-icon {
                width: 80px;
                height: 80px;
                background-color: rgba(255, 255, 255, 0.1);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 auto 20px;
                font-size: 40px;
                color: var(--color-secondary);
            }

            .footer-contact p {
                font-size: 14px;
                color: #ccc;
                margin: 10px 0;
            }

            .footer-contact strong {
                color: var(--color-secondary);
            }

            .social-footer {
                display: flex;
                justify-content: center;
                gap: 15px;
                margin-top: 20px;
            }

            .social-footer a {
                width: 40px;
                height: 40px;
                background-color: rgba(255, 255, 255, 0.1);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                transition: all 0.3s ease;
            }

            .social-footer a:hover {
                background-color: var(--color-secondary);
                transform: translateY(-3px);
            }

            /* ========== RESPONSIVE ========== */
            @media (max-width: 768px) {
                .search-box input {
                    width: 120px;
                }

                .search-box {
                    width: 100%;
                }

                .header-title h1 {
                    font-size: 20px;
                    line-height: 1.3;
                }

                .header-top {
                    flex-direction: column;
                    align-items: center;
                    text-align: center;
                }

                .logo {
                    width: 120px;
                    height: 120px;
                }

                .header-title {
                    margin: 10px 0;
                }

                .header-image {
                    width: 120px;
                    height: auto;
                }

                .header-image img {
                    object-fit: contain;
                }

                .navbar-custom {
                    flex-direction: column;
                    gap: 15px;
                }

                .nav-menu {
                    flex-wrap: wrap;
                    justify-content: center;
                    gap: 10px;
                }

                .nav-link {
                    font-size: 13px;
                    padding: 5px;
                }

                .nav-link:hover {
                    font-size: 16px;
                }

                .carousel-item {
                    height: 300px;
                }

                .carousel-img {
                    height: 250px;
                }

                .icons-section {
                    justify-content: center;
                    gap: 10px;
                }

                .icon-circle {
                    width: 60px;
                    height: 60px;
                }

                .icon-circle img {
                    width: 40px;
                }

                .icon-label {
                    font-size: 12px;
                }

                .history-section {
                    padding: 25px;
                }

                .history-section h2 {
                    font-size: 22px;
                }

                .footer-section {
                    text-align: center;
                    padding: 20px 10px;
                    margin-bottom: 20px;
                }

                .social-header {
                    gap: 10px;
                }

                .social-icon {
                    width: 35px;
                    height: 35px;
                    font-size: 16px;
                }
            }

            input, textarea {
                text-transform: uppercase;
            }

            @media (max-width: 576px) {
                .header-title h1 {
                    font-size: 18px;
                }

                .nav-menu {
                    gap: 10px;
                }

                .nav-link {
                    font-size: 12px;
                }

                .carousel-item {
                    height: 200px;
                }

                .carousel-img {
                    height: 180px;
                }

                .icon-circle {
                    width: 50px;
                    height: 50px;
                }

                .history-section {
                    padding: 15px;
                }

                .history-section p {
                    font-size: 14px;
                }
            }

            @media (max-width: 768px) {
                .carousel-img {
                height: 250px;
                }
            }

            @media (max-width: 576px) {
                .carousel-img {
                height: 180px;
                }
            }

            /* ===== FIX CARRUSEL CENTRADO ===== */
    .carousel-section {
        display: flex;
        justify-content: center;
    }

    #carouselMarinera {
        max-width: 900px;
        width: 100%;
        margin: 0 auto;
    }

    /* Corrige deformación */
    .carousel-item {
        height: auto !important;
    }

    .carousel-img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }

    /* ===== FIX FINAL CENTRADO REAL ===== */

.carousel-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#carouselMarinera {
    width: 900px !important;
    max-width: 90%;
    margin: 0 auto !important;
}

/* Evita que Bootstrap lo estire raro */
.carousel {
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== TITULOS ===== */
.titulo-seccion {
    text-align: center;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 30px;
}

/* ===== BLOQUES DE BASES ===== */
.bloque-base {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.bloque-base h5 {
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 10px;
}

.bloque-base p {
    text-align: justify;
    line-height: 1.7;
    color: #555;
}

/* LISTAS */
.bloque-base ul {
    padding-left: 20px;
}

.bloque-base li {
    margin-bottom: 8px;
    color: #555;
}

/* ===== MEJORA MOVIL ===== */
@media (max-width: 768px) {
    .history-section {
        padding: 20px;
    }

    .bloque-base p,
    .bloque-base li {
        font-size: 14px;
    }

    .titulo-seccion {
        font-size: 20px;
    }
}

/* ===== ACORDEÓN PERSONALIZADO ===== */
.accordion-button {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #037ccf;
}

.accordion-button:not(.collapsed) {
    background-color: #037ccf;
    color: white;
}

.accordion-body {
    text-align: justify;
    line-height: 1.7;
}

/* Botón PDF */
.btn-primary {
    background-color: #037ccf;
    border: none;
}

.btn-primary:hover {
    background-color: #025ba3;
}

/* ===== GANADORES ===== */
.bloque-ganadores {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.anio {
    text-align: center;
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 20px;
}

.categoria {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.categoria h5 {
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 10px;
}

.categoria p {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .bloque-ganadores {
        padding: 15px;
    }

    .categoria p {
        font-size: 14px;
    }
}

/* ===== TARJETAS MARINERAS ===== */
.marinera-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.marinera-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.marinera-card .card-body {
    background-color: #fff;
}

.marinera-card h5 {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .marinera-card h5 {
        font-size: 15px;
    }
}

/* ===== CONTACTO ===== */

.contacto-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contacto-card:hover .contacto-img {
    transform: scale(1.05);
}

.contacto-card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.admin-btn {
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 12px;
}

/* ===== BOTÓN CERRAR SESIÓN ===== */
.top-bar .btn {
    font-weight: bold;
    border-radius: 8px;
}

.top-bar .btn-light {
    background: white !important;
    color: black !important;
}

.top-bar .btn-outline-light {
    border: 2px solid white;
    color: white;
}

.top-bar .btn-outline-light:hover {
    background: white;
    color: black;
}