/* ── Fonts ── */
@font-face {
  font-family: 'Bearwood';
  src: url('https://www.sola.cafe/assets/fonts/SFC-Bearwood.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gelasio';
  src: url('https://www.sola.cafe/assets/fonts/Gelasio-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'HankenGrotesk';
  src: url('https://www.sola.cafe/assets/fonts/HankenGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'HankenGrotesk';
  src: url('https://www.sola.cafe/assets/fonts/HankenGrotesk-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

/* ── Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'HankenGrotesk', sans-serif;
  font-weight: 300;
}

h1, h2 {
  font-family: 'Bearwood', serif;
}

p {
  font-family: 'HankenGrotesk', sans-serif;
  font-weight: 300;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 2rem;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: white !important;
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

/* Brand: wolf left, "Sola" fades in beside it on desktop */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.navbar-brand img {
  height: 36px;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.navbar.scrolled .navbar-brand img {
  filter: brightness(0);
}

.navbar-brand .brand-name {
  font-family: 'Bearwood', serif;
  font-size: 1.75rem; /* 125% of previous 1.4rem */
  letter-spacing: 0.1em;
  color: white;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease;
  pointer-events: none;
  line-height: 1;
}

.navbar.scrolled .navbar-brand .brand-name {
  opacity: 1;
  transform: translateX(0);
  color: #1a0a00;
}

/* Nav links */
.nav-link {
  font-family: 'Gelasio', serif;
  font-weight: 500;
  font-size: 1rem; /* 125% of previous 0.8rem */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white !important;
  margin: 0 0.4rem;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.4s ease;
  /* Align baseline with contact button text */
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
  line-height: 1;
}

.navbar.scrolled .nav-link {
  color: #1a0a00 !important;
}

.nav-link:hover {
  opacity: 1;
}

/* Contact button — baseline-aligned with nav links */
.btn-contact {
  font-family: 'Gelasio', serif;
  font-weight: 500;
  font-size: 0.94rem; /* 125% of previous 0.75rem */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  border: 1.5px solid white;
  border-radius: 2px;
  /* Use padding-top/bottom so the border box sits with baseline aligned to nav links */
  padding: 0.35rem 1.2rem;
  margin-left: 1rem;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: flex-end;
  transition: background 0.2s, color 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled .btn-contact {
  color: #1a0a00;
  border-color: #1a0a00;
}

.btn-contact:hover {
  background: white;
  color: #1a0a00;
}

.navbar.scrolled .btn-contact:hover {
  background: #1a0a00;
  color: white;
}

/* Align nav items to baseline */
.navbar-nav.ms-auto {
  align-items: flex-end !important;
}

/* ── Hamburger toggler ── */
.navbar-toggler {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  padding: 0.3rem 0.5rem;
  background: transparent;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible,
.navbar-toggler:active {
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.navbar.scrolled .navbar-toggler {
  border-color: rgba(26, 10, 0, 0.5);
}

.navbar.scrolled .navbar-toggler-icon {
  filter: brightness(0);
}

/* Toggler inverts on open — always dark icon on white */
.navbar-toggler[aria-expanded="true"] {
  background: white;
  border-color: white;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  filter: brightness(0);
}

/* ── Mobile menu — always white background, always dark text ── */
@media (max-width: 991px) {
  /* "Sola" brand name: centre of navbar, wolf stays left */
  .navbar-brand {
    position: relative;
    flex: 1;
  }

  .navbar-brand .brand-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateX(-6px);
    white-space: nowrap;
  }

  .navbar.scrolled .navbar-brand .brand-name {
    transform: translateX(-50%);
  }

  /* Mobile collapsed menu: always white */
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    background: white;
    padding: 1rem 1.5rem 1.5rem;
    margin-top: 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }

  /* Right-align items */
  .navbar-nav {
    width: 100%;
    align-items: flex-end !important;
  }

  .nav-item {
    width: 100%;
    text-align: right;
  }

  /* Always dark text in mobile menu regardless of scroll */
  .navbar-nav .nav-link,
  .navbar.scrolled .navbar-nav .nav-link {
    color: #1a0a00 !important;
    display: block;
    width: 100%;
    text-align: right;
    padding-right: 0;
  }

  .btn-contact,
  .navbar.scrolled .btn-contact {
    color: #1a0a00 !important;
    border-color: #1a0a00 !important;
    margin-left: 0;
    margin-top: 0.5rem;
    display: inline-block;
  }

  .btn-contact:hover,
  .navbar.scrolled .btn-contact:hover {
    background: #1a0a00;
    color: white !important;
  }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('assets/images/coffee-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Equal gap between wolf → h1 → p using row-gap */
  gap: 1.2rem;
}

.hero-content .wolf-logo {
  height: 120px;
  filter: brightness(0) invert(1);
  /* No margin needed — gap handles spacing */
}

.hero-content h1 {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
}

.hero-content p {
  font-family: 'Gelasio', serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.7;
}