/* ===== SERVICES SECTION ===== */

.tr-services-section {
  padding: 120px 5%;
  color: #fff;
}

.tr-services-container {
  max-width: 1600px;
  margin: auto;
}

.tr-services-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--Freshflow-black);
}

.tr-services-subtitle {
  font-size: 18px;
  color: var(--Freshflow-black);
}

/* ===== CARD ===== */

.tr-service-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: 0.4s ease;
  border-left: 6px solid #022940;
  min-height: 600px;
}

.tr-service-card:hover {
  transform: translateY(-10px);
}

/* IMAGE */

.tr-service-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* CONTENT */

.tr-service-content {
  padding: 35px;
}

.tr-service-content h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--Freshflow-black);
}

.tr-service-content p {
  color: var(--Freshflow-black);
  font-size: 16px;
  margin-bottom: 25px;
}

/* BUTTON */

.tr-btn-details {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  border: 2px solid var(--Freshflow-black);
  color: var(--Freshflow-black);
  font-weight: 600;
  border-radius: 50px;
  transition: 0.3s ease;
  text-decoration: none;
}

.tr-btn-details:hover {
  background: #022940;
  color: #fff;
  box-shadow: 0 0 20px #022940;
}

/* MOBILE FIX */

@media (max-width: 991px) {
  .tr-services-section {
    padding: 80px 20px;
  }

  .tr-service-card {
    width: 90%;
    min-height: auto;
  }

  .tr-services-title {
    font-size: 32px;
  }
}

.mcg-gallery-container {
  padding-top: 80px;
  padding-bottom: 80px;
}
.mcg-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #c9a227;
}

.mcg-card {
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.mcg-card:hover {
  transform: translateY(-6px) scale(1.03);
}

.mcg-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Modal */
.mcg-modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
}
.mcg-modal-img {
  width: 80%;
  border-radius: 14px;
}

.mcg-page-link {
  color: #c9a227;
  font-weight: 600;
}
.pagination .active .mcg-page-link {
  background: #c9a227;
  border-color: #c9a227;
  color: #fff;
}

.floating-buttons {
  position: fixed;
  bottom: 25px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.float-btn:hover {
  transform: scale(1.1);
  background: var(--principal-color);
}

/*portada*/

.je-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b0b0b;
}

/* Video */
.je-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Overlay oscuro */
.je-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / 4%), rgba(0, 0, 0, 0.75));
  z-index: 2;
}

/* Contenido */
.je-hero-content {
  position: relative;
  z-index: 3;
  max-width: 950px;
  padding: 0 20px;
  text-align: center;
}

/* Título */
.je-hero-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 22px;
}

.je-hero-title span {
  color: var(--principal-color); /* Dorado premium */
}

/* Subtítulo */
.je-hero-subtitle {
  font-size: clamp(16px, 1.5vw, 22px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 38px;
}

/* Línea decorativa */
.je-hero-content::after {
  content: "";
  display: block;
  width: 140px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--principal-color),
    transparent
  );
  margin: 30px auto 0;
  opacity: 0.8;
}

/* Botón */
.je-hero-btn {
  display: inline-block;
  margin-top: 42px;
  padding: 15px 42px;
  border: 1px solid var(--principal-color);
  color: var(--principal-color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s ease;
}

.je-hero-btn:hover {
  background-color: #ff4fa3;
  color: white;
}

/* Ajustes para pantallas grandes */
@media (min-width: 1200px) {
  .je-hero-content {
    margin-top: -40px;
  }
}

.overlay-colors {
  background: var(--secondary-color);
}
