/* Yleisasetukset */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
}

/* Navigointipalkki */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 20%;
  height: 100vh;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.sidebar li {
  margin: 20px 0;
}

.sidebar a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.sidebar a:hover {
  color: #444;
}

/* Pääsisältö */
main {
  margin-left: 20%;
  padding: 0;
}

/* Hero-osio */
.hero {
  position: relative;
  background: linear-gradient(to bottom, #ffffff, #f0f0f0);
  padding: 200px 20px;
  overflow: hidden;
  min-height: 400px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 60%;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

/* Liikkuvat kuviot */
.shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  width: 30px;
  height: 30px;
  opacity: 0.15;
  animation: float 10s infinite ease-in-out;
}

.square {
  background-color: #000;
}

.circle {
  background-color: #000;
  border-radius: 50%;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 30px solid #000;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-50px) rotate(180deg);
  }
  100% {
    transform: translateY(0) rotate(360deg);
  }
}

/* Info-boksit */
.info-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px;
  background-color: #fafafa;
}

.info-box {
  flex: 1;
  max-width: 250px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-family: sans-serif;
  text-align: center;
}

/* Pääsisältöosio */
.main-content {
  background: linear-gradient(to bottom, #f0f0f0, #e0e0e0);
  padding: 60px 0;
}

.main-box {
  background: #fff;
  padding: 40px;
  margin: 0 auto;
  max-width: 800px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 12px;
}

.main-box h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.main-box p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

/* Takaisin ylös -nappi */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background-color: #000;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 99;
}

#scrollTopBtn:hover {
  background-color: #333;
}

.contact-section {
  background-color: #222;
  padding: 80px 20px;
  color: #fff;
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
  background-color: #333;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  text-align: center;
}

.contact-box h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
    font-family: 'Open Sans', sans-serif;

}

.contact-box p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  text-align: left;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #ddd;
}








.shop-intro {
  max-width: 900px;
  margin: 40px auto 20px;
  padding: 0 20px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

.shop-intro h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.shop-intro p {
  font-size: 1.25rem;
  color: #333;
}

.shop-grid {
  display: flex;
  flex-wrap: wrap; /* sallii rivittymisen */
  justify-content: space-between;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.shop-box {
  flex: 0 0 30%; /* vakioleveys 30% */
  max-width: 30%;
  min-width: 220px;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  color: #111;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
}

/* Mobiilissa alle 600px: 1 laatikko per rivi */
@media (max-width: 599px) {
  .shop-box {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.shop-box h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.shop-box p {
  font-size: 1rem;
  line-height: 1.4;
}

.shop-box:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transform: translateY(-6px);
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding-top: 20px;
}

.product {
  text-align: center;
  max-width: 300px;
  background: #fdfdfd;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.product:hover {
  transform: scale(1.03);
}

.buy-button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #0073e6;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.buy-button:hover {
  background-color: #005bb5;
}