
/* Base */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}
a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  background: white;
  padding: 15px 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.navbar a.logo {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #f26722;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 10px 0 0 0;
  padding: 0;
  flex-wrap: wrap;
}
.navbar ul li {
  position: relative;
}
.navbar ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.navbar .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1001;
  min-width: 180px;
}
.navbar .dropdown:hover .dropdown-content {
  display: block;
}
.navbar .dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}
.navbar .dropdown-content a:hover {
  background-color: #f2f2f2;
}
.search-bar input[type="text"] {
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  max-width: 250px;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}


/* Layout */
.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  gap: 20px;
}


.hero-cahuita {
   background: url('../images/beaches/cahuita_hero.jpg') center/cover no-repeat;
   height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 4px black;
}
.hero-puerto-viejo {
  background: url('../images/beaches/puerto_viejo_hero.jpg') center/cover no-repeat;;  
     height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 4px black;
}
.hero-cocles {
  background: url('../images/beaches/hero_68746d1a31cb1_cocles_hero.jpg') center/cover no-repeat;;
     height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 4px black;
}
.hero-manzanillo {
  background: url('../images/beaches/manza.jpg') center/cover no-repeat;;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 4px black;
}
.hero-punta-uva{
  background: url('../images/beaches/punta_uva.jpg') center/cover no-repeat;;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 4px black;
}
.hero-playa-chiquita {
  background: url('../images/beaches/playa_chiquita.jpg') center/cover no-repeat;;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 4px black;
}
.hero.bribri{
background: url('../beach/images/hero_6882c7816027b_hero_bribri.jpg') center/cover no-repeat;;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 4px black; 
}

.hero h1 {
  font-size: 48px;
}
.section-title {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
}
ul.icon-links {
  list-style: none;
  padding: 0;
}
ul.icon-links li {
  margin-bottom: 10px;
  font-size: 16px;
}
ul.icon-links li i {
  color: #f26722;
  margin-right: 10px;
}
.ad-banner {
  margin-top: 30px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}
.ad-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 50px;
}
footer .social-icons i {
  margin: 0 10px;
  color: white;
}

/* Lightbox */
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.image-gallery a {
  width: calc(50% - 10px);
}
.image-gallery img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}
.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}
.lightbox:target {
  display: flex;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  text-decoration: none;
  font-weight: bold;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  padding: 0 20px;
  text-decoration: none;
}
.lightbox-prev {
  left: 10px;
}
.lightbox-next {
  right: 10px;
}
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: space-between;
}

.image-gallery figure {
  flex: 1 1 calc(25% - 10px);
  max-width: calc(25% - 10px);
  box-sizing: border-box;
  margin: 0;
  text-align: center;
}

.image-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.image-gallery figcaption {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .image-gallery figure {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
.lightbox-content {
  text-align: center;
  color: white;
}
.lightbox-caption {
  margin-top: 10px;
  font-size: 16px;
  color: #ddd;
}

.accordion {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}
.accordion-item {
  border-top: 1px solid #ddd;
}
.accordion-toggle {
  background: #f1f1f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 14px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
}
.accordion-toggle:hover {
  background: #e8e8e8;
}
.accordion-icon {
  margin-left: 10px;
}

.accordion-content,
.service-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.accordion-content.open,
.service-details.open {
  max-height: 1000px;
  opacity: 1;
}

.show-more {
  color: #007bff;
  cursor: pointer;
  font-weight: 500;
  display: inline-block;
  margin-top: 5px;
}

.service-summary {
  display: flex;
  gap: 15px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.service-summary img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}
.service-summary h4 {
  margin: 0;
  font-size: 1rem;
}
.service-summary .show-more {
  font-size: 0.85rem;
  color: #0077cc;
  margin-top: 4px;
}
.service-details {

  font-size: 0.9rem;
  margin-top: 6px;
}
.two-column-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
}
.two-column-sections .column {
  flex: 1 1 300px;
  min-width: 280px;
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  z-index: 999999;
  transition: transform .25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
