/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #D4A843;
  --gold-light: #E8C96A;
  --brown-dark: #3D2314;
  --brown: #6B3A2A;
  --brown-medium: #8B5E3C;
  --orange: #D4782F;
  --sand: #F5E6C8;
  --sand-light: #FDF8F0;
  --cream: #FFFDF7;
  --white: #FFFFFF;
  --text: #3D2314;
  --text-light: #6B3A2A;
  --shadow: rgba(61, 35, 20, 0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--brown);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--sand);
  border-radius: 20px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 14px;
  border-radius: 17px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--brown-medium);
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: var(--gold);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--brown);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--brown-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/photo_5242418085317252492_w.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61,35,20,0.3) 0%, rgba(61,35,20,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 24px;
}

.hero-logo {
  width: 280px;
  margin: 0 auto 30px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
  opacity: 0.92;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.4);
}

.btn-primary:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 120, 47, 0.4);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1EBE57;
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== SECTION HEADERS ===== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--brown-medium);
  max-width: 600px;
  margin: 0 auto;
}

.title-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== TOURS ===== */
.tours {
  background: var(--sand-light);
}

.tours-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
  color: var(--brown-medium);
  font-size: 0.95rem;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(61, 35, 20, 0.18);
}

.tour-card-header {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  color: var(--white);
  padding: 20px 24px;
}

.tour-card-header h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.tour-duration {
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 600;
}

.tour-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card-body ul {
  list-style: none;
  margin-bottom: 20px;
}

.tour-card-body li {
  padding: 5px 0;
  padding-left: 22px;
  position: relative;
  font-size: 0.93rem;
  color: var(--text-light);
}

.tour-card-body li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

.tour-price {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--sand);
  margin-top: auto;
}

.tour-price-item {
  text-align: center;
}

.tour-price-item .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brown-medium);
  margin-bottom: 2px;
}

.tour-price-item .amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange);
  font-family: 'Playfair Display', Georgia, serif;
}

/* ===== PRICE TABLE ===== */
.pricing {
  background: var(--white);
}

.price-table-wrap {
  overflow-x: auto;
  margin-bottom: 28px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.price-table thead {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  color: var(--white);
}

.price-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.price-table td {
  padding: 14px 20px;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--sand);
}

.price-table tbody tr:nth-child(even) {
  background: var(--sand-light);
}

.price-table tbody tr:hover {
  background: var(--sand);
}

.price-table .price-cell {
  font-weight: 700;
  color: var(--orange);
  font-size: 1rem;
}

.price-notes {
  text-align: center;
  color: var(--brown-medium);
  font-size: 0.9rem;
  line-height: 1.9;
}

.price-notes strong {
  color: var(--brown-dark);
}

/* ===== PRACTICAL INFO ===== */
.practical {
  background: var(--sand);
}

.practical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.practical-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 15px var(--shadow);
}

.practical-box h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.practical-box h3 .icon {
  font-size: 1.4rem;
}

.practical-box ul {
  list-style: none;
}

.practical-box li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.93rem;
  color: var(--text-light);
}

.practical-box li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* ===== BIVOUAC ===== */
.bivouac {
  background: var(--sand-light);
}

.bivouac-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.bivouac-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow);
}

.bivouac-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.bivouac-text h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--brown-dark);
}

.bivouac-text ul {
  list-style: none;
  margin-bottom: 24px;
}

.bivouac-text li {
  padding: 7px 0;
  padding-left: 22px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
}

.bivouac-text li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.bivouac-note {
  font-size: 0.9rem;
  color: var(--brown-medium);
  font-style: italic;
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(61, 35, 20, 0);
  transition: background var(--transition);
}

.gallery-item:hover::after {
  background: rgba(61, 35, 20, 0.15);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px 18px;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--brown-dark);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail .icon {
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail p {
  font-size: 0.93rem;
  color: var(--text-light);
}

.contact-detail a {
  color: var(--orange);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brown);
  font-size: 1.2rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 4px 20px var(--shadow);
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--brown-dark);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--sand-light);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo img {
  height: 60px;
  filter: brightness(1.8) contrast(0.9);
}

.footer p {
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color var(--transition);
}

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

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 240, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 30px 0;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: 0 4px 20px var(--shadow);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }

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

  .hero-logo {
    width: 200px;
  }

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

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

  .bivouac-content {
    grid-template-columns: 1fr;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

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

  .hero p {
    font-size: 1rem;
  }

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

  .contact-form {
    padding: 24px;
  }

  .lightbox-nav {
    font-size: 1.8rem;
    padding: 8px 12px;
  }
}
