/* Perusasetukset */
body {
  background: linear-gradient(#e6f2ff, #ffffff);
  font-family: "Verdana", sans-serif;
  color: #222;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}
html, body {
  height: 100%;
}

/* Rakenne */
#container {
  width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #bcd8ef;
  box-shadow: 0 0 10px rgba(150, 180, 210, 0.3);
}

/* Banneri */
#banneri {
  width: 100%;
  display: block;
  border-bottom: 2px solid #bcd8ef;
  height: 300px;
}

/* Navigaatio */
nav {
  background: #cde4fa;
  border-bottom: 2px solid #a5c9e8;
}

.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.menu li {
  position: relative;
}

.menu li a {
  display: block;
  padding: 12px 20px;
  color: #1f4f7a;
  text-decoration: none;
  font-weight: bold;
}

.menu li a:hover {
  background: #bcd8ef;
}

/* Alavalikot */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #eaf4ff;
  min-width: 160px;
  z-index: 1;
  list-style-type: none;
  border: 1px solid #bcd8ef;
  border-radius: 0 0 6px 6px;
}

.dropdown-content li a {
  padding: 10px;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Sivupalkit ja sisältöalue */
#content {
  display: flex;
  justify-content: space-between;
  background: #ffffff;
}

/* Vasen sivupalkki */
#left {
  width: 200px;
  background: #f4f9ff;
  border-right: 1px solid #cde4fa;
  padding: 15px;
  box-sizing: border-box;
}

#left h3 {
  color: #2b6ea7;
  border-bottom: 1px solid #cde4fa;
  padding-bottom: 5px;
}

#left ul {
  list-style-type: none;
  padding-left: 0;
}

#left ul li {
  margin: 5px 0;
}

#left a {
  color: #2c6eab;
  text-decoration: none;
}

#left a:hover {
  text-decoration: underline;
}

/* Oikea sivupalkki */
#right {
  width: 200px;
  background: #f4f9ff;
  border-left: 1px solid #cde4fa;
  padding: 15px;
  box-sizing: border-box;
}

#right h3 {
  color: #2b6ea7;
  border-bottom: 1px solid #cde4fa;
  padding-bottom: 5px;
}

#right ul {
  list-style-type: none;
  padding-left: 0;
}

#right a {
  color: #2c6eab;
  text-decoration: none;
}

#right a:hover {
  text-decoration: underline;
}

.mini {
  width: 90%;
  border: 1px solid #cde4fa;
  margin: 5px 0;
  border-radius: 5px;
}

/* Pääsisältö */
main {
  flex: 1;
  padding: 20px;
  background: #ffffff;
}

main h1 {
  color: #347bbd;
  margin-top: 0;
}

main h2 {
  color: #2c6eab;
  border-bottom: 1px solid #bcd8ef;
  padding-bottom: 5px;
}

/* Kuvien tyyli */
.kuva {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 2px solid #cde4fa;
}

/* 📰 Uutiset */
.news {
  background: #f2f8fe;
  border: 1px solid #cde4fa;
  padding: 15px;
  margin-top: 20px;
  border-radius: 6px;
}

.news h2 {
  color: #347bbd;
  border-bottom: 2px solid #bcd8ef;
  padding-bottom: 5px;
}

.news-item {
  margin-bottom: 15px;
}

.news-item h3 {
  margin: 0;
  color: #2c6eab;
}

/* 🌐 Some-kuvakkeet */
.socials {
  margin: 10px 0 20px 0;
}

.socials img {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border-radius: 8px;
  border: 1px solid #c8e1f5;
  transition: transform 0.2s;
}

.socials img:hover {
  transform: scale(1.1);
  border-color: #70aee0;
}

/* Päivityslista */
.updates {
  list-style-type: none;
  padding: 0;
}

.updates li {
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: #cde4fa;
  color: #1f4f7a;
  text-align: center;
  padding: 10px;
  font-size: 0.9em;
  border-top: 2px solid #a5c9e8;
}