/* /rebuild/assets/css/base.css */

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight:300;
  line-height: 1.6;
  color: #222;
  background-color: #f5f5f7;
}

/* Color tokens – tweak to match final brand */
:root {
  --skishack-bg-dark: #071522;
  --skishack-bg-darker: #030b12;
  --skishack-accent: #0ea5e9;
  --skishack-accent-soft: #e0f5ff;
  --skishack-text-main: #222222;
  --skishack-text-muted: #6c757d;
  --skishack-border-soft: #e1e4ea;
  --skishack-white: #ffffff;
}

/* Links */
a {
  color: var(--skishack-accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: "Bangers", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin-top: 0;
  margin-bottom: .75rem;
  line-height: 1.2;
  color: var(--skishack-bg-dark);
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Layout shell */
.skishack-body {
  background-color: var(--skishack-bg-darker);
}

.page {
  min-height: 100vh;
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

/* Generic section spacing */
section {
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  section {
    padding: 4rem 2rem;
  }
}
@media (max-width: 768px) {

  /* show hamburger */
  .topnav li.icon {
    display: block;
    text-align:right !important;
  }

  /* collapse menu initially */
  .topnav li:not(.icon) {
    display: none;
  }

  /* drawer open state */
  .topnav.open li {
    display: block;
    width: 100%;
    text-align: left;
  }

  .topnav.open li a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
}

