/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 {
    font-size: 4rem;
    font-weight: 800;
}

h2 {
    font-size: 3.5rem !important;
    font-weight: 700;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 5rem;
}

/* =============================================
    HERO
   ============================================= */

.hero-faq {
    position: relative;
    height: 60vh;
    display: flex;
}
.hero-faq .container {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero-faq .overlay {
    background-image: url(../images/tulum-mexico.webp);
    background-size: cover;
    background-position: bottom center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness( 74% ) contrast( 100% ) saturate( 100% ) blur( 2.5px ) hue-rotate( 0deg );
    z-index: 1;
}

.hero-faq .faq-cta {
    text-decoration: none;
    color: #FFF;
    font-size: 1.3rem;
    padding: 18px 80px;
    border: 2px solid #fff;
    border-radius: 8px;
    line-height: 21px;
    transition: all .3s ease;

    &:hover {
        color: #FFF;
        background-color: var(--tertiary-color);
        border-color: var(--tertiary-color);
    }
}

/* ============================================
   DESTINATION CARDS
   ============================================ */
.destination-section {
  background-color: #F2F2F2;
}

.destination-section .section-title p {
  color: #005AA6;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  line-height: 15px;
}

.destination-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 8px -5px rgba(151,163,184,0.5),0 15px 16px -15px rgba(151,163,184,0.5),0 25px 32px -25px rgba(151,163,184,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: auto;
  width: 406px;
  /* height: 668px; */
  margin: auto;
  border-bottom: 3px solid rgb(42, 147, 168);
}

.destination-card:hover {
  /* transform: translateY(-8px); */
  box-shadow: none;
}

.destination-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-light);
  height: 198px;
}

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

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

.destination-content {
  padding: 25px;
  height: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.destination-content h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.destination-description {
  color: #4e4a67;
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 24px;
  font-weight: 500;
}

.destination-duration {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  /* position: absolute; */
  bottom: 25px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgb(42, 147, 168);
}

.destination-duration img {
  height: auto;
}

.destination-duration span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* ============================================
   NEWSLETTER SIGNUP
   ============================================ */
.newsletter-section {
  /* background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
  color: white; */
  background-color: #fff;
  padding: 60px 0;
}

.newsletter-content {
  text-align: center;
}

.newsletter-section .container {
  display: flex !important;
}

.newsletter-section h2 {
  color: #2d2d2d;
  margin-bottom: 1rem;
  font-size: 43px;
  line-height: 53.8px;
}

.newsletter-section p {
  color: #7e7e7e;
  margin-bottom: 2rem;
  font-size: 15px;
  font-family: "Montserrat", Sans-serif;
}

.newsletter-form {
  display: flex;
  align-items: center;
  /* grid-template-columns: 1fr auto; */
  /* gap: 1rem; */
  max-width: 500px;
  /* margin: 0; */
}

.newsletter-form input {
  padding: 13px 15px;
  /* border: none; */
  border-radius: 0px;
  font-size: 1rem;
  width: 380px;
}

.newsletter-form button {
  padding: 15px 30px;
  background: #3A3A3A;
  color: #FFF;
  border: none;
  border-radius: 0px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--primary-hover);
}

/* ============================================
   RESPONSIVE DESIGN - TABLET (768px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 2.5rem;
  }

  .hero-faq {
    height: 50vh;
  }

  .hero-faq .container {
    padding: 60px 0;
  }

  .hero-faq .faq-cta {
    font-size: 1.1rem;
    padding: 15px 60px;
  }

  .destination-card {
    width: auto;
  }

  .destination-section .section-title p {
    font-size: 0.95rem;
  }

  .destination-duration {
    font-size: 0.85rem;
  }

  .newsletter-section h2 {
    font-size: 1.8rem;
  }

  .newsletter-form input {
    width: 300px;
  }

  .newsletter-form button {
    padding: 13px 25px;
  }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE (768px and below)
   ============================================ */
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem;
    font-weight: 700;
  }

  h2 {
    font-size: 1.4rem;
    font-weight: 600;
  }

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

  .hero-faq {
    height: 45vh;
    min-height: 300px;
  }

  .hero-faq .container {
    padding: 40px 20px;
  }

  .hero-faq .overlay {
    filter: brightness(60%) contrast(100%) saturate(100%) blur(2.5px) hue-rotate(0deg);
  }

  .hero-faq h1 {
    font-size: 1.5rem;
    color: white;
  }

  .hero-faq p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .hero-faq .faq-cta {
    font-size: 1rem;
    padding: 14px 40px;
    width: 100%;
    text-align: center;
  }

  .destination-section {
    padding: 40px 0;
  }

  .destination-section .section-title {
    margin-bottom: 2rem;
  }

  .destination-section .section-title h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .destination-section .section-title p {
    font-size: 0.9rem;
  }

  .destination-card {
    width: 100%;
    max-width: 100%;
  }

  .destination-image {
    width: 100%;
    height: 200px;
    aspect-ratio: auto;
  }

  .destination-content {
    padding: 20px;
    height: auto;
  }

  .destination-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .destination-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .destination-duration {
    font-size: 0.85rem;
    padding-top: 0.75rem;
  }

  .newsletter-section {
    padding: 40px 0;
  }

  .newsletter-section .container {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-content {
    width: 100%;
  }

  .newsletter-section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
  }

  .newsletter-section p {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
    max-width: 100%;
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
    padding: 12px 12px;
    font-size: 16px;
  }

  .newsletter-form button {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE (480px and below)
   ============================================ */
@media (max-width: 480px) {
  h1 {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 1.1rem;
  }

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

  .hero-faq {
    height: 40vh;
    min-height: 250px;
  }

  .hero-faq .container {
    padding: 30px 15px;
  }

  .hero-faq h1 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .hero-faq p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .hero-faq .faq-cta {
    font-size: 0.85rem;
    padding: 12px 25px;
    width: 100%;
    max-width: 90%;
  }

  .destination-section {
    padding: 25px 0;
  }

  .destination-section .section-title {
    margin-bottom: 1.5rem;
  }

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

  .destination-section .section-title p {
    font-size: 0.8rem;
  }

  .destination-card {
    width: 100%;
    margin: 0;
  }

  .destination-image {
    height: 150px;
  }

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

  .destination-content {
    padding: 15px;
  }

  .destination-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .destination-description {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .destination-duration {
    font-size: 0.75rem;
    padding-top: 0.5rem;
    gap: 0.3rem;
  }

  .destination-duration span {
    font-size: 0.85rem;
  }

  .newsletter-section {
    padding: 30px 0;
  }

  .newsletter-section h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .newsletter-section p {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  .newsletter-form input {
    width: 100%;
    padding: 10px 10px;
    font-size: 16px;
    border-radius: 3px;
  }

  .newsletter-form button {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.85rem;
  }

  /* Improve touch targets */
  .newsletter-form input,
  .newsletter-form button {
    min-height: 44px;
  }

  .destination-card {
    cursor: pointer;
  }

  .destination-card:active {
    opacity: 0.9;
  }
}