: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 {
  min-height: 100vh;
  background-image: url("kuvat/vihdoinhyväkuva2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  display: flex;
  align-items: center;         /* keskittää pystysuunnassa */
  justify-content: flex-start; /* vasempaan laitaan */
  position: relative;
  padding-inline: clamp(1rem, 5vw, 6rem); /* reunoihin tilaa */
}
.hero-content {
  max-width: 1440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.logo {
  position: absolute;
  top: 28px;
  left: 28px;
  width: clamp(160px, 20vw, 380px);
  height: auto;
  z-index: 10;
}

.hero-text {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hero-text h1 {
  font: var(--h1);
  text-wrap: balance;
}

.hero-text p {
  font: 1.75rem/1.4em var(--ff);
  margin-top: 0.75rem;
}
.nav-buttons {
  position: absolute;
  top: 28px;
  right: 28px;
  display: flex;
  gap: 1rem;
  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;
}
.cta-button {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 1rem 2rem;
  background-color: var(--vihreä);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: fit-content;
}

.cta-button:hover {
  background-color: #007a4b; /* tummempi vihreä hoverissa */
}

.section-bread {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.content {
  display: flex;
  gap: 8rem;
  align-items: flex-start;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

.sel-text-bread {
  flex: 1;
  min-width: 280px;
}

.sel-text-bread h2 {
  color: #00945e;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.sel-text-bread p {
  color: #222;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.images {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 280px;
}

.top-images {
  display: flex;
  gap: 1rem;
}

.bread-image-top,
.bread-image-bottom,
.bottom-image img {
  width: 350px;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.bread-image-top {
  transform: translateY(0);
}

.bread-image-bottom {
  transform: translateY(20px); /* Slight vertical shift */
}

.bottom-image img {
  margin-top: 10px;
}
.section-cake {
  padding: 4rem 2rem;
  background-color: #ffffff; /* or a slight off-white if needed */
}

.content-cake {
  display: flex;
  gap: 8rem;
  align-items: flex-start;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

.images-cake {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 280px;
}

.top-images-cake {
  display: flex;
  gap: 1rem;
}

.cake-image-top,
.cake-image-bottom,
.bottom-image-cake img {
  width: 350px;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cake-image-top {
  transform: translateY(0);
}

.cake-image-bottom {
  transform: translateY(20px);
}

.bottom-image-cake img {
  margin-top: 10px;
}

.sel-text-cake {
  flex: 1;
  min-width: 280px;
}

.sel-text-cake h2 {
  color: #00945e;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.sel-text-cake p {
  color: #222;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.soup-lunch-section {
  background-color: #fdf8f4; /* or your secondary light tone */
  padding: 4rem 2rem;
  text-align: center;
}

.soup-content {
  max-width: 800px;
  margin: 0 auto;
}

.soup-content h2 {
  font-size: 2rem;
  color: #00945e;
  margin-bottom: 1rem;
}

.soup-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
  margin-bottom: 2rem;
}

.soup-content ul {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  color: #444;
}

.soup-content ul li {
  margin-bottom: 0.5rem;
}
.breakfast-section {
  background-color: var(--gray90); /* your secondary or soft neutral color */
  padding: 4rem 2rem;
}

.breakfast-wrapper {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
}

.breakfast-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.breakfast-text {
  flex: 1;
  min-width: 280px;
}

.breakfast-text h2 {
  font-size: 2rem;
  color: #00945e;
  margin-bottom: 1rem;
}

.breakfast-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

.breakfast-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
}
.with-image {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1rem;
  flex-direction: row; /* tämä on oletuksena: teksti vasemmalla, kuva oikealla */
}

.with-image.reverse {
  flex-direction: row-reverse; /* tämä tekee sen että kuva on vasemmalla */
}

.about-text, .about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.about-text h2 {
    font-size: 2rem;
}
.about-text p {
    font-size: 1.2rem;
}
.about-with-image {
    background-color: #bcbcbc;
}
.about-text h2 {
    color: var(--vihreä);
}
.map-section {
  padding: 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.map-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--vihreä);
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.site-footer {
  background-color: var(--vihreä);
  color: var(--scn-color);
  padding: 2rem 1rem;
  font-size: 1.1rem;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-top: 10rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 2rem;
  text-align: left;
  border-left: 1px solid #007a4f;
  border-right: 1px solid #007a4f;
  padding-left: 1rem;
  padding-right: 1rem;
}


.footer-container h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  border-bottom: 2px solid #ffffff50; /* subtle underline for headers */
  padding-bottom: 0.3rem;
  color: var(--gray90);
}

.footer-container p,
.footer-container a {
  margin-bottom: 0.6rem;
  color: #ffffff;
  text-decoration: none;
  display: block;
}

.footer-container a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .hero {
    height: auto;
    background-position: center 25%;
    align-items: center;
    text-align: center;
    padding-block: 4rem;
  }

  .hero-content {
    padding-inline: 1.5rem;
    padding-block-start: 4rem;
    align-items: center;
    margin-top: 0;
  }

  .hero-text {
    max-width: 90%;
    align-items: center;
  }

  .hero-text h1 {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }

  .hero-text p {
    font-size: 1.25rem;
  }

  .nav-buttons {
    top: 16px;
    right: 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-buttons a {
    width: auto;
    padding-inline: 1rem;
    font-size: 0.9rem;
    height: auto;
  }

  .logo {
    top: 16px;
    left: 16px;
    width: clamp(120px, 30vw, 200px);
  }
}
.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;
  }
}
@media (max-width: 768px) {
  .content,
  .content-cake,
  .breakfast-wrapper,
  .with-image {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
  }

  .sel-text-bread,
  .sel-text-cake,
  .breakfast-text,
  .about-text {
    padding: 0 1rem;
  }

  .top-images,
  .top-images-cake {
    flex-direction: column;
    align-items: center;
  }

  .bread-image-top,
  .bread-image-bottom,
  .cake-image-top,
  .cake-image-bottom,
  .bottom-image img,
  .bottom-image-cake img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .about.with-image.reverse {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

  .site-footer {
    padding: 3rem 1rem;
  }

  .footer-container > div {
    margin-bottom: 2rem;
  }

  .footer-bottom {
    margin-top: 2rem;
  }
}
