/* APU Viajes de Montaña - Estilos Principales */

/* Font Faces */
@font-face {
  font-family: AirConditioner;
  src: url('../fonts/AirConditioner.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Outfit;
  src: url('../fonts/Outfit-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: Outfit;
  src: url('../fonts/Outfit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Outfit;
  src: url('../fonts/Outfit-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* Nueva paleta de colores según brand guidelines */
:root {
  --dark-teal: #1a4f56; /* C:92 M:61 Y:56 K:46 */
  --teal: #00b2a0; /* C:77 M:0 Y:50 K:0 */
  --orange: #e8a562; /* C:9 M:35 Y:62 K:0 */
  --dark-blue: #2a5f67; /* C:87 M:51 Y:41 K:16 */
  --navbar-bg: #091c1e; /* Dark navbar background */
  --white: #fff;
  --light-bg: #f9f9f9;
  --gradient-dark: linear-gradient(135deg, #1a4f56 0%, #2a5f67 100%);
  --gradient-light: linear-gradient(135deg, #00b2a0 0%, #e8a562 100%);
}

body {
  font-family: Outfit, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding-top: 110px; /* Push content below fixed header */
  color: var(--dark-teal);
  background-color: var(--light-bg);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html {
  scroll-padding-top: 130px; /* Offset for fixed header */
  scroll-behavior: smooth;
}

/* Simple Hero Section */
.hero {
  min-height: 80vh;
  background-image:
    linear-gradient(rgb(26 79 86 / 80%), rgb(42 95 103 / 80%)), url('../images/gallery-3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgb(0 0 0 / 30%) 100%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 2;
  padding: 0 20px;
}

.hero h1 {
  color: white;
  font-size: 4em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 50%);
  letter-spacing: 3px;
  animation: fadeIn 1s ease-out;
}

.hero-subtitle {
  color: white;
  font-size: 1.5em;
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeIn 1.2s ease-out;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeIn 1.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header {
  background: var(--navbar-bg);
  color: white;
  padding: 5px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
  height: 110px;
  display: flex;
  align-items: center;
}

.header-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

header img.logo-img {
  height: 75px;
  width: 75px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgb(0 0 0 / 30%);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--orange);
}

section {
  padding: 80px 40px;
  text-align: center;
  scroll-margin-top: 130px; /* Increased offset for fixed header */
}

.section-alt {
  background-color: white;
}

/* Contenedor de ancho limitado para las secciones de texto */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1 {
  font-family: AirConditioner, Outfit, sans-serif;
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: normal;
  letter-spacing: 2px;
}

h2 {
  color: var(--dark-teal);
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--orange);
}

h3 {
  color: var(--dark-blue);
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 5px 20px rgb(0 0 0 / 10%);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border-top: 4px solid var(--teal);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgb(0 0 0 / 15%);
}

.service-card h3 {
  color: var(--dark-teal);
  margin-bottom: 12px;
  font-size: 1.3em;
  line-height: 1.3;
}

.service-card p {
  margin-bottom: 12px;
  font-size: 0.95em;
  line-height: 1.5;
}

.service-card .price {
  font-size: 1.4em;
  color: var(--orange);
  font-weight: bold;
  margin: 12px 0;
  align-self: flex-start;
}

.service-card ul {
  text-align: left;
  margin: 12px 0;
  padding-left: 20px;
  flex-grow: 1;
}

.service-card ul li {
  margin: 8px 0;
  position: relative;
  font-size: 0.9em;
  line-height: 1.4;
}

/* Featured Plans */
.featured-plans {
  background: var(--gradient-light);
  padding: 60px 40px;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.plan-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  margin-bottom: 10px;
}

/* Image Gallery Carousel */
.gallery-carousel {
  margin: 60px auto;
  max-width: 1200px;
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 20%);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 600px;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
}

.carousel-btn {
  background: rgb(255 255 255 / 90%);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 20px;
  color: var(--dark-teal);
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: var(--orange);
  color: white;
  transform: scale(1.1);
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(255 255 255 / 50%);
  cursor: pointer;
  transition: all 0.3s;
}

.indicator.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s;
  margin: 20px 10px;
}

.cta-button:hover {
  background: #d49252;
  transform: scale(1.05);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background: white;
  color: var(--dark-teal);
}

footer {
  background: var(--gradient-dark);
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 0;
}

footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--orange);
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.5em;
  text-decoration: none;
  transition: all 0.3s;
}

.social-icons a:hover {
  color: var(--orange);
  transform: scale(1.2);
}

.float-wa {
  position: fixed;
  width: 48px;
  height: 48px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 40px;
  text-align: center;
  font-size: 30px;
  z-index: 100;
  transition: all 0.3s;
}

.float-wa:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-block;
}

/* Hide mobile language switcher on desktop */
.lang-switcher.mobile-lang {
  display: none;
}

/* Show desktop language switcher on desktop */
.lang-switcher.desktop-lang {
  display: inline-block;
}

.lang-switcher button {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-family: Outfit, sans-serif;
  font-weight: 500;
  transition: all 0.3s;
}

.lang-switcher button:hover {
  background: white;
  color: var(--dark-teal);
}

/* Utility Classes for removing inline styles */

/* Navigation anchors with offset */
.nav-anchor {
  padding-top: 130px;
  margin-top: -130px;
}

/* WhatsApp icon spacing */
.wa-icon {
  margin-top: 10px;
}

/* Language switcher button styles */
.lang-btn {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.lang-btn:hover {
  background: white;
  color: var(--dark-teal);
}

/* CTA button small variant */
.cta-button-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Intro paragraph */
.intro-text {
  font-size: 1.2em;
  line-height: 1.8;
}

/* Stats section */
.stats-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.stat-number {
  color: var(--teal);
  font-size: 2.5em;
  margin: 0;
}

/* Featured plans styles */
.featured-plans h3 {
  color: white;
}

.featured-plans h4 {
  color: white;
}

.featured-plans p {
  color: white;
}

.featured-plans-price {
  color: white;
  font-size: 1.8em;
  margin: 20px 0;
}

/* Discount box */
.discount-box {
  margin-top: 50px;
  padding: 30px;
  background: #fff3e0;
  border-radius: 10px;
}

.discount-box h3 {
  color: var(--orange);
}

.discount-link {
  color: var(--orange);
  text-decoration: underline;
}

/* Footer styles */
footer h2 {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.footer-subtitle {
  font-size: 1.2em;
  margin: 20px 0;
}

.footer-copyright {
  margin-top: 40px;
  opacity: 0.8;
}

/* Google Tag Manager iframe */
.gtm-iframe {
  display: none;
  visibility: hidden;
}

/* Responsive Design */

/* Hamburger Menu */
.hamburger {
  display: none;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  padding: 0;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger span:nth-child(1) {
  top: 8px;
}

.hamburger span:nth-child(2) {
  top: 14px;
}

.hamburger span:nth-child(3) {
  top: 20px;
}

.hamburger.active span:nth-child(1) {
  transform: translateX(-50%) rotate(45deg);
  top: 14px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateX(-50%) rotate(-45deg);
  top: 14px;
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }

  header {
    height: 80px;
  }

  header img.logo-img {
    height: 60px;
    width: 60px;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--navbar-bg);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    gap: 30px;
    transition: right 0.3s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  /* Keep language switcher visible on mobile - to the left of hamburger */
  .lang-switcher.mobile-lang {
    position: absolute !important;
    right: 75px !important; /* Position to the left of hamburger */
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: block !important;
  }

  /* Hide desktop language switcher on mobile */
  .lang-switcher.desktop-lang {
    display: none !important;
  }

  .nav-menu a {
    font-size: 1.2em;
    width: 80%;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
  }

  h1 {
    font-size: 2.5em;
    letter-spacing: 1px;
  }

  h2 {
    font-size: 1.8em;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .floating-card {
    right: 10px;
    bottom: 10px;
    padding: 15px;
  }

  .hero h1 {
    font-size: 2.5em;
  }

  h2 {
    font-size: 1.8em;
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
  }

  .header-content {
    flex-direction: column;
    padding: 10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .carousel-slide {
    height: 400px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 20px;
    margin: 0;
  }

  .service-card {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
    max-width: none;
    min-height: auto;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    text-align: center;
  }

  .service-card ul {
    text-align: left;
    padding-left: 20px;
    max-width: 280px;
    margin: 12px auto;
  }

  .service-card .price {
    align-self: center;
  }

  section {
    padding: 60px 0;
  }

  .content-wrapper {
    padding: 0 15px;
    max-width: 100%;
  }

  .carousel-slide {
    height: 300px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-subtitle {
    font-size: 1.2em;
  }

  .float-wa {
    bottom: 20px;
    right: 20px;
  }

  html {
    scroll-padding-top: 100px;
  }

  section {
    scroll-margin-top: 100px;
  }

  /* Featured plans mobile styles */
  .featured-plans {
    padding: 30px 20px;
    margin: 20px 15px;
    width: calc(100% - 30px);
    box-sizing: border-box;
  }

  .services {
    padding: 60px 0;
  }

  .services .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .services h2,
  .services h3 {
    text-align: center;
    width: 100%;
  }

  .featured-plans h3 {
    font-size: 1.3em;
  }

  .featured-plans h4 {
    font-size: 1.1em;
  }

  .featured-plans p {
    font-size: 0.95em;
  }

  .plan-badge {
    font-size: 0.85em;
    padding: 8px 12px;
  }

  /* Footer contact info on mobile */
  footer p a {
    display: block;
    margin: 8px 0;
  }

  footer p {
    line-height: 1.8;
  }

  .contact-separator {
    display: none;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeIn 0.6s ease-out;
}
