/* ========================================
   NATIVA CHIAPAS TOURS - STYLES
   Pure HTML/CSS/JS - No Frameworks
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --jungle-green: #2d4a3e;
  --warm-yellow: #f4d03f;
  --earth-brown: #5d4037;
  --light-green: #e8f5e9;
  --light-yellow: #fffde7;
  --dark-green: #1b3028;
  --white: #ffffff;
  --black: #000000;
  --gray: #f5f5f5;
  --dark-gray: #333333;
  --text-gray: #666666;
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.7s ease;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.3);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-medium);
  padding: 1.25rem 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

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

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

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
  position: relative;
  padding: 0.5rem 0;
}

.navbar.scrolled .navbar-link {
  color: var(--dark-green);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--warm-yellow);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-cta {
  background: var(--warm-yellow);
  color: var(--dark-green);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.navbar-cta:hover {
  background: #e6c200;
  transform: scale(1.05);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.navbar-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-fast);
}

.navbar.scrolled .navbar-toggle span {
  background: var(--dark-green);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: heroScale 1.5s ease-out forwards;
}

@keyframes heroScale {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.2), rgba(0,0,0,0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease-out 0.3s forwards;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--warm-yellow);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-title span {
  color: var(--warm-yellow);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.btn-primary {
  background: var(--warm-yellow);
  color: var(--dark-green);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  display: inline-block;
}

.btn-primary:hover {
  background: #e6c200;
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition-fast);
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hero-stat-value svg {
  width: 20px;
  height: 20px;
  color: var(--warm-yellow);
}

.hero-stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 32px;
  height: 32px;
  color: var(--white);
  opacity: 0.7;
}

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

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  color: var(--jungle-green);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--dark-green);
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--warm-yellow);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   TOURS SECTION
   ======================================== */
.tours {
  background: #f8faf9;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tour-card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.tour-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.tour-card:hover .tour-image img {
  transform: scale(1.1);
}

.tour-price {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--warm-yellow);
  color: var(--dark-green);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
}

.tour-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 1rem;
  display: flex;
  gap: 1.5rem;
  color: var(--white);
  font-size: 0.85rem;
}

.tour-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.tour-meta svg {
  width: 16px;
  height: 16px;
}

.tour-content {
  padding: 1.5rem;
}

.tour-title {
  font-size: 1.25rem;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}

.tour-description {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tour-highlight {
  background: var(--light-green);
  color: var(--jungle-green);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tour-btn {
  width: 100%;
  background: var(--jungle-green);
  color: var(--white);
  padding: 0.875rem;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.tour-btn:hover {
  background: var(--dark-green);
}

.tour-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.tour-btn:hover svg {
  transform: translateX(5px);
}

/* ========================================
   MODAL
   ======================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  overflow-y: auto;
  padding: 2rem 1rem;
}

.modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  border-radius: 1.5rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(0,0,0,0.8);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-image {
  height: 300px;
  position: relative;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-price {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--warm-yellow);
  color: var(--dark-green);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.5rem;
}

.modal-body {
  padding: 2rem;
}

.modal-title {
  font-size: 1.75rem;
  color: var(--dark-green);
  margin-bottom: 1rem;
}

.modal-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-info-item {
  background: #f8faf9;
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
}

.modal-info-item svg {
  width: 24px;
  height: 24px;
  color: var(--jungle-green);
  margin-bottom: 0.5rem;
}

.modal-info-label {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.modal-info-value {
  font-weight: 600;
  color: var(--dark-green);
}

.modal-description {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-section {
  margin-bottom: 1.5rem;
}

.modal-section-title {
  font-size: 1.25rem;
  color: var(--dark-green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section-title svg {
  width: 20px;
  height: 20px;
}

.itinerary {
  position: relative;
}

.itinerary-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.itinerary-item::before {
  content: '';
  position: absolute;
  left: 70px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--light-green);
}

.itinerary-item:last-child::before {
  display: none;
}

.itinerary-time {
  width: 60px;
  text-align: right;
  font-weight: 600;
  color: var(--jungle-green);
  font-size: 0.9rem;
}

.itinerary-dot {
  width: 12px;
  height: 12px;
  background: var(--warm-yellow);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.itinerary-content h5 {
  font-size: 1rem;
  color: var(--dark-green);
  margin-bottom: 0.25rem;
}

.itinerary-content p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.modal-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.modal-list-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-list-item.check svg {
  color: #22c55e;
}

.modal-list-item.cross svg {
  color: #ef4444;
}

.modal-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  background: var(--white);
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.about-badge {
  position: absolute;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge.left {
  top: -1rem;
  left: -1rem;
  animation: float 6s ease-in-out infinite;
}

.about-badge.right {
  bottom: -1rem;
  right: -1rem;
  background: var(--jungle-green);
  color: var(--white);
  animation: float 6s ease-in-out 1s infinite;
}

.about-badge-icon {
  width: 48px;
  height: 48px;
  background: var(--warm-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge.right .about-badge-icon {
  background: rgba(255,255,255,0.2);
}

.about-badge-icon svg {
  width: 24px;
  height: 24px;
  color: var(--dark-green);
}

.about-badge.right .about-badge-icon svg {
  color: var(--white);
}

.about-badge-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.about-badge-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.about-content {
  padding: 1rem 0;
}

.about-text {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-text strong {
  color: var(--dark-green);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--light-green);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--jungle-green);
}

.about-feature-title {
  font-size: 1rem;
  color: var(--dark-green);
  margin-bottom: 0.25rem;
}

.about-feature-desc {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.about-stat {
  background: #f8faf9;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: var(--transition-fast);
}

.about-stat:hover {
  box-shadow: var(--shadow-md);
}

.about-stat-icon {
  width: 56px;
  height: 56px;
  background: var(--jungle-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.about-stat-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.about-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-green);
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
  background: #f8faf9;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--dark-green);
  transition: var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--jungle-green);
  color: var(--white);
}

.gallery-grid {
  columns: 3;
  column-gap: 1.5rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.7s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--white);
  font-size: 0.9rem;
}

.gallery-zoom {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-zoom svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

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

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   BLOG SECTION
   ======================================== */
.blog {
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.blog-featured {
  cursor: pointer;
}

.blog-featured-image {
  height: 400px;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.blog-featured:hover .blog-featured-image img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--warm-yellow);
  color: var(--dark-green);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-meta svg {
  width: 16px;
  height: 16px;
}

.blog-title {
  font-size: 1.5rem;
  color: var(--dark-green);
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

.blog-featured:hover .blog-title {
  color: var(--jungle-green);
}

.blog-excerpt {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-readmore {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--jungle-green);
  font-weight: 600;
}

.blog-readmore svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.blog-featured:hover .blog-readmore svg {
  transform: translateX(5px);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-item {
  display: flex;
  gap: 1.5rem;
  padding: 1rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.blog-item:hover {
  background: #f8faf9;
}

.blog-item-image {
  width: 120px;
  height: 120px;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
}

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

.blog-item:hover .blog-item-image img {
  transform: scale(1.1);
}

.blog-item-content {
  flex: 1;
}

.blog-item-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.blog-item-category {
  color: var(--jungle-green);
  font-weight: 600;
}

.blog-item-title {
  font-size: 1.1rem;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
}

.blog-item:hover .blog-item-title {
  color: var(--jungle-green);
}

.blog-item-excerpt {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--jungle-green);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 2rem;
  transition: var(--transition-fast);
}

.blog-btn:hover {
  background: var(--dark-green);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  background: #f8faf9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-title {
  font-size: 1.5rem;
  color: var(--dark-green);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--jungle-green);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1);
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

.form-btn {
  width: 100%;
  background: var(--jungle-green);
  color: var(--white);
  padding: 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.form-btn:hover {
  background: var(--dark-green);
}

.form-btn svg {
  width: 18px;
  height: 18px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-info-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.contact-info-item:hover {
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--light-green);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-info-item:hover .contact-info-icon {
  background: var(--jungle-green);
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  color: var(--jungle-green);
  transition: var(--transition-fast);
}

.contact-info-item:hover .contact-info-icon svg {
  color: var(--white);
}

.contact-info-title {
  font-size: 1rem;
  color: var(--dark-green);
  margin-bottom: 0.25rem;
}

.contact-info-text {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.contact-map {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 250px;
  border: none;
}

.contact-map-info {
  padding: 1.5rem;
}

.contact-map-title {
  font-size: 1.1rem;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}

.contact-map-text {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.contact-whatsapp {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #25D366;
  color: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: var(--transition-fast);
}

.contact-whatsapp:hover {
  background: #128C7E;
}

.contact-whatsapp-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-whatsapp-icon svg {
  width: 28px;
  height: 28px;
}

.contact-whatsapp-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-whatsapp-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--dark-green);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 5rem;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--warm-yellow);
  color: var(--dark-green);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--warm-yellow);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--warm-yellow);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.85rem;
  opacity: 0.6;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  opacity: 1;
}

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
}

.whatsapp-toggle {
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-fast);
}

.whatsapp-toggle:hover {
  transform: scale(1.1);
}

.whatsapp-toggle svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.whatsapp-chat {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: none;
  animation: slideUp 0.3s ease-out;
}

.whatsapp-chat.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-header {
  background: #25D366;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-header-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-header-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.whatsapp-header-title {
  color: var(--white);
  font-weight: 600;
}

.whatsapp-header-status {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
}

.whatsapp-close {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.whatsapp-close svg {
  width: 16px;
  height: 16px;
}

.whatsapp-messages {
  padding: 1rem;
  background: #f0f2f5;
  min-height: 200px;
}

.whatsapp-message {
  background: var(--white);
  padding: 0.75rem;
  border-radius: 0.5rem;
  border-top-left-radius: 0;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.whatsapp-message-text {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
}

.whatsapp-message-time {
  font-size: 0.75rem;
  color: var(--text-gray);
  text-align: right;
}

.whatsapp-quick-label {
  font-size: 0.8rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 0.75rem;
}

.whatsapp-quick-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.whatsapp-quick-btn {
  background: var(--white);
  border: 1px solid #e5e7eb;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--dark-green);
  text-align: center;
  transition: var(--transition-fast);
}

.whatsapp-quick-btn:hover {
  background: var(--light-green);
  border-color: #25D366;
}

.whatsapp-footer {
  padding: 1rem;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
}

.whatsapp-start {
  display: block;
  width: 100%;
  background: #25D366;
  color: var(--white);
  padding: 0.875rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-fast);
}

.whatsapp-start:hover {
  background: #128C7E;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-link {
    color: var(--dark-green);
  }
  
  .navbar-toggle {
    display: flex;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tours-grid {
    grid-template-columns: 1fr;
  }
  
  .about-badge {
    display: none;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .gallery-grid {
    columns: 1;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-featured-image {
    height: 250px;
  }
  
  .blog-item {
    flex-direction: column;
  }
  
  .blog-item-image {
    width: 100%;
    height: 180px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .modal-info {
    grid-template-columns: 1fr;
  }
  
  .modal-lists {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-chat {
    right: -1rem;
    width: calc(100vw - 2rem);
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
