/* Google Tag Manager noscript fallback */
noscript iframe {
  display: none;
  visibility: hidden;
}

:root {
  --primary-teal: #008080;
  --secondary-yellow: #ffdd59;
  --text-dark: #444;
  --bg-light: #f4f9ff;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", Verdana, Geneva, Tahoma, sans-serif;
}

body {
  background-color: #f4f9ff;
  position: relative;
  overflow-x: hidden;
}

/* Static mosaic background combining images 001 through 005 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.06;
  background-image:
    url('../backgrounds/005.JPG'),
    url('../backgrounds/001.JPG'),
    url('../backgrounds/002.JPG'),
    url('../backgrounds/003.JPG'),
    url('../backgrounds/004.JPG');
  background-position: 200px 200px, 0 0, 400px 0, 0 400px, 400px 400px;
  background-size: 400px 400px;
  background-repeat: repeat;
}

/* Navbar styles */
.navbar {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-weight: normal;
  font-style: normal;
  position: relative;
  z-index: 1001;
}

.brand-name {
  color: var(--primary-teal);
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 40px;
  margin-right: 12px;
  border-radius: 4px;
  object-fit: contain;
}

.nav-links {
  position: fixed;
  right: 0;
  height: calc(100vh - 72px);
  top: 72px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transform: translateX(100%);
  transition: transform 0.5s ease-in;
  list-style: none;
  z-index: 999;
  padding-top: 2rem;
}

.nav-links li {
  margin: 1.5rem 0;
  opacity: 0;
}

.nav-links li a {
  color: var(--primary-teal);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links li a:hover {
  color: var(--secondary-yellow);
}

.nav-active {
  transform: translateX(0%);
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
}

.burger {
  display: block;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--primary-teal);
  margin: 5px;
  transition: all 0.3s ease;
}

.whatsapp-nav-item {
  display: none;
}

.whatsapp-nav-icon {
  height: 32px;
  width: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: #25d366;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
}

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

.btn-whatsapp-pulse {
  background: #12c37a;
  color: white;
  border: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1500;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56.7px;
  height: 56.7px;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.btn-whatsapp-pulse svg {
  width: 29.3px;
  height: 29.3px;
}

.btn-whatsapp-pulse::before,
.btn-whatsapp-pulse::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: rgba(18, 195, 122, 0.6);
  z-index: -1;
  animation: sea-wave 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-whatsapp-pulse::after {
  animation-delay: 1s;
}

@keyframes sea-wave {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Banner styles */
.hero-banner {
  width: calc(100% + 3rem);
  margin-left: -1.5rem;
  height: 320px;
  background: url('../backgrounds/002.JPG') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  color: white;
  text-align: right;
  border-radius: 0;
  margin-bottom: 2rem;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-banner .tagline {
  font-size: 0.675rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: right;
}

.hero-banner .main-title {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: right;
}

.hero-banner .sub-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  text-align: right;
}

/* Shared padding for the intro-and-blog section on mobile */
.intro-and-blog {
  padding: 0 1.5rem;
  overflow-x: clip;
}

/* Hero Section Style — shared by leading intro and open Soro articles */
.hero-intro,
#soro-blog {
  max-width: 1000px;
  margin: 0 auto 1rem auto;
  padding: 0;
  text-align: center;
}

.hero-intro h1,
#soro-blog h1 {
  color: var(--primary-teal);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.hero-intro p,
#soro-blog p {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

#soro-blog p {
  text-align: left;
}

.hero-highlight {
  font-weight: 600;
  color: var(--primary-teal);
}

/* Emphasize the teal location and brand links */
.hero-intro a,
#soro-blog a,
.transfers-text a,
.modal-description a {
  color: var(--primary-teal);
  font-weight: bold;
}

.hero-intro strong,
.transfers-text strong,
.modal-description strong {
  color: var(--primary-teal);
}

.hero-intro .hero-cta {
  font-weight: bold;
  color: var(--primary-teal);
  margin-top: 1.5rem;
}

#success-modal h2 {
  color: var(--primary-teal);
}

#success-text {
  margin-top: 10px;
  color: #555;
}

.success-hint {
  font-size: 0.8rem;
  color: #888;
}

/* Map Preview Tooltip */
#map-preview {
  position: fixed;
  z-index: 3000;
  width: 300px;
  height: 250px;
  background: #fff;
  border: 2px solid var(--primary-teal);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: none;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.2s ease;
  opacity: 0;
}

#map-preview.visible {
  display: block;
  opacity: 1;
}

/* Page title */
.page-title {
  text-align: center;
  color: var(--primary-teal);
  margin: 2rem 0;
  position: relative;
  font-size: 2em;
}

.page-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary-yellow);
  margin: 10px auto;
}

/* Tour cards container */
.tours-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Tour card styles */
.tour-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-5px);
}

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

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

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

.tour-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-title {
  color: var(--primary-teal);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.tour-itinerary {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tour-itinerary-list {
  list-style-position: inside;
  padding-left: 0.5rem;
  color: #555;
}

.tour-itinerary-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.more-info-btn {
  background-color: var(--primary-teal);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: auto;
}

.more-info-btn:hover {
  background-color: #006666;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background-color: white;
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Conversion Modal Styling */
.modal-content.success-popup {
  max-width: 500px;
  text-align: center;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: var(--primary-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
}

.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--secondary-yellow);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  animation: spin 1s linear infinite;
  margin: 1.5rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: #aaa;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--primary-teal);
}

.modal-title {
  color: var(--primary-teal);
  margin-bottom: 1rem;
  padding-right: 2rem;
  font-size: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

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

/* Full screen image view */
.fullscreen-view {
  display: none;
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.fullscreen-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.fullscreen-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Airport Transfers Section */
.transfers-section {
  max-width: 1200px;
  margin: 2rem 1rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.transfers-title {
  color: var(--primary-teal);
  margin-bottom: 1.5rem;
  text-align: center;
}

.transfers-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.transfers-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.transfers-text {
  max-width: 800px;
  line-height: 1.6;
  color: var(--text-dark);
  font-size: 1rem;
}

/* Footer Styles */
.footer {
  background-color: #008080;
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

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

.modal-booking {
  background-color: var(--primary-teal);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.modal-booking h3 {
  color: white;
  margin-bottom: 0.75rem;
  text-align: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 400px;
  justify-content: center;
  border: none;
  white-space: normal;
  cursor: pointer;
  font-family: inherit;
}

.contact-item:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.2);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.whatsapp-icon {
  color: #25d366;
}

.contact-text {
  font-size: 1.1rem;
  word-break: break-all;
  overflow-wrap: anywhere;
  min-width: 0;
}


/* Desktop Enhancements */
@media screen and (min-width: 769px) {
  .navbar {
    padding: 1rem 2rem;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .nav-links {
    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    flex-direction: row;
    transform: none;
    padding-top: 0;
  }

  .nav-links li {
    margin: 0 0 0 1.5rem;
    opacity: 1;
  }

  .whatsapp-nav-item {
    display: flex;
    align-items: center;
  }

  .burger {
    display: none;
  }

  .hero-banner {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    height: 450px;
    border-radius: 12px;
    margin-bottom: 3rem;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-banner .tagline {
    font-size: 1.1rem;
  }

  .hero-banner .main-title {
    font-size: 4rem;
  }

  .hero-banner .sub-title {
    font-size: 1.6rem;
  }

  .intro-and-blog {
    padding: 0 2rem;
  }

  .hero-intro,
  #soro-blog {
    margin-top: 3rem;
    padding: 0;
    text-align: center;
  }

  .hero-intro h1,
  #soro-blog h1 {
    font-size: 2.5rem;
  }

  .hero-intro p,
  #soro-blog p {
    font-size: 1.1rem;
    padding: 0;
  }

  .tours-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .modal-content {
    padding: 2rem;
    max-width: 850px;
    width: 100%;
  }

  .transfers-section {
    margin: 3rem auto;
    padding: 2rem;
  }

  .transfers-text {
    font-size: 1.1rem;
  }

  .btn-whatsapp-pulse {
    width: 66.7px;
    height: 66.7px;
  }

  .btn-whatsapp-pulse svg {
    width: 34.5px;
    height: 34.5px;
  }
}
