/* ============================
   FRONT PANEL - TWINGITAL
   ============================ */

/* --- Panel contenedor --- */
.twingital-frontpanel {
  font-family: Arial, sans-serif;
  padding: 20px;
  background: #d1d0cffd;
  border-radius: 12px;
  border-width: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  max-width: 800px;
  align-self: center;
  margin-bottom: 25px;
  color: #000;
}

/* --- Títulos --- */
.twingital-frontpanel h2,
.twingital-frontpanel h3 {
  margin-bottom: 15px;
  color: #333;
}

/* --- Botón principal --- */
.twingital-btn {
  display: inline-block;
  padding: 10px 18px;
  margin: 10px 0;
  background: #0073aa;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}

.twingital-btn:hover {
  background: #005177;
}

/* --- Lista de servicios --- */
.twingital-service-list {
  margin-top: 20px;
  color: #000;
}

.twingital-service-item {
  background: #fff;
  padding: 15px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
}
.twingital-service-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.twingital-service-item h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #222;
}

.twingital-service-item p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* ============================
   MODAL SERVICIO
   ============================ */

/* ======== Modal Servicio ======== */
.twingital-modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 9999;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;

  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6); /* overlay oscuro */
}

.twingital-modal-content {
  background: #fff; /* caja blanca */
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto; /* scroll solo dentro del modal */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeInUp 0.3s ease;
}

.twingital-modal-content h3 {
  margin-top: 0;
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  color: #005177;
}

.twingital-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.twingital-close:hover {
  color: #000;
}

/* Inputs más ordenados */
#service-form label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: #000000;
  text-align: left;
}
.twingital-field {
  color: #000;
}

#service-form input,
#service-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

#service-form button {
  margin-top: 18px;
  display: inline-block;
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   SINGLE SERVICE (Vista pública)
   ================================ */
.twingital-service-single {
  max-width: 800px;

  margin: 40px auto;
  padding: 30px;
  background: #a3a2a2;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-family: Arial, sans-serif;
  border-color: #005177;
  border-width: 2px;
  margin-bottom: 20px;
}

.twingital-service-sinlge .service-title {
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #222;
}

.twingital-service-single .service-featured img {
  max-width: 100%;
  height: 50%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.twingital-service-single .service-content {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
  text-align: justify;
}
.twingital-service-single .service-conent-titles h3 {
  color: #ffffff;
  text-align: center;
  background-color: #333;
  font-size: 1.3em;
  border-radius: 10px;
}
/* Galería */
.twingital-service-single .service-gallery {
  margin-bottom: 30px;
}

.twingital-service-single .service-gallery h3 {
  margin-bottom: 15px;
  font-size: 1.3em;
  color: #ffffff;
  background-color: #333;
  border-radius: 10px;
}

.twingital-service-single .gallery-carousel {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.twingital-service-single .gallery-carousel::-webkit-scrollbar {
  height: 6px;
}
.twingital-service-single .gallery-carousel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.twingital-service-single .gallery-item img {
  max-height: 120px;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}
.swiper-wrapper {
  max-width: 600px;
  max-height: 300px;
  max-block-size: 80%;
}
/* Info de contacto */
.twingital-service-single .service-contact,
.service-meta,
.twingital-service-single .service-socials {
  margin-bottom: 25px;
  text-align: left;
}

.twingital-service-single h3 {
  margin-bottom: 10px;
  font-size: 1.3em;
  color: #333;
}

.twingital-service-single ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.twingital-service-single ul li {
  margin-bottom: 8px;
  font-size: 1em;
  color: #555;
}

.twingital-service-single a {
  color: #0066cc;
  text-decoration: none;
}

.twingital-service-single a:hover {
  text-decoration: underline;
}
