/* ============================================
   Bar II — Custom Styles
   ============================================ */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navbar scroll state */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(13, 27, 42, 0.08);
}

#navbar.scrolled .nav-link {
  color: #152638;
}

#navbar.scrolled .font-serif {
  color: #0d1b2a;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0d1b2a;
  color: #f0faf4;
  border: 2px solid #0d1b2a;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1.75rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: #152638;
  border-color: #152638;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(13, 27, 42, 0.25);
}

/* Outline button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #0d1b2a;
  border: 2px solid rgba(13, 27, 42, 0.3);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1.75rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: #0d1b2a;
  background: rgba(13, 27, 42, 0.05);
  transform: translateY(-1px);
}

/* Chip badges */
.badge-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(168, 230, 207, 0.9);
  border: 1px solid rgba(168, 230, 207, 0.2);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.badge-chip:hover {
  background: rgba(168, 230, 207, 0.15);
  border-color: rgba(168, 230, 207, 0.4);
}

/* Input fields */
.input-field {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e0efe6;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: #0d1b2a;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.input-field::placeholder {
  color: #94a3b8;
}

.input-field:focus {
  border-color: #4fc09d;
  box-shadow: 0 0 0 3px rgba(79, 192, 157, 0.15);
}

/* Mobile menu */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 1.0625rem;
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
}

.mobile-link:last-child {
  border-bottom: none;
}

/* Scroll reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Image hover zoom */
.rounded-3xl.overflow-hidden img,
.rounded-2xl.overflow-hidden img {
  transition: transform 0.5s ease;
}

.rounded-3xl.overflow-hidden:hover img,
.rounded-2xl.overflow-hidden:hover img {
  transform: scale(1.03);
}

/* Hero image float animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.absolute.bottom-8 {
  animation: float 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .absolute.bottom-8 {
    animation: none;
  }
}
