@charset "UTF-8";
/* CSS Document */


/* TEMPLATE */

.templatemo-top-menu {
    min-height:10px;
    background-color:transparent;
    z-index: 20000; 
    width:100%;

}

.templatemo-top-menu .navbar-toggle {
    margin-top: 0px;
}

.templatemo-top-menu .navbar-brand {
    padding: 0;
    margin: 5px 0 0 0;
}

.templatemo-footer {
	color: darkorange; 
	margin-top: 50px;
	margin-bottom: 0px;
}

.nav > li > a {
    padding: 15px 10px;
	 color: #FF8C00;
}

.nav > li > a:hover,
.nav > li > a:focus {
    background-color: palevioletred;
    color:#fff;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    background-color: palevioletred;
    color:#fff;
}


.nav > li > a {
    color: white;
}
.navbar-default {
    background-color:white;
    border:none;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: palevioletred;
    color:white;
}

.navbar {
    margin-bottom: 0px;
}

.footer_bottom_content {
	margin: auto;
    align-content: center;
    text-align: center;
	margin-bottom: 30px;
	font-size: 14px;
	font-weight: bold;
	background-color: lightgray;
	color:black;
}


/*VÍNCULOS MENU */

a.menu_links {
	
	cursor: pointer; 
	font-weight: bold;
	
}



/* CONFIGURACIÓN BLOG Y AREAS */

.member-thumb:hover .thumb-overlay {
    transition: all 0.3s ease-in-out 0s;
    visibility: visible;
    opacity: 1;
}

.member-thumb {
    position: relative;
    overflow: hidden;
}

.member-thumb .thumb-overlay {
    background-color: rgba(220, 157, 102, 0.8);
    position: absolute;
    visibility: hidden;
    padding-top: 35%;
    padding-left: 25%;
    height: 100%;
    width: 100%;
    opacity: 0;
    right: 0;
    top: 0;
}

.thumb-overlay a {
    float:left;
    margin-right: 5px;
}



.blog_post {
    color: #333333; 
    padding: 10px;
}

.blog_header {
    font-weight: bold; 
    font-size: 16px; 
	color: black;
}

.blog_text {
    text-align: justify; 
    font-size: 14px; 
    margin-top: 20px;
	 margin-bottom: 20px;
	color: black;
}

/* HERO */

.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* solo pantalla completa */
  overflow: hidden;
}

/* STYLES DIVS */

#areas {
  background-color: #0044cc; /* azul */
}

#blog {
  background-color: #0066cc; /* otro tono */
}

#contacto {
  background-color: #003399; /* más oscuro */
}

/* CONTENEDOR DE IMÁGENES */

.lazyload {
  max-width: 100%;
  overflow: hidden;
  height: auto;
  display: block;
  object-fit: contain; /* o 'cover' si prefieres que llene el espacio */
}






/* PRODUCTO */

/* Centra la CARD */
.section-galeria {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}



/* CARD que actúa como único objeto */
  .pair-card {
    width: 100%;
    max-width: 1500px;        /* ajustar según necesidad */
    aspect-ratio: 16 / 6;     /* controla la altura del conjunto; cambia si quieres más alto/bajo */
    display: flex;
    overflow: hidden;         /* que las imágenes no sobresalgan del borde */
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(10,20,40,0.12);
    background:  mediumvioletred;
  }

  /* Cada imagen ocupa la mitad exacta */
  .pair-card .side {
    flex: 1 1 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0; /* importante para evitar overflow en flex */
  }

.pair-card .side:first-child {
  padding-left: 3%;  /* añade un pequeño margen interno a la izquierda */
  padding-right: 3%;  /* añade un pequeño margen interno a la derecha */
}

.pair-card .side:nth-child(2) {
  padding-top: 3%; 
  padding-bottom: 3%; 
}
  



  /* Etiqueta <img> con object-fit para mantener cover y recortar si procede */
  .pair-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;     /* cover asegura que la imagen rellena su caja */
    object-position: center;
    transition: transform 0.5s ease;
  }

  /* Efecto sutil al pasar el ratón (ambas escalan levemente) */
  .pair-card:hover img {
    transform: scale(1.03);
  }

  /* Si quieres un borde entre las imágenes, descomenta la siguiente regla:
  .pair-card .side + .side { border-left: 1px solid rgba(255,255,255,0.06); }
  */

  /* Título abajo que hace de unidad visual (opcional) */
  .pair-caption {
    max-width: 1000px;
    margin-top: 12px;
    text-align: center;
    color:  mediumvioletred;
    font-weight: 600;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
  }

  /* ---------- Responsive: en pantallas muy estrechas puedes apilarlas ---------- */
  @media (max-width: 560px) {
    .pair-card {
      flex-direction: column;      /* apilar */
      aspect-ratio: 3 / 4;         /* ajustar la proporción del conjunto cuando apila */
    }
    .pair-card .side {
      flex: 0 0 auto;
      height: 50%;                 /* cada imagen ocupa la mitad vertical del conjunto */
    }
    .pair-card img {
      height: 100%;
    }
  }


















/* BOTON NARANJA */

.btn-orange {
    background-color: #ff7600;
    text-align: center;
    border-bottom:2px solid #d35400;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color:#ffffff;
	
}

.btn-orange:hover, .btn-orange:focus, .btn-orange:active, .btn-orange.active, .open .dropdown-toggle.btn-orange {
    background-color: #d35400;
    color:#ffffff;
}

/* VIDEO BACKGROUND */

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: contain; 
	background-color: darkorange;
	
}  


/*SOCIAL ICON */


.social-icon-rss {
    background: url('https://www.gdot.es/resources/images/social-icon-rss.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-rss {
    background: url('https://www.gdot.es/resources/images/social-icon-rss-over.png') no-repeat;
}

.social-icon-twitter {
    background: url('https://www.gdot.es/resources/pics/RRSS/social-icon-tw-over_42.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-twitter {
    background: url('https://www.gdot.es/resources/pics/RRSS/social-icon-tw_42.png') no-repeat;
}

.social-icon-youtube {
    background: url('https://www.gdot.es/resources/pics/RRSS/social-icon-youtube-over_42.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-youtube {
    background: url('https://www.gdot.es/resources/pics/RRSS/social-icon-youtube_42.png') no-repeat;
}



.social-icon-linkedin {
    background: url('https://www.gdot.es/resources/pics/RRSS/social-icon-linkedin-over_42.png') no-repeat;
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-linkedin {
    background: url('https://www.gdot.es/resources/pics/RRSS/social-icon-linkedin_42.png') no-repeat;
}



.social-icon-fb {
    background: url('https://www.elrincondelacreatividad.es/resources/pics/RRSS/social-icon-fb_42.png') no-repeat; 
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-fb {
    background: url('https://www.elrincondelacreatividad.es/resources/pics/RRSS/social-icon-fb-over_42.png') no-repeat;
}


.social-icon-ig {
    background: url('https://www.elrincondelacreatividad.es/resources/pics/RRSS/social-icon-ig_42.png') no-repeat; 
    width: 42px;
    height: 42px;
    display: block;
}

a:hover .social-icon-ig {
    background: url('https://www.elrincondelacreatividad.es/resources/pics/RRSS/social-icon-ig-over_42.png') no-repeat;
}




/* GALERÍA */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); */
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  }

  .card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* mantiene la forma cuadrada */
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .card:hover img {
    transform: scale(1.05);
  }

  .card h3 {
    margin: 0;
    padding: 14px 10px 16px;
    text-align: center;
    color: #002b5c;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: clamp(1rem, 2vw, 1.4rem); /* se adapta al tamaño */
  }



/* RINCONES */

  .corner img {
    width: 50%;
    object-fit: cover;
  }


  .corner_menu {
    display: flex;
    flex-direction:row;
    flex-grow: 2;
    gap: 5px;
     justify-content: center;
  }


   .product {
    
    text-align: center;
    background-color: mediumvioletred;
    
  }    


 @media (max-width: 600px) {
    body {
      padding: 20px;
    }
    .gallery {
      gap: 15px;
    }
      .card h3 {
      font-size: medium;
    }
      .corner img {
    width: 100%;
    }

}



/*=========================
     BANNER DE COOKIES + LÓGICA DE CONSENTIMIENTO (GA4)
========================= */

#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 10, 0.9);
  color: #fff;
  padding: 18px;
  border-radius: 10px;
  z-index: 99999;
  max-width: 720px;
  width: calc(100% - 40px);
  display: none;
  font-size: 14px;
  text-align: center;
}
#cookie-banner .buttons {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
}
#cookie-banner button {
  padding: 8px 16px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}
#cookie-banner .accept { background: #007bff; color: white; }
#cookie-banner .decline { background: #555; color: white; }
#cookie-banner .accept:hover { background: #0056b3; }
#cookie-banner .decline:hover { background: #333; }







