/* Container and Layout */
.container {
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Mobile/Desktop Toggle */
.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

/* Mobile Header */
.header {
  padding: 20px;
  text-align: center;
  background: transparent;
  position: relative;
}

.logo {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
  margin: 0 auto;
}

/* Hamburger Menu */
.hamburger {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #ff8c69;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active {
  opacity: 0;
  pointer-events: none;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 70px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  will-change: transform;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 36px;
  color: #ff8c69;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.mobile-nav-close:hover {
  background: rgba(255, 140, 105, 0.1);
}

.mobile-nav-close:active {
  transform: scale(0.9);
}

.mobile-nav.active {
  transform: translateX(0);
}

/* Desktop Navigation */
.desktop-nav {
  background: transparent;
  padding: 20px 30px;
}

.desktop-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.desktop-logo {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
}

.desktop-nav-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.4, 0.0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-btn {
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: linear-gradient(135deg, #fff5eb 0%, #f0f9f8 100%);
  color: #2c5f5d;
  font-family: 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: left;
}

.nav-btn:focus-visible {
  outline: 3px solid #5ebdb8;
  outline-offset: 2px;
}

.nav-btn.active {
  background: linear-gradient(135deg, #ff9a76 0%, #ffd89b 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 154, 118, 0.3);
}

.nav-btn:active {
  transform: scale(0.95);
}

/* Content Area */
.content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  margin-top: 0;
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-link {
  background: none;
  border: none;
  color: #5ebdb8;
  font-family: 'Noto Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 4px 0;
}

.footer-link:hover {
  color: #ff8c69;
  text-decoration: underline;
}

.footer-divider {
  color: #5a9997;
  font-size: 12px;
  opacity: 0.5;
}

.footer p {
  font-size: 13px;
  color: #5a9997;
  margin: 0;
}

.section {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  will-change: opacity, transform;
}

.section.active {
  display: block;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

/* Responsive */
@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .desktop-nav-buttons .nav-btn {
    padding: 12px 24px;
    font-size: 14px;
    min-height: 44px;
    border-radius: 25px;
    text-align: center;
    width: auto;
  }
  
  .desktop-nav-buttons .nav-btn.active {
    transform: none;
  }

  .nav-overlay {
    display: none;
  }

  .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
  }
}