/* Variables */
:root {
    --dark-blue: #010453;
    --navy-blue: #000066;
    --gold: #EFBE6D;
    --gradient-start: #BFF6FF;
    --gradient-end: #CFA056;
    
    /* Nuevos colores para el header */
    --header-dark-purple: #2a2a6d;
    --header-deep-blue: #143d59;
    --header-light-blue: #91d5e0;
    --header-gold-border: #f1cd7c;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Animación de intro */
.intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: bgChange 2s forwards;
}

@keyframes bgChange {
    0% {
        background-color: #000;
    }
    50% {
        background-color: var(--navy-blue);
    }
    100% {
        background-color: var(--navy-blue);
    }
}

.intro-content {
    text-align: center;
    color: white;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-m {
    width: 100px;
    height: auto;
}

.text-container {
    opacity: 1;
    animation: fadeOut 1s forwards;
    animation-delay: 2s;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.text-muma {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
}

.text-network {
    font-size: 14px;
    letter-spacing: 1px;
}

.logo-m {
    animation: logoMove 1.5s forwards;
    animation-delay: 3s;
}

@keyframes logoMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(0, -200px) scale(0.5);
    }
}

.intro-animation {
    animation: introFade 0.5s forwards;
    animation-delay: 4.5s;
}

@keyframes introFade {
    0% {
        opacity: 1;
        height: 100%;
    }
    100% {
        opacity: 0;
        height: 80px;
    }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-gradient {
    height: 80px;
    background: linear-gradient(to bottom, var(--header-dark-purple), var(--header-deep-blue));
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--header-gold-border);
}

.logo-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-m-header {
    width: 50px;
    height: auto;
}

/* Main content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 300px); /* Viewport height - header - footer */
}

/* Banner Principal */
.main-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    background-image: url('../public/Desktop/Landing Multimarket/Bloque 1/Landing fondo.webp');
    background-size: cover;
    background-position: right center;
    overflow: hidden;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(1, 4, 83, 0.8), rgba(1, 4, 83, 0.4), transparent);
    z-index: 1;
}

.banner-content1 {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0;
    align-items: end; /* Centra verticalmente */
}

.banner-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start; /* Centra horizontalmente */
    color: white;
    padding-right: 20px;
    margin-left: 12%;
    text-align: center; /* Centra el texto */
}

.banner-icons {
    display: flex;
    justify-content: center; /* Centra los iconos */
    gap: 40px;
    margin-bottom: 30px;
}

.banner-icon {
    width: 60px;
    height: 60px;
}

.banner-text1 {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.3;
    max-width: 80%;
    margin-bottom: 50px;
}

.banner-right {
    width: 50%;
    height: 100%;
    display: contents;
    align-items: center;
    justify-content: flex-end;
}

.banner-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: flex;
}

/* Estadísticas */
.stats-section {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(to right, #b3f2fd 0%, #d9e9d1 50%, #e8d1a4 100%);
    border-radius: 10px;
    padding: 10px 0px 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 300px;
}

.stat-content {
    display: flex;
    align-items: center;
}

.stat-number {
    font-size: 80px;
    font-weight: bold;
    color: white;
    margin-right: 15px;
}

.stat-text {
    background-color: white;
    color: #333;
    padding: 5px 15px;
    border-radius: 5px 0 0 5px;
    font-weight: bold;
    font-size: 16px;
}

/* Nuestros objetivos */
.objectives-section {
    padding: 70px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    color: var(--dark-blue);
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.title-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}
.title-decoration h2{
    width: 20%;
}

.line-left, .line-right {
    height: 5px;
    width: 45%;
    max-width: 45%;
}

.line-left {
    background: linear-gradient(
  to right,
  #b3f2fd 0%,
  #d9e9d1 50%,
  #dfe7cd 100%
);
    margin-right: 10px;
}

.line-right {
    background: linear-gradient(
  to right,
  #e2dab5 0%,
  #e6cc99 50%,
  #d3a865 100%
);
    margin-left: 10px;
}

.barra-colores {
  width: 100%;
}

.fila {
  display: flex;
  height: 10px; /* Puedes cambiarlo a 15px si deseas */
}

.col {
  flex: 1;
}

.color-1 { background-color: #e0ab52; }   /* dorado claro */
.color-2 { background-color: #74b8fb; }   /* celeste */
.color-3 { background-color: #9e1f20; }   /* rojo oscuro */

.color-4 { background-color: #b56b17; }   /* marrón dorado */
.color-5 { background-color: #0073ff; }   /* azul fuerte */
.color-6 { background-color: #d4cfa3; }   /* beige claro */


.objectives-images {
    display: flex;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.objective-image {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.objective-image {
    position: relative;
}

.objective-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    width: 100%;  
    background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 30%,
    rgba(16, 39, 64, 0.8) 70%,
    rgba(7, 28, 40, 0.95) 100%
  );
    overflow: hidden;
    transition: height 0.5s ease;
    display: flex;
    align-items: flex-end;
}

.objective-image:hover .overlay {
    height: 100%;
}

.overlay-content {
    padding: 30px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.2s;
}

.objective-image:hover .overlay-content {
    opacity: 1;
    transform: translateY(0);
}

.objective-icon {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.3s;
}

.objective-image:hover .objective-icon {
    opacity: 1;
    transform: translateY(0);
}

.objective-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.objective-title {
    color: var(--gold);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.4s;
}

.objective-image:hover .objective-title {
    opacity: 1;
    transform: translateY(0);
}

.objective-text {
    color: white;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.5s;
}

.objective-image:hover .objective-text {
    opacity: 1;
    transform: translateY(0);
}

/* Brands Section */
.brands-section {
    padding: 60px 0 0 0; /* Reducido el padding inferior */
}

.brands-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 0; /* Eliminado el espacio entre banners */
    width: 100%;
}

.brand-banner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 900px;
    width: 33.333%; /* Cada banner ocupa exactamente 1/3 del ancho */
    cursor: pointer; /* Indica que es clickeable */
    transition: transform 0.3s ease;
}


.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 2;
    position: relative;
}

.banner-logo-2 {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100px;
    width: 100%;
}

.default-logo {
    position: absolute;
    max-width: 80%;
    max-height: 80px;
    opacity: 1;
    transition: opacity 0.5s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hover-logo {
    position: absolute;
    max-width: 200%;
    max-height: 200px;
    min-width: 200%;
    min-height: 200px;
    opacity: 0;
    transition: opacity 0.5s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-text {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.5s ease;
    max-width: 80%;
    margin: 0 auto;
    padding: 0;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover effects */
.brand-banner:hover .banner-background {
    opacity: 1;
}

.brand-banner:hover .default-logo {
    opacity: 0;
}

.brand-banner:hover .hover-logo {
    opacity: 1;
}

.brand-banner:hover .banner-text {
    color: white;
}

/* Specific banner styles */
#divisas-banner:hover {
    background: linear-gradient(to right, #DEAB54, #B46A16);
}

#viajes-banner:hover {
    background: linear-gradient(to right, #7BB4FF, #006EFF);
}

#extranjeria-banner:hover {
    background: linear-gradient(to right, #9E2424, #CEC69A);
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact-container {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    outline: none;
}

.phone-input {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.country-code {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background-color: #f0f0f0;
    border-right: 1px solid #ddd;
}

.flag-icon {
    width: 24px;
    height: 16px;
    margin-right: 8px;
}

.phone-input input {
    border: none;
    border-radius: 0;
}

.contact-button {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--dark-blue);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.contact-button:hover {
    background-color: var(--gold);
}

/* Footer */
.main-footer {
    background-color: #fff;
    padding: 40px 0 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 0 20px;
    gap: 40px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    width: 25%;
}

.footer-links a {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--dark-blue);
}

.footer-maps {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    width: 50%;
}

.map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
}

.map-image {
    width: 255px; /* 150px * 1.7 */
    height: auto;
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.3s;
}

.map-image:hover {
    transform: scale(1.05);
}

.location-info {
    text-align: center;
    width: 100%;
}

.location-info h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark-blue);
    font-weight: bold;
    letter-spacing: 0.5px;
}

.location-info p {
    font-size: 14px;
    color: #555;
    margin: 4px 0;
    line-height: 1.4;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid #eee;
    width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-left: 20%; /* Separación del 20% del borde izquierdo */
}

.logo-m-footer {
    width: 50px;
    height: auto;
    filter: brightness(0); /* Hace que el logo blanco sea negro */
    transition: transform 0.3s;
}

.footer-logo:hover .logo-m-footer {
    transform: scale(1.1);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-right: 20%; /* Separación del 20% del borde derecho */
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
    filter: invert(8%) sepia(100%) saturate(6481%) hue-rotate(240deg) brightness(12%) contrast(142%); /* Convierte a color azul oscuro */
}

.social-link:hover .social-icon {
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        width: 100%;
        align-items: center;
        margin-bottom: 30px;
    }

    .footer-maps {
        width: 100%;
    }

    .banner-content {
        flex-direction: column;
        align-items: center;
    }

    .banner-left {
        width: 100%;
        align-items: center;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .banner-right {
        width: 100%;
        justify-content: center;
    }

    .banner-text {
        text-align: center;
    }

    .objectives-images {
        height: 350px;
    }

    .brands-container {
        flex-direction: column;
        gap: 30px;
    }

    .brand-banner {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .footer-maps {
        gap: 40px;
    }

    .map-image {
        width: 200px; /* Tamaño reducido para móviles */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .footer-logo, .social-icons {
        margin-left: 0;
        margin-right: 0;
    }

    .location-info h3 {
        font-size: 15px;
    }

    .location-info p {
        font-size: 13px;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .stat-card {
        width: 90%;
        max-width: 350px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .line-left, .line-right {
        width: 20%;
    }

    .objectives-images {
        flex-direction: column;
        height: auto;
    }

    .objective-image {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .map-image {
        width: 180px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .banner-icons {
        gap: 20px;
    }

    .banner-icon {
        width: 50px;
        height: 50px;
    }

    .banner-text {
        font-size: 26px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .objective-image {
        height: 200px;
    }

    .overlay-content {
        padding: 15px;
    }

    .objective-title {
        font-size: 20px;
    }

    .objective-text {
        font-size: 14px;
    }

    .brand-banner {
        height: 300px;
        padding: 20px;
    }

    .banner-logo-2 {
        height: 60px;
    }

    .banner-text {
        font-size: 14px;
        max-width: 95%;
    }

    .contact-container {
        padding: 0 15px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }

    .contact-button {
        padding: 12px;
        font-size: 14px;
    }
}

/* Estilos para las páginas individuales */
.page-content {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 20px;
    text-align: center;
}

.page-content h1 {
    font-size: 36px;
    color: var(--dark-blue);
    margin-bottom: 30px;
}

.page-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

