/*
Theme Name: galwork
Theme URI: https://logicalweb.bo
Version: 1.0
Description: Tema hijo de twentytwentyfive
Author: Enrrique
Author URI: https://logicalweb.bo
Template: twentytwentyfive
*/

html {
    /* 1. Activa la animación suave para todos los enlaces internos de la web */
    scroll-behavior: smooth;
    
    /* 2. Crea un margen global arriba para que el ID no se pegue al techo.
       (Ajusta los 100px a la altura de tu menú o el espacio que desees) */
    scroll-padding-top: 100px; 
}

.text-justify{
	text-align:justify;
}
.grecaptcha-badge{
	display:none;
}
/*HEADER*/
header{
	position:fixed;
	top:0;
	width:100%;
	z-index:3;
}
.content-header {
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
}
.content-header.header-scrolled {
    background-color: #2b1209 !important;
}
.btn-header img{
	background-color:#ff6900;
    vertical-align: middle;
    padding: 0.5rem;
    border-radius: 100%;
}
header a[aria-current="page"]{
	color:#ff8a38 !important;
}
header a:is(:hover,:active,:focus){
	outline:none;
	text-decoration:none;
	border:none;
}
header a:hover{
	color:#ff8a38 !important;
}
/*FOOTER*/
.text-credits img{
	vertical-align:middle;
}
/*HOME*/
.gs_logo_single img{
	aspect-ratio: 1 / 1;
}
.gs_logo_single{
	padding:0.5rem;
}
.content-background>img{
	width:50% !important;
	left: auto !important;
}
.icon-figure{
	    background-color: #ffddd2;
    padding: 1rem;
}
.content-service{
	cursor:pointer;
	
}
.content-service img{
	transition: 2s all;
}
.content-service figure{
	overflow:hidden;
}

.content-service:hover img{
	transform:scale(1.25);
}
/*SOBRE NOSOTROS*/
/*SERVICES*/
.icon-services img{
	background-color:#01243f;
	padding:1rem;
	border-radius:100%;
}
/* ========================================== */
  /* Diseño del Modal                           */
  /* ========================================== */
  .modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 99999; /* Asegura que esté por encima del menú de WordPress */
    
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro translúcido */
    align-items: center;
    justify-content: center;
  }

  .modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px; /* Ancho máximo del modal */
    max-height: 90vh; /* Altura máxima (90% de la pantalla) */
    overflow-y: auto; /* Scroll interno si hay mucho contenido */
    position: relative;
  }

  /* Botón de cerrar (X) */
  .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
  }

  .close-modal:hover {
    color: #ff0000;
  }
/*BLOG*/
.extract-blog{
	    margin: auto;
    width: 90%;
    margin-top: -100px;
}
.btn-more{
	width:100%;
	box-sizing:border-box;
}
.btn-more img{
	vertical-align:middle;
	float:ridge;
}
/*CONTACT*/
.icon-contact img{
	background-color:#01243F;
	padding: 1rem;
}
.contact-form :where(input,select,textarea){
	padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    /* height: 2.5rem; */
    border: 1px solid #01243f;
    border-radius: 0.25rem;
}
.wpcf7-submit{
	    background-color: #01243f;
    color: white;
    font-weight: bold;
    padding: 1rem;
}

/* ==========================================================================
   Animaciones de Entrada para WordPress
   ========================================================================== */

/* Estado inicial: oculto y preparado para animar */
.wp-anim-fade, 
.wp-anim-slide-up, 
.wp-anim-zoom, 
.wp-anim-counter {
    opacity: 0;
    visibility: hidden;
    will-change: opacity, transform;
    transition: all 3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Efectos específicos iniciales */
.wp-anim-slide-up {
    transform: translateY(40px);
}

.wp-anim-zoom {
    transform: scale(0.9);
}

/* Estado final: visible (Esta clase la añade el JS) */
.is-visible.wp-anim-fade,
.is-visible.wp-anim-slide-up,
.is-visible.wp-anim-zoom,
.is-visible.wp-anim-counter {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Clases de retraso (Delay) para hacer secuencias en bloque */
.wp-delay-100 { transition-delay: 100ms; }
.wp-delay-200 { transition-delay: 200ms; }
.wp-delay-400 { transition-delay: 400ms; }

/* Ajustes Responsive para móviles */
@media (max-width: 768px) {
    .wp-anim-slide-up {
        transform: translateY(20px); /* Menor desplazamiento en pantallas pequeñas */
    }
	.content-credits{
		justify-content:center;
	}
}
@media(max-width:1080px){
	.content-header-button{
		display:none !important;
	}
	.row-header{
		padding:0.5rem 0 !important;
	}
	.content-background>img{
		display:none !important;
	}
}