:root {
  --primary-color: #ffffff;
  --bg-dark: rgba(0, 0, 0, 0.4);
  --glass-bg: rgba(20, 20, 20, 0.6);
  --glass-border: rgba(255, 255, 255, 0.15);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: #000;
  color: var(--primary-color);
  overflow: hidden; /* Prevents scrolling */
}

#app {
  display: flex;
  flex-direction: column;
  height: 100dvh; /* Mobile viewport height */
  width: 100vw;
  position: relative;
}

/* Background layers */
#bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 4s ease-out;
  transform: scale(1.05);
}

.bg-img.active {
  opacity: 1;
  transform: scale(1);
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
}

/* Header */
header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lang-toggle {
  display: flex;
  background: var(--glass-bg);
  border-radius: 20px;
  padding: 4px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.lang-toggle button {
  background: transparent;
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lang-toggle button.active {
  background: rgba(255, 255, 255, 0.2);
}

/* Main Content area */
main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.nav-btn {
  background: var(--glass-bg);
  color: white;
  border: 1px solid var(--glass-border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-btn:active {
  transform: scale(0.9);
  background: rgba(255, 255, 255, 0.3);
}

.content-box {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  margin: 0 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.content-box.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

#dest-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

#dest-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: #eaeaea;
}

/* Pagination Indicators */
.indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* Footer */
footer {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
  text-align: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-link:active {
  transform: scale(0.96);
}

.icon {
  font-size: 1.1rem;
}

/* Desktop layout enhancements */
@media (min-width: 768px) {
  .content-box {
    max-width: 500px;
    margin: 0 auto;
  }
  
  #dest-title {
    font-size: 2.5rem;
  }

  .nav-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}