/**
 * Estilos personalizados para Landing Page Insignia
 * 
 * Este archivo contiene estilos adicionales que complementan Bootstrap
 * para crear una experiencia visual única y profesional.
 * 
 * @author Sistema Insignia
 * @version 1.0.0
 */

/* Variables CSS personalizadas para Insignia */
:root {
    --primary-color: #ffffff;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #cccccc;
    --dark-color: #1a1a1a;

    /* Colores específicos de Insignia */
    --insignia-dark: #1a1a1a;
    --insignia-white: #ffffff;
    --insignia-grey: #333333;
    --insignia-blue: #0066cc;
    --insignia-gold: #d4af37;

    /* Sombras personalizadas */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.5);

    /* Transiciones */
    --transition-base: all 0.3s ease-in-out;
    --transition-fast: all 0.15s ease-in-out;
}

/* Configuración base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'proxima-nova', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--insignia-white);
    background-color: #1a1a1a;
    font-size: 20px;
}

hr {
    border-color: var(--light-color);
}

.btn {
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 2em;
    padding-right: 2em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.btn:hover {
    background-color: var(--dark-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.desktop-break {
    display: block;
}

/* Clase reutilizable para secciones de pantalla completa */
.fullscreen-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.fullscreen-section .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fullscreen-section .section-content {
    text-align: center;
    width: 100%;
}

.fullscreen-section .section-footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: .18em;
    opacity: .5;
    color: var(--insignia-white);
    font-family: proxima-nova, sans-serif;
}

/* Header */
#main-content {
    background-image: url('../images/bg-header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}

#banco-caribe-logo,
#banco-caribe-logo-footer {
    width: 200px;
    height: auto;
}

/* Inicio */
#home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

#home h1 {
    font-size: 3em;
    font-weight: 100;
    text-transform: uppercase;
    font-family: proxima-nova, sans-serif;
    margin-bottom: 0;
}

#home h2 {
    font-size: 1.25em;
    font-weight: 600;
}

.home-content {
    text-align: left;
    color: var(--insignia-white);
    margin-top: -60px;
}

.home-content h2 {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 1.5rem;
    font-family: proxima-nova, sans-serif;
}

.home-content p {
    font-size: .56em;
    font-weight: 300;
    margin-bottom: 2rem;
    font-family: proxima-nova, sans-serif;
    line-height: 1.2em;
}

#home-header {
    font-size: 1.2em;
    font-weight: 100;
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .18em;
    opacity: .5;
    color: var(--insignia-white);
    font-family: proxima-nova, sans-serif;
}

h2 {
    font-weight: 200;
    font-size: 3em;
}

/* Swiper Cards Effect - Efecto fluido con separación */
.swiper-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 60px;
    overflow: visible;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    width: 280px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 0 15px;
}

.slide-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    opacity: 0.7;
    transform: scale(0.9);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-out;
}

/* Slide activo - fadeIn completo */
.swiper-slide-active .slide-card {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Slides laterales - fadeOut gradual */
.swiper-slide:not(.swiper-slide-active) .slide-card {
    opacity: 0.4;
    transform: scale(0.85);
    filter: blur(2px);
}

.label-cashback {
    font-weight: 100;
    letter-spacing: .2em;
}

#diapos-3d p {
    font-weight: 100;
}

#diapos-3d .featured-text {
    font-size: 1.15em;
    font-weight: 400;
}

.link-primary {
    font-size: .9em;
    transition: all 0.3s ease;
}

.link-primary:focus,
.link-primary:hover {
    color: var(--secondary-color) !important;
}

/* Paginación personalizada */
.swiper-pagination {
    opacity: 0;
    position: relative;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
    transform: scale(1.2);
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Botones de navegación como en el diseño */
.swiper-3d .swiper-slide-shadow {
    background: transparent !important;
}

.swiper-button-next,
.swiper-button-prev {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-top: -18px;
    transition: all 0.3s ease;
    border: none;
    backdrop-filter: blur(8px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Chevron personalizado para botón siguiente */
.swiper-button-next:after {
    content: '';
    background-image: url('../images/chevron.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    display: block;
}

/* Chevron personalizado para botón anterior */
.swiper-button-prev:after {
    content: '';
    background-image: url('../images/chevron.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    display: block;
    transform: rotate(180deg);
}

.swiper-button-next {
    right: 6em;
}

.swiper-button-prev {
    left: 3em;
}

#entretenimiento {
    background-image: url('../images/bg-shade.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: center;
}

#beneficios {
    background-image: url('../images/bg-beneficios.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: center;
}

/* Beneficios Visa - Estilo como en la captura */
.beneficios-visa-col {
    background: #000000;
    border-radius: 15px;
    margin: 0 8px;
    min-height: 200px;
    transition: all 0.3s ease;
}

.beneficios-visa-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.icono-beneficio-visa img {
    width: 100px;
    height: 100%;
}

.beneficios-visa-col h5 {
    color: var(--insignia-white);
    font-weight: 600;
    font-size: 1.15rem;
    text-align: left;
    margin-bottom: 8px;
}

.beneficios-visa-col p {
    color: var(--insignia-white);
    font-size: 0.9rem;
    text-align: left;
    line-height: 1.4;
    min-height: 90px;
    margin: 0;
}


#mas-beneficios {
    background: linear-gradient(to bottom, #202020, #1a1a1a);
}


.items-beneficios {
    margin-top: 1em;
    margin-bottom: 1em;
    color: #999999;
}

.items-beneficios strong,
.items-beneficios a {
    color: #fff;
}

h3 {
    font-size: 2.1em;
}

.swiper-pagination {
    background-color: #333333;
    padding: 5px 10px;
    border-radius: 20px;
    display: block;
}

.swiper-pagination-bullet-active {
    background-color: #666666;
}



/* Forzar alineación a la izquierda del título Beneficios Visa */
.text-start,
.text-start h3,
.text-start * {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

/* Forzar contenedores padre */
.container .text-start,
.row .text-start,
.col .text-start {
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

/* Responsive */
@media (max-width: 768px) {
    .swiper-container {
        max-width: 100%;
        padding: 40px 50px;
    }

    .swiper-slide {
        width: 250px;
        height: 320px;
        margin: 0 4px;
    }

    /* Beneficios Visa responsive */
    .beneficios-visa-col {
        margin: 0 4px 15px 4px;
        min-height: 180px;
    }

    .beneficios-visa-col h5 {
        font-size: 0.9rem;
    }

    .beneficios-visa-col p {
        font-size: 0.8rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -16px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        width: 16px;
        height: 16px;
    }

    .swiper-button-next {
        right: 6em;
    }

    .swiper-button-prev {
        left: 3em;
    }
}

@media (max-width: 480px) {
    .swiper-container {
        padding: 30px 40px;
    }

    .swiper-slide {
        width: 220px;
        height: 280px;
        margin: 0 3px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        width: 14px;
        height: 14px;
    }

    .swiper-button-next {
        right: -5px;
    }

    .swiper-button-prev {
        left: -5px;
    }
}