/*
CSS Name: Liz Buenos Aires
Version: 1.0
Author: Franco Miliozzi
Develop by: MF Consulting
URL: https://www.mfconsulting.com.ar
*/

/* ===== Base ===== */
:root {
  --color-gold: #F7DA8E;
  --color-gold-dark: #D9B45C;
  --color-gold-deep: #C99A2E;
  --color-gold-deep-dark: #A87E1F;
  --color-blue: #1A1C43;
  --color-blue-light: #2A2D63;
  --color-white: #FFFFFF;
  --color-black: #0B0B12;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: Arial, Helvetica, sans-serif;

  --container-width: 120rem;
  --transition-base: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 11rem;
}

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-blue);
  background-color: var(--color-white);
  padding-top: 11rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2.4rem;
}

.eyebrow {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.8rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 1.4rem 3.2rem;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  cursor: pointer;
  border: 0.2rem solid transparent;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.btn-primary {
  background-color: var(--color-gold-deep);
  color: var(--color-black);
}

.btn-primary:hover {
  background-color: var(--color-gold-deep-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.btn-secondary:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--color-blue);
}

.site-header.is-scrolled {
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 11rem;
}

.logo-img {
  height: 9.5rem;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 2.8rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-toggle-bar {
  width: 100%;
  height: 0.2rem;
  background-color: var(--color-gold);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(0.9rem) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-0.9rem) rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.primary-nav ul {
  display: flex;
  gap: 2.8rem;
}

.primary-nav a {
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  transition: color var(--transition-base);
}

.primary-nav ul a:hover {
  color: var(--color-gold);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 75vh;
  min-height: 48rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 768px) {
  .hero-img {
    object-position: center bottom;
  }
}

.hero-title-section {
  background-color: var(--color-blue);
  padding: 4rem 0;
  text-align: center;
}

.hero-title-below {
  color: var(--color-white);
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1.3;
}

.hero-subtitle-below {
  color: var(--color-gold);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-top: 1.2rem;
}

.hero-tagline-below {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.8rem;
  font-style: italic;
  margin-top: 0.8rem;
}

.gallery-teaser {
  background: linear-gradient(135deg, #C4C4C4 0%, #E8E8E8 100%);
  padding: 4rem 0;
}

.gallery-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  max-width: 92rem;
  margin: 0 auto;
}

.gallery-teaser-item {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 0.8rem 2rem rgba(11, 11, 18, 0.25);
}

.gallery-teaser-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-teaser-item:hover img {
  transform: scale(1.05);
}

.gallery-teaser-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 18, 0) 50%, rgba(11, 11, 18, 0.75) 100%);
}

.gallery-teaser-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.6rem 2rem;
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0;
  margin-right: auto;
  transition: margin 0.6s ease;
}

@media (min-width: 768px) {
  .hero.hero-align-right .hero-content {
    align-items: flex-end;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
  }

  .hero.hero-align-right .hero-subtitle {
    margin-left: auto;
  }
}

.hero h1 {
  font-size: 5.2rem;
  margin-bottom: 1.6rem;
}

.hero h1.hero-title-nowrap {
  font-size: clamp(3.6rem, 6.5vw, 4.6rem);
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
  margin-bottom: 2.4rem;
}

.hero-cta {
  margin-top: 1.6rem;
}

.hero h1 span {
  color: var(--color-gold);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 3.2rem;
  max-width: 50rem;
}

.hero-dots {
  position: absolute;
  z-index: 1;
  right: 2.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 0.2rem solid var(--color-white);
  background-color: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.hero-dot:hover {
  transform: scale(1.15);
}

.hero-dot.is-active {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

/* ===== Badges ===== */
.badges {
  padding: 6.4rem 0 4.8rem;
  background-color: var(--color-white);
}

.badges-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
  width: 95%;
  max-width: 180rem;
  margin: 0 auto;
  padding: 0 2.4rem;
}

.badges-inner-secondary {
  margin-top: 2.4rem;
}

.badge-item {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  max-width: 20rem;
  height: 10rem;
  justify-content: center;
  align-items: center;
}

.badge-item-lg {
  max-width: 30rem;
}

.badge-item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ===== Tours ===== */
.tours {
  padding: 9.6rem 0;
  background-color: var(--color-white);
}

.tours-title {
  text-align: center;
  font-size: 3.2rem;
  color: var(--color-blue);
  margin-bottom: 4.8rem;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
}

.tour-card {
  background-color: var(--color-white);
  border: 0.1rem solid rgba(26, 28, 67, 0.1);
  border-radius: 0.6rem;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.tour-card:hover {
  transform: translateY(-0.6rem);
  box-shadow: 0 1.5rem 3rem rgba(26, 28, 67, 0.15);
}

.tour-card-media {
  position: relative;
  display: block;
  height: 22rem;
  overflow: hidden;
}

.tour-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.tour-card:hover .tour-card-media img {
  transform: scale(1.06);
}

.tour-card-body {
  padding: 2.4rem;
}

.tour-card-body h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-blue);
}

.tour-card-body p {
  font-size: 1.5rem;
  color: rgba(26, 28, 67, 0.75);
  margin-bottom: 1.6rem;
}

.tour-tagline {
  font-weight: 700;
  color: var(--color-blue);
}

.tour-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold-deep);
  transition: color var(--transition-base);
}

.tour-read-more:hover {
  color: var(--color-gold-deep-dark);
}

/* ===== About ===== */
.about {
  padding: 9.6rem 0;
  background-color: var(--color-blue);
  color: var(--color-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: center;
}

.about-text .eyebrow {
  color: var(--color-gold);
}

.about-text h2 {
  font-size: 3.2rem;
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3.2rem;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.6rem;
  height: 40rem;
  min-height: 0;
}

.gallery-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: cover;
  border-radius: 0.6rem;
}

.gallery-img-large {
  grid-row: span 2;
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 6.4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4.8rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
}

.footer-logo {
  height: 6.5rem;
  width: auto;
  margin-bottom: 2.4rem;
}

.footer-brand p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.footer-social {
  display: flex;
  gap: 2.4rem;
  margin-top: 1.6rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-base);
}

.footer-social a:hover {
  color: var(--color-gold);
}

.social-icon {
  width: 3.2rem;
  height: 3.2rem;
}

.footer-col h3 {
  font-size: 1.6rem;
  color: var(--color-gold);
  margin-bottom: 1.6rem;
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-base);
}

.footer-col ul a:hover {
  color: var(--color-gold);
}

.footer-note {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
  padding: 2.4rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr;
  }
}

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

  .gallery-teaser {
    padding: 3.2rem 0;
  }

  .gallery-teaser-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .header-inner {
    height: 9rem;
  }

  .logo-img {
    height: 6.5rem;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-blue);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    padding: 0 2.4rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    z-index: 1000;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: all;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2.8rem;
  }

  .primary-nav a {
    font-size: 2rem;
  }

  .hero {
    height: 65vh;
    min-height: 44rem;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .hero h1.hero-title-nowrap {
    white-space: normal;
  }

  .badges {
    padding: 3.2rem 0;
  }

  .badges-inner {
    width: 100%;
    flex-wrap: wrap;
    row-gap: 3.2rem;
    column-gap: 1.6rem;
  }

  .badges-inner-secondary {
    margin-top: 3.2rem;
  }

  .badge-item,
  .badge-item-lg {
    flex: 0 1 calc(25% - 1.2rem);
    max-width: 7rem;
    height: 4rem;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ===== Detalle de tour ===== */
.tour-header {
  padding: 4.8rem 0 3.2rem;
  background-color: var(--color-blue);
  color: var(--color-white);
}

.tour-breadcrumb {
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
}

.tour-breadcrumb a {
  color: var(--color-gold);
}

.tour-breadcrumb a:hover {
  text-decoration: underline;
}

.tour-title {
  font-size: 4rem;
  max-width: 90rem;
  margin-bottom: 1.2rem;
}

.tour-subtitle {
  font-size: 1.9rem;
  max-width: 80rem;
  color: var(--color-gold);
}

.tour-body {
  padding: 4.8rem 0 7.2rem;
}

.tour-gallery {
  display: grid;
  grid-template-columns: 1fr 14rem;
  gap: 1.6rem;
  margin-bottom: 4.8rem;
}

.tour-gallery-main {
  border-radius: 0.6rem;
  overflow: hidden;
  background-color: var(--color-black);
  aspect-ratio: 16 / 10;
}

.tour-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.tour-thumb {
  flex: 1;
  min-height: 0;
  padding: 0;
  border: 0.3rem solid transparent;
  border-radius: 0.6rem;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.7;
  transition: opacity var(--transition-base), border-color var(--transition-base);
}

.tour-thumb:hover,
.tour-thumb.is-active {
  opacity: 1;
}

.tour-thumb.is-active {
  border-color: var(--color-gold-deep);
}

.tour-thumb:focus-visible {
  outline: 0.3rem solid var(--color-gold-deep);
  outline-offset: 0.2rem;
}

.tour-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-layout {
  display: grid;
  grid-template-columns: 1fr 34rem;
  gap: 4.8rem;
  align-items: start;
}

.tour-block + .tour-block {
  margin-top: 3.2rem;
}

.tour-block-title {
  font-size: 2.6rem;
  color: var(--color-blue);
  margin-bottom: 1.6rem;
}

.tour-paragraph {
  font-size: 1.7rem;
  line-height: 1.8;
  color: rgba(26, 28, 67, 0.85);
}

.tour-paragraph + .tour-paragraph {
  margin-top: 1.6rem;
}

.tour-list li {
  position: relative;
  padding-left: 2.4rem;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.tour-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: var(--color-gold-deep);
}

.tour-booking {
  position: sticky;
  top: 13rem;
  padding: 3.2rem;
  border: 0.1rem solid rgba(26, 28, 67, 0.15);
  border-top: 0.5rem solid var(--color-gold-deep);
  border-radius: 0.6rem;
  background-color: var(--color-white);
  box-shadow: 0 1rem 2.4rem rgba(26, 28, 67, 0.1);
}

.tour-booking-title {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.tour-booking-text,
.tour-booking-meta {
  font-size: 1.5rem;
  color: rgba(26, 28, 67, 0.8);
  margin-bottom: 1.6rem;
}

.tour-booking .btn {
  display: block;
  text-align: center;
}

.tour-booking-email {
  display: block;
  margin-top: 1.6rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold-deep);
  word-break: break-word;
}

.tour-booking-email:hover {
  color: var(--color-gold-deep-dark);
}

.tour-others {
  padding: 6.4rem 0 8rem;
  background-color: rgba(247, 218, 142, 0.18);
}

.tour-others-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3.2rem;
}

.tour-others-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
}

.tour-other {
  display: block;
  border-radius: 0.6rem;
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: 0 0.6rem 1.6rem rgba(26, 28, 67, 0.1);
  transition: transform var(--transition-base);
}

.tour-other:hover {
  transform: translateY(-0.4rem);
}

.tour-other img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.tour-other-name {
  display: block;
  padding: 1.2rem 1.4rem 1.6rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.tour-not-found {
  padding: 8rem 2.4rem;
  text-align: center;
}

.tour-not-found h1 {
  margin-bottom: 1.6rem;
}

.tour-not-found p {
  margin-bottom: 2.4rem;
}

@media (max-width: 992px) {
  .tour-layout {
    grid-template-columns: 1fr;
  }

  .tour-booking {
    position: static;
  }

  .tour-others-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .tour-header {
    padding: 3.2rem 0 2.4rem;
  }

  .tour-title {
    font-size: 3rem;
  }

  .tour-subtitle {
    font-size: 1.6rem;
  }

  .tour-gallery {
    grid-template-columns: 1fr;
  }

  .tour-gallery-thumbs {
    flex-direction: row;
  }

  .tour-thumb {
    aspect-ratio: 4 / 3;
  }

  .tour-others-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
