@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --bg: #24232E;
  --color-texto: #dfd9d9;
  --color-boton: #fff;
  --font-family: "Poppins", sans-serif;
}

body.light {
  --bg: #fff;
  --color-texto: #544d4d;
  --color-boton:#f56a6a;
}

body {
  background-color: var(--bg);
  font-family: "Poppins", sans-serif;
}

#banner .content header h1 {
  color: #f56a6a;
  font-family: var(--font-family);
}

#sidebar .toggle::after {
  border: 1px solid var(--color-boton);
  background-color: #34343C;
}

#sidebar .toggle::before {
  color: var(--color-boton);
}

#banner .content p {
  color: var(--color-texto);
  font-family: var(--font-family);
}

.posts article p {
  color: var(--color-texto);
}

.posts article h3 {
  color: #f56a6a;
}

#sidebar {
  background-color: var(--bg);
  border-right: 1px solid var(--color-boton);
}
#sidebar .inner section ul li {
  color: var(--color-texto);
}

section ul.contact li a {
  text-decoration: none;
  border-bottom: none;
  pointer-events: none;
}

app-sidebar-personalizado {
  display: block;
}
app-sidebar-personalizado header.major h2 {
  color: var(--color-texto);
  font-family: var(--font-family);
}
app-sidebar-personalizado nav#menu ul li a,
app-sidebar-personalizado nav#menu ul li span {
  color: var(--color-texto);
  font-family: var(--font-family);
  font-weight: 600;
}

span.image.main img {
  height: 300px;
}

app-contactar-por-whatsapp .whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  background-image: url("/images/whatsapp.svg");
  /* 🔥 tu SVG */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
app-contactar-por-whatsapp {
  /* Hover bonito */
}
app-contactar-por-whatsapp .whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}

header#header a.logo strong {
  color: #f56a6a;
  font-family: var(--font-family);
}

section header.main h1 {
  color: #f56a6a;
  font-family: var(--font-family);
}

section p {
  color: var(--color-texto);
}

#main .inner section .row.gtr-200 {
  display: flex;
  justify-content: center;
}
#main .inner section .row.gtr-200 form ul.actions {
  justify-content: right;
}
#main .inner section .row.gtr-200 form ul.actions li input[type=submit] {
  width: 200px;
  font-family: var(--font-family);
}

@media screen and (max-width: 480px) {
  #main .inner section .row.gtr-200 {
    display: flex;
    justify-content: center;
  }
  #main .inner section .row.gtr-200 form ul.actions {
    display: block;
  }
  #main .inner section .row.gtr-200 form ul.actions li input[type=submit] {
    width: 100%;
  }
  #menu ul {
    font-size: 15px;
  }
}
.grid-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.item {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  /* 🔥 mantiene proporción uniforme */
  overflow: hidden;
  border-radius: 12px;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 🔥 clave: recorta sin deformar */
  object-position: center;
  /* centra la imagen */
  transition: transform 0.5s ease;
}

/* overlay */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.overlay h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #FFC000;
  font-family: var(--font-family);
}

.overlay p {
  font-size: 0.9rem;
  color: #fff;
}

/* animaciones */
.item:hover img {
  transform: scale(1.1);
}

.item:hover .overlay {
  transform: translateY(0);
}

app-redes-sociales ul.icons li a.icon.icon-facebook {
  color: #1877F2;
}
app-redes-sociales ul.icons li a.icon.icon-facebook:hover {
  color: #0F5FD6 !important;
}
app-redes-sociales ul.icons li a.icon.icon-whatsapp {
  color: #25D366;
}
app-redes-sociales ul.icons li a.icon.icon-whatsapp:hover {
  color: #1EBE5D !important;
}

/* por defecto: modo día → mostrar luna */
app-redes-sociales {
  /* ocultar checkbox */
}
app-redes-sociales #theme-toggle {
  display: none;
}
app-redes-sociales {
  /* botón clickeable */
}
app-redes-sociales .toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  /* mismo ancho */
  height: 30px;
  /* mismo alto */
  font-size: 18px;
  cursor: pointer;
}
app-redes-sociales {
  /* asegura que el click funcione en todo el icono */
}
app-redes-sociales .toggle-btn * {
  pointer-events: none;
}
app-redes-sociales {
  /* por defecto solo se ve la luna */
}
app-redes-sociales .sun {
  display: none;
}
app-redes-sociales {
  /* 🔥 CAMBIO DE ICONO (versión robusta) */
}
app-redes-sociales #theme-toggle:checked ~ ul li .moon {
  display: none;
}
app-redes-sociales #theme-toggle:checked ~ ul li .sun {
  display: inline;
}

/*# sourceMappingURL=estilos.css.map */
