/* --- VARIABLES & RESET --- */
:root {
  /* Paleta extraída del Banner */
  --primary-red: #e31c3d; /* Rojo vibrante de "PANAMÁ" */
  --primary-blue: #8bc6ec; /* Azul cielo del fondo */
  --accent-yellow: #fdd835; /* Amarillo de las bolsas/guacamaya */
  --dark-text: #1a1a1a;
  --light-text: #f4f4f4;
  --white: #ffffff;
  --gray-bg: #f9fafb;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
}

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

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

/* --- UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #c41230;
  transform: translateY(-2px);
}

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

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

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}
.text-primary {
  color: var(--primary-red);
}

/* --- HERO SECTION --- */
.hero {
  /* Degradado simulando el cielo del banner */
  background: url('../images/banner.webp') no-repeat center right #8bc6ec;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px; /* Header spacing */
  overflow: hidden;
}

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

.hero-text h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 4rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: -20px;
  margin-left: 20px;
}

.hero-text h1 {
  font-size: 5rem;
  color: var(--primary-red);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-subtitle {
  background: var(--primary-red);
  color: var(--white);
  padding: 10px 20px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 30px;
  font-size: 1rem;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-text);
  font-weight: 600;
  margin-bottom: 30px;
}

.hero-image-wrapper {
  position: relative;
}

/* --- INTRO SECTION --- */
.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h3 {
  font-size: 2.5rem;
  line-height: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-text);
}

.intro-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.map-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-blue);
  font-weight: 700;
  margin-top: 20px;
}

.message-1 {
    background-color: #dddddd;
}

.message-1 h3 {
    text-align: center;
    font-size: 2rem;
}

/* --- ENTERTAINMENT SECTION --- */
.entertainment {
  background-color: var(--gray-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h3 {
  font-size: 2.5rem;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.section-title .subtitle {
  color: var(--primary-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 30px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--primary-red);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-text);
}

.feature-card p {
  font-size: 0.95rem;
  color: #666;
}

/* --- GASTRONOMY & SHOPPING (Zig Zag) --- */
.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0; /* Full width approach */
}

.zigzag-content {
  padding: 80px;
}

.zigzag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}

.bg-blue-light {
  background-color: #f0f8ff;
}

/* --- FORM SECTION --- */
.cta-section {
  background: linear-gradient(rgba(227, 28, 61, 0.9), rgba(227, 28, 61, 0.9)),
    url('https://images.unsplash.com/photo-1566378949806-21808b8b087e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-attachment: fixed;
  color: var(--white);
  padding: 100px 0;
}

.form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
  color: var(--dark-text);
}

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

.form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.btn-block {
  width: 100%;
  font-size: 1.1rem;
  padding: 15px;
}

/* --- FOOTER --- */
footer {
  background: #222;
  color: var(--white);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-content h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-blue);
}

.social-links {
  margin: 30px 0;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 15px;
  transition: 0.3s;
}

.social-links a:hover {
  color: var(--primary-red);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
  .hero-text h2 {
    font-size: 3rem;
  }
  .zigzag-content {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .hero-content,
  .intro-grid,
  .zigzag-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 50px;
    text-align: center;
    background: #8bc6ec;
  }

  .hero-text h2 {
    margin-left: 0;
  }

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

  .hero-image-wrapper {
    order: -1;
    margin-bottom: 40px;
  }
  .hero-image-wrapper img {
    transform: none;
  }

  .zigzag-row .img-col {
    order: -1;
  } /* Image always top on mobile */
  .zigzag-img {
    min-height: 300px;
  }

  .intro-grid img {
    order: -1;
  }
}
