/* Global font */
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f9fafb;
  background-image: url("/loveland-mountains.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Overlay (transparent panel over your mountain background) */
.page-overlay {
  min-height: 100vh;
  padding: 80px 16px 32px; /* 80px to clear fixed topbar */
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: flex-start;
}

/* Shared hero styles (can be used on home and about) */
.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #e5e7eb;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

/* About page layout */
.about {
  max-width: 960px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.about-card {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.about-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e5e7eb;
}

/* Buttons */
.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Active nav link */
.topbar-link--active {
  border-bottom: 2px solid #22c55e;
}

/* Larger screens */
@media (min-width: 768px) {
  .page-overlay {
    padding: 96px 32px 40px;
  }

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Top bar container */
.topbar {
  position: fixed;           /* stays at top when scrolling */
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;

  background: rgba(15, 23, 42, 0.8);          /* darker, more solid */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

/* Logo text */
.topbar-logo {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hamburger button */
.hamburger {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #f9fafb;
  border-radius: 999px;
}

/* Menu (hidden by default on small screens) */
.topbar-menu {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.95);
  padding: 8px 16px 12px;
}

.topbar-menu.is-open {
  display: flex;
}

.topbar-link {
  color: #e5e7eb;
  text-decoration: none;
  padding: 6px 0;
  font-size: 0.95rem;
}

.topbar-link:hover {
  color: #22c55e;
}

.topbar-link--active {
  color: #22c55e;
}

/* Desktop: inline menu, no hamburger */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .topbar {
    height: 64px;
    padding: 0 32px;
  }

  .topbar-menu {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: transparent;
    padding: 0;
    gap: 1.5rem;
  }

  .topbar-link {
    padding: 0;
    font-size: 0.95rem;
  }
}

/* Make room for the fixed bar */
.page-overlay {
  padding-top: 80px;   /* must be > .topbar height */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.contact-form label {
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.45rem 0.6rem;
  font-family: inherit;
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.7);
  color: #f9fafb;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #22c55e;
  outline-offset: 1px;
}
