/*
 * Plobabo - Base Styles & Local Fonts
 * Include this file in all HTML templates
 */

/* Local Font Declarations */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/montserrat-light.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-semibold.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-bold.woff2') format('woff2');
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.scroll-top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: #cbbd9a;
  color: #3d3522;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  z-index: 60;
}

.scroll-top-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.scroll-top-button:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  transform: translateY(4px);
}

.scroll-top-button:focus-visible {
  outline: 2px solid #3d3522;
  outline-offset: 3px;
}

.scroll-top-button.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 640px) {
  .scroll-top-button {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
