/*
Theme Name: Hello Child Theme Xcalable
Template: hello-elementor
Version: 1.0.0
Author: Adrian
Description: Tema hijo de Hello Elementor
*/

/* Registrar Montserrat localmente */
@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/montserrat/Montserrat-Thin.woff2') format('woff2'),
         url('assets/fonts/montserrat/Montserrat-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/montserrat/Montserrat-Light.woff2') format('woff2'),
         url('assets/fonts/montserrat/Montserrat-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/montserrat/Montserrat-Medium.woff2') format('woff2'),
         url('assets/fonts/montserrat/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/montserrat/Montserrat-Bold.woff2') format('woff2'),
         url('assets/fonts/montserrat/Montserrat-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Ajustes en toda la web */
body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6, p { font-size: 1rem; }
small { font-size: 0.875rem; }

/*Footer*/
footer p {
    color: #fff;
}

/* Estilos generales Logos Tecnologías */
.tech-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    justify-content: center;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .logo-wrapper img {
    max-width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.4s ease-in-out;
  }
  
  .logo-wrapper .color {
    opacity: 0;
  }
  
  .logo-wrapper:hover .color {
    opacity: 1;
  }
  
  .logo-wrapper:hover .gray {
    opacity: 0;
  }
  
  .logo-wrapper:hover {
    transform: scale(1.05);
  }  