/* ESTILOS DE LA WEB DE SUSANA CABEZA SANTANA */

/* ESTILOS GLOBALES --------------------------------------- */
/*VARIABLES DE COLORES PERSONALIZADAS */
:root {
  --bs-primary: #198754;
  --bs-secondary: #6c757d;
  --bs-success: #28a745;
  --bs-info: #17a2b8;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #343a40;
  --fondo-web: #262d37;
  --texto-principal: #f8f9fa;
  --btn-resaltar: #ffcc00;
  --btn-texto: #262d37;
  --borde-img: #3a424f;
  --white: #ffffff;
}

/* FUENTES PERSONALIZADAS */
/* Para los Títulos Grandes y nombre del Logo */
.font-titulo {
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 300;
}

/* Para los Textos Largos,
Párrafos y subtítulo del logo FOTOGRAFÍA (separadas las letras y más pequeñas) */
.font-parrafo {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
}

body {
  background-color: var(--fondo-web);
  color: var(--texto-principal);
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  min-width: 380xp;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a,
a:active,
a:visited,
a:hover {
  color: var(--texto-principal);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--texto-principal);
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
}

b,
strong {
  font-weight: 600;
}

/* ESTILOS DE NAVEGACIÓN --------------------------------------- */
nav {
  background-color: var(--fondo-web);
}

.navbar-nav .nav-link {
  color: var(--bs-light);
  font-size: 1.25rem;
  font-weight: 300;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--btn-resaltar);
}

@media only screen and (max-width: 1327px) {
  .navbar-nav .nav-link, .a-contacto {
    font-size: 1rem;
  }
}


.titulo-logo {
  color: var(--white);
  font-size: 1.55rem;
}

.subtitulo-logo {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 1rem;
}

.navbar-collapse {
  padding: 1rem 0;
}

/* ESTILOS VARIOS --------------------------------------- */
.logos-moviles {
  transition: transform 0.5s ease;
}

.logos-moviles:hover {
  transform: scale(1.05);
}

.fotoylugares, .claqueta {
  display: block;
  margin: 0 auto;
  height: 200px;
  max-width: 100%;
}

@media only screen and (max-width: 420px) {
  .claqueta {
    height: auto;
  }
}



/* ESTILOS CAROUSEL --------------------------------------- */
.img-principal {
  background-size: cover;
  background-position: center;
  height: 78vh;
  /* Se adapta a gran parte de la pantalla vertical */
  min-height: 400px;
}

/* Sombra oscura sobre la foto de fondo para que el texto blanco se lea perfecto */
.filtro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.2) 30%,
    rgba(0, 0, 0, 0) 37%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* INTRODUCCIÓN DE LA PÁGINA */
.texto-intro {
  line-height: 2;
  font-weight: 300;
}

/* IMAGENES ESCALADAS */
.img-escalada {
  background: transparent;
}

.img-escalada:hover .img-inicio img,
.img-escalada:hover .img-sobre-mi img,
.img-escalada:hover .img-talleres img {
  transform: scale(1.04);
}

/* Efecto zoom suave al pasar el ratón por encima de la imagen */
.img-inicio {
  height: 400px;
  border: var(--borde-img) 0.5rem solid;
}

.img-talleres,
.img-sobre-mi {
  border: var(--borde-img) 0.5rem solid;
  width: 450px;
  max-width: 100%;
}

.img-inicio img,
.img-talleres img,
.img-sobre-mi img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.leyenda {
  bottom: 0;
  background-color: #0006;
  position: absolute;
}

/* TEXTOS DE LAS TARJETAS */
.card-title a {
  color: var(--btn-resaltar);
  font-size: 1.5rem;
  letter-spacing: 0.05rem;
  font-weight: 300;
}

.card-text {
  color: var(--texto-principal);
  /* font-size: 1rem; */
  font-weight: 300;
}

.link-hover {
  transition: color 0.2s ease;
}

.link-hover:hover {
  color: var(--btn-resaltar);
}

/* ACORDEÓN DE FAQS */
.dark-accordion .accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Línea divisoria muy sutil entre elementos */
}

.dark-accordion .accordion-button {
  color: var(--bs-light);
  font-weight: 600;
  padding: 1.25rem 0;
  font-size: 1.75rem;
  /* Elimina el espaciado lateral para que se alinee perfectamente */
}

/* Forzar que la flecha cambie a color blanco (usando filtro CSS) */
.dark-accordion .accordion-button::after {
  filter: invert(1) grayscale(1) brightness(2);
}

/* Cambiar el color del texto del título cuando el acordeón está abierto (activo) */
.dark-accordion .accordion-button:not(.collapsed) {
  color: var(--btn-resaltar);
  /* Puedes poner blanco (#fff) o tu color de acento (ej. verde) */
}

/* Espaciado del texto interior alineado con el título */
.dark-accordion .accordion-body {
  color: var(--bs-light);
  padding-left: 0;
  padding-right: 0;
  line-height: 1.6;
}

/* AJUSTES CAROUSEL REVIEWS --------------------------- */
.reviews {
  min-height: 520px;
  position: relative;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  position: absolute;
  top: 52px;
}

.span-talleres {
  color: #fff89b;
}

.btn-cuentame {
  font-size: 2rem;
}

/* AJUSTES IMAGENES PROYECTOS --------------------------- */
.img-proyectos {
  height: 400px;
  border: var(--borde-img) 0.5rem solid;
}

/* AJUSTES CONTACTO ------------------------------------- */
.contacto {
  font-size: larger;
}

.contacto input,
.contacto select,
.contacto textarea {
  background-color: var(--fondo-web);
  border: 1px solid var(--bs-secondary);
  color: var(--bs-light);
  font-size: large;
}

.contacto input:focus,
.contacto select:focus,
.contacto textarea:focus {
  background-color: var(--bs-secondary);
  border: 1px solid var(--btn-resaltar);
  color: var(--bs-light);
}

.a-boton[href^="https://wa.me/"] {
  color: var(--bs-warning);
}

.a-boton[href^="https://wa.me/"]:hover {
  color: var(--bs-dark);
}

/* AJUSTES FOOTER --------------------------------------- */
footer .a-footer:hover {
  color: var(--btn-resaltar);
}

/* BANNER DE COOKIES FIXO Y ELEGANTE */
.cookie-banner-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
  z-index: 1090;
  /* Por encima del navbar sticky */
  animation: slideUp 0.4s ease-out forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}
