/* ============================================
   Main Styles — 7th Street
   ============================================ */

@font-face {
  font-family: 'Bulo';
  src: url('/assets/woff/Bulo.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bulo';
  src: url('/assets/woff/Bulo Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-red: #CC2D4B;
  --color-dark-red: #822235;
  --color-green: #368879;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray: #E8EFF0;

  --color-text: #2d2d2d;
  --color-text-light: #6b6b6b;
  --color-text-inverse: #ffffff;

  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f3;
  --color-bg-dark: #1a1a2e;

  --color-border: #e0dcd8;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Bulo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;

  --header-height: 80px;
  --border-radius: 24px;
  --transition-speed: 0.3s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}


.mobile-only {
  display:none;
}

/* --- Typography --- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2, h2 * { 
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height:90%; 
  font-weight:900;
}
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5, h5 * {
  text-transform:uppercase;
  font-size:clamp(0.8rem, 2.5vw, 1.075rem);
}

p {
  margin-bottom: 1em;
  text-transform:uppercase;
}

a {

}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Layout --- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width:100%;
  padding-left: var(--space-md);
  padding-right: var(--space-md);

  &.narrow {
    max-width: var(--max-width-narrow);
  }

  &.wide {
    max-width: var(--max-width-wide);
  }
}

/* --- Page --- */

.page {
  padding-bottom: 0;

  & > .title {
    margin-bottom: var(--space-md);
  }

  & > .intro {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: var(--max-width-narrow);
    margin-bottom: var(--space-lg);
  }

  & > .blocks {
    
  }
}

/* --- Buttons --- */

.btn {
  display: inline-block;
  padding: 0.25rem 1rem;
  font-size: 0.8rem;
  text-decoration: none;
  white-space:nowrap;
  outline:none;
  
  cursor: pointer;
  transition:  0.2s ease-out;
  border-radius: 100px;


  text-transform: uppercase;
  font-weight: 800;
  position:relative;
  

  box-shadow: 3px 3px 0px var(--color-white);
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: var(--color-red);


  &:hover {
    background: var(--color-dark-red);
    transform:translateX(2px) translateY(2px);
    box-shadow: 1px 1px 0px  var(--color-white);
  }

  /* &:hover:before {
    height: calc(100%);
    width: calc(100%);
  } */


  &.white {
    border: 2px solid var(--color-red);
    color: var(--color-black);
    background: var(--color-white);
    box-shadow: 3px 3px 0px var(--color-red);
  }
  &.white:hover {
    background: var(--color-gray);
    transform:translateX(2px) translateY(2px);
    box-shadow: 1px 1px 0px  var(--color-red);
  }


}

/* --- Hero (Homepage) --- */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-color: var(--color-red);
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);

  & .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
  }

  & .content {
    position: relative;
    z-index: 1;
  }

  & .title {
    color: var(--color-text-inverse);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 0.5em;
  }

  & .subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  & .cta {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
  }
}


@media screen and (max-width:800px){
  .mobile-only {
    display:block;
  }
  .mobile-only.flex {
    display:flex;
  }
  .desktop-only {
    display:none!important;
  }
}