:root{
/* colors */
--gray10: hsl(0, 0%, 10%);
--gray90: hsl(0 0% 90%);
--vihreä: #00965d;

/* landing page */
--ff: "Inter", sans-serif;
--h1: bold 4rem/1em var(--ff);
--h2: bold 3rem/1.2em var(--ff);
--h3: bold 2.25rem/1.2em var(--ff);
--h4: bold 1.5rem/1.6em var(--ff);
--big: 1.25rem/1.6em var(--ff);
--p: 1rem/1.6em var(--ff);
--small: .75rem/2em var(--ff);

/* UIs */
--h1ui: bold 3rem/1.2em var(--ff);
--h2ui: bold 2.25rem/1.2em var(--ff);
--h3ui: bold 1.5rem/1.2em var(--ff);
--h4ui: bold 1.12rem/1.6em var(--ff);
--bigui: 1rem/1.6em var(--ff);
--pui: .8rem/1.6em var(--ff);
--smallui: .75rem/1.8em var(--ff);
}


/* landing page */
h1{font: var(--h1);}
h2{font: var(--h2);}
h3{font: var(--h3);}
h4{font: var(--h4);}
.big{font: var(--big);}
p{font: var(--p);}
.small{font: var(--small);}


/* UIs */
.ui h1{font: var(--h1ui);}
.ui h2{font: var(--h2ui);}
.ui h3{font: var(--h3ui);}
.ui h4{font: var(--h4ui);}
.ui .big{font: var(--bigui);}
.ui p{font: var(--pui);}
.ui .small{font: var(--smallui);}
.ts{color: var(--gray70); }
h1,h2,h3,h4,.big,p,.small{margin: 0; margin-top: 2rem;}
.ui{margin-top: 4rem;}

* {
    font-family: var(--ff);
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.hero {
  height: 50vh;
  background-image: url("kuvat/tässsä.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  font-family: var(--ff);
  display: flex;
  align-items: flex-start; /* ylhäältä */
}
.hero-content {
    display: flex;
    width: 100%;
    justify-content: center;
    align-self: center;
}
.nav-buttons {
  position: absolute;
  top: 28px;
  right: 28px;
  display: flex;
  gap: 28px;
  z-index: 10;
}

.nav-buttons a {
  width: 111px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.nav-buttons a:hover {
  background-color: #007a4b;
}
.logo {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 380px;
  height: auto;
  z-index: 10;
}
.find-us {
  padding: 4rem 1rem;
  background: #ffffff;
  text-align: center;
}

.find-us h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--vihreä);
}

.store-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 6rem;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.store {
  flex: 1 1 45%;
  background: var(--vihreä);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  color: white;
}

.store h3 {
  margin-bottom: 0.5rem;
  color: #ffffff;
}
.store p {
    font: var(--big);
}

@media (max-width: 768px) {
  .store-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .store {
    width: 100%;
    max-width: 500px;
    text-align: center;
  }
}
.hamburger {
  display: none;
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 20;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Fullscreen mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
  transition: opacity 0.3s ease;
}

.mobile-menu.hidden {
  display: none;
}

.mobile-menu .close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-nav a {
  width: 100%;
  padding: 1.2rem 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s ease;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
  .nav-buttons {
    display: none;
  }

  .hamburger {
    display: block;
  }
}
