/* Reset y configuración global */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --icon: #bebfd8;
  --hole: #040C0E;
}

/* ESTILOS GENERALES DEL BODY */
body {
  height: 100vh;
  width: 100vw;
  background-color: #525B56;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

/* TOPBAR */
header.topbar {
  height: 100px;
  width: 100%;
  background: #132226;
  color: #BFA181;
  display: flex;
  align-items: center;
  padding: 0 23px;
  font-size: 25px;
  z-index: 13;
  gap: 19px;
  font-family: 'Brush Script MT', cursive;
}


.topbar .logo {
  height: 46px; /* o ajusta según el tamaño de tu logo */
}

/* LAYOUT PRINCIPAL */
main {
  display: flex;
  flex-grow: 1;
}

/* BARRA LATERAL */
nav.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 210px;
  background: #132226;
  padding: 20px 0;
  box-shadow: 2px 0 8px rgba(255, 255, 255, 0.15);
  border-bottom-right-radius: 20px;
}

input[type="radio"] {
  display: none;
}

label, .menu-link {
  color: #BFA181;
  text-transform: uppercase;
  font-size:13px;
  height: 80px;
  width: 100%;
  text-align: center;
  line-height: 80px;
  cursor: pointer;
  display: block;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Lucida Bright', serif;

}

label:hover, .menu-link:hover {
  color: #A4978E;
  text-shadow: 0 0 5px #BE9063, 0 0 10px #BE9063;
}

input:checked + label {
  color: #BE9063;
}

.selector {
  width: 50px;
  height: 50px;
  background: var(--hole);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 30px;
  border: 4px solid #181818;
  transition: top 0.4s ease;
  z-index: 1;
}

/* CONTENIDO PRINCIPAL */
section.contenido {
  flex-grow: 1;
  padding: 40px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  
}
h2{  font-family: 'Didot', serif;
    font-size: 25px;
   letter-spacing: 0.5px;
}

h1{font-family: 'Brush Script MT', serif;
  font-size: 30px;
  letter-spacing: 0.5px;  }

p{font-family: 'Courier New', serif;
  font-size: 19px;
 letter-spacing: 0.5px;}

/* CONTENEDOR DEL MAPA */
.mapa-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  margin: 60px 0;
  border-radius: 10px;
  background-color: #040C0E;
}

/* ÍCONOS CIRCULARES */
ul.icon-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding-left: 0;
}

.item a {
  text-decoration: none;
  width: 4.8rem;
  height: 4.8rem;
  background-color: #040C0E;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  border: 3px solid #132226;
  overflow: hidden;
}

.item a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  scale: 1 0;
  transform-origin: bottom;
  transition: scale 0.5s ease;
  background: var(--bg-color);
}

.item:hover a::before {
  scale: 1 1;
}

.icon {
  font-size: 2rem;
  color: #BFA181;
  transition: 0.5s ease;
  z-index: 2;
}

.item a:hover .icon {
  color: #525B56;
  transform: rotateX(360deg) scale(1.15);
}

/* Colores personalizados por ítem */
.item:nth-child(1) {
  --bg-color: linear-gradient(to bottom right, #f9ce34, #ee2a7b, #6228d7);
}

.item:nth-child(2) {
  --bg-color: #00b31e;
}

.item:nth-child(4) {
  --bg-color: #000;
}

.email-boton {
  background: linear-gradient(45deg, #d44638, #c23321);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none;
}

.email-boton:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.search-container {
  display: flex;
  align-items: center; /* Centra verticalmente */
  justify-content: space-between;
  background-color: #f5f3f3;
  border-radius: 25px;
  padding: 8px 15px;
  width: 100%;
  max-width: 300px;
  border: 1px solid #ccc;
  margin: 20px auto; /* Centra horizontalmente */
  box-sizing: border-box;
  height: 40px; /* Altura razonable */
}

.search-container input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 16px;
  color: #555;
  height: 100%;
}

.search-container input::placeholder {
  color: #999;
}

.search-icon {
  margin-left: 10px;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.marca-de-agua {
  position: relative;
  padding: 40px;
  color: white;
  overflow: hidden;
}

.marca-de-agua::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('logo.png'); /* Asegúrate de que la ruta sea correcta */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.15; /* Ajusta según lo visible que quieras el logo */
  z-index: 0;
  pointer-events: none;
}

.marca-de-agua > * {
  position: relative;
  z-index: 1;
}

#buscar-opinion-btn {
  background-color: #8a5b31;        /* Azul brillante */
  color: #132226;                     /* Texto blanco */
  padding: 10px 20px;               /* Espaciado interno */
  border: none;                     /* Sin borde */
  border-radius: 8px;               /* Bordes redondeados */
  font-size: 16px;                  /* Tamaño de letra */
  font-weight: bold;                /* Letra en negrita */
  cursor: pointer;                  /* Cambia a mano al pasar */
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

#buscar-opinion-btn:hover {
  background-color: #BE9063;        /* Azul más oscuro al pasar */
  transform: scale(1.03);           /* Efecto de agrandado */
}

#buscar-opinion-btn:active {
  background-color: #783506;        /* Aún más oscuro al presionar */
  transform: scale(0.98);           /* Leve encogimiento */
}


#buscar-constancia-btn {
  background-color: #8a5b31;        /* Azul brillante */
  color: #132226;                     /* Texto blanco */
  padding: 10px 20px;               /* Espaciado interno */
  border: none;                     /* Sin borde */
  border-radius: 8px;               /* Bordes redondeados */
  font-size: 16px;                  /* Tamaño de letra */
  font-weight: bold;                /* Letra en negrita */
  cursor: pointer;                  /* Cambia a mano al pasar */
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

#buscar-constancia-btn:hover {
  background-color: #BE9063;        /* Azul más oscuro al pasar */
  transform: scale(1.03);           /* Efecto de agrandado */
}

#buscar-constancia-btn:active {
  background-color: #783506;        /* Aún más oscuro al presionar */
  transform: scale(0.98);           /* Leve encogimiento */
}