/* ======================
   Base Styles
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Open Sans', sans-serif;
  height: 80%;
  width: 80%;
  padding: 40px 20px;
  background-color: #fdf9f5;
  justify-content: center;
  align-items: center;
  margin: auto;
}

ul {
  margin-left: 20px;
}

/* ======================
   Header
====================== */
header {
  position: relative;
  color: white;
  background: #fdf9f5;
}

/* ======================
   Video Embeds
====================== */
.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.responsive-map {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ======================
   Hero Section
====================== */
.hero-content {
  position: absolute;
  top: 50%;
  left: 72.5%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
  background: rgba(0, 0, 0, 0.4);
  padding: 30px 60px;
  border-radius: 10px;
}

.hero-content h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 60px;
}

.hero-content h2 {
  font-size: 24px;
  font-family: 'Great Vibes', cursive;
  font-weight: normal;
  margin-top: 10px;
}

.hero-content p {
  margin: 15px 0;
  font-size: 14px;
  opacity: 0.8;
}

.hero-content button {
  padding: 12px 30px;
  font-size: 14px;
  background: transparent;
  color: white;
  border: 1px solid white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-content button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ======================
   Sections
====================== */
.section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

.section h3 {
  font-size: 28px;
}

h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  line-height: 1.6;
}

h2[id]::before {
  content: '';
  display: block;
  height: 80px; /* Adjust based on your navbar height */
  margin-top: -20px;
  visibility: hidden;
}

/* ======================
   Swiper Styles
====================== */
.swiper {
  width: 100%;
  max-width: 100%; /* or 900px if you want to limit width */
  padding-top: 20px;
  padding-bottom: 40px;
  overflow: visible;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: #fff;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  box-sizing: border-box;
  padding: 20px;
  width: 100%;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-caption {
  padding: 15px;
  font-size: 15px;
  background: #f0f0f0;
}

.slide-description {
  line-height: 1.5;
}

.subtext {
  font-size: 12px;
  color: #888;
}

/* ======================
   Navigation
====================== */
.desktop-only {
  display: flex;
}

nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.nav-desktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgb(128, 128, 128);
}

.nav-desktop .logo {
  font-family: 'Great Vibes', cursive;
  font-size: 28px;
  color: white;
}

.nav-desktop ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-desktop ul li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.3s ease;
}

.nav-desktop ul li a:hover {
  opacity: 0.7;
}


/* ======================
   Dropdown Submenus
====================== */

/* Base submenu style - hidden by default */
.nav-desktop .submenu {
  display: none;
  position: absolute;
  background-color: #fff;
  padding: 10px 0;
  list-style: none;
  top: 100%;
  left: 0;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
}

/* Style submenu items */
.nav-desktop .submenu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

/* Hover effect for submenu items */
.nav-desktop .submenu li a:hover {
  background-color: #f0f0f0;
}

/* Show submenu on hover */
.nav-desktop .has-submenu {
  position: relative;
}

.nav-desktop .has-submenu:hover .submenu {
  display: block;
}

.nav-mobile .submenu {
  display: block; /* always show for now */
  padding-left: 15px;
}

.nav-mobile .submenu li a {
  font-size: 14px;
  color: #ccc;
}


/* ======================
   Mobile Navigation
====================== */
.nav-mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgb(128, 128, 128);
  position: relative;
}

.nav-mobile .logo {
  font-family: 'Great Vibes', cursive;
  font-size: 28px;
  color: white;
}

.hamburger {
  font-size: 28px;
  color: white;
  cursor: pointer;
  user-select: none;
  position: absolute;
  right: 20px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99;
  padding: 10px 0;
}

.mobile-menu li {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: block;
}

.mobile-menu li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
  display: none;
}

.mobile-menu.show {
  display: flex;
}

/* Responsive Adjustments */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
    flex-direction: column;
  }

  .nav-mobile {
    flex-direction: row;
  }
  
  .swiper-slide {
    max-width: 800px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  body, html {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
  }
}
