body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: 
    linear-gradient(rgba(245, 239, 230, 0.9), rgba(245, 239, 230, 0.9)),
    url('purty-wood.png') repeat;
  background-size: cover;
  color: #3d2e00;
  line-height: 1.6;
}

/* Header */
header {
  background: 
    linear-gradient(rgba(91, 60, 30, 0.8), rgba(91, 60, 30, 0.8)),
    url('purty-wood.png') center/cover no-repeat;
  color: white;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.logo-link {
  color: inherit;
  text-decoration: none;
}

h1 {
  font-size: 22px;
  margin: 0;
}

/* Nav */
nav {
  background: #fffaf5;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  border-radius: 10px;
  margin: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

nav a {
  color: #5c3a21;
  margin-right: 15px;
  margin-bottom: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav a:hover {
  background: #efe0d0;
  color: #8b5e3c;
}

.container {
  padding: 20px;
}

/* Hamburger ikoon */
.hamburger {
  font-size: 26px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.hamburger:hover {
  transform: scale(1.2);
}

/* Sidebar */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #fffaf0;
  overflow-y: auto;
  transition: 0.4s;
  padding-top: 60px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  z-index: 1000;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.sidebar form {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.sidebar h2, .sidebar h3 {
  margin-top: 0;
  color: #5c3a21;
}

.sidebar input,
.sidebar textarea,
.sidebar select,
.sidebar button {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.sidebar input:focus,
.sidebar textarea:focus,
.sidebar select:focus {
  border-color: #8b5e3c;
  box-shadow: 0 0 6px rgba(139, 94, 60, 0.3);
}

.sidebar button {
  background: linear-gradient(135deg, #8b5e3c, #5c3a21);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.sidebar button:hover {
  background: linear-gradient(135deg, #744927, #8b5e3c);
  transform: translateY(-2px);
}

/* Artiklid */
article {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
article h3 {
  margin-top: 0;
  color: #5c3a21;
}
article img {
  border-radius: 10px;
  margin: 10px 0;
  max-width: 100%;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 {
    font-size: 18px;
  }

  nav {
    margin: 10px;
    padding: 10px;
  }

  nav a {
    font-size: 14px;
    margin-right: 10px;
  }

  .container {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 16px;
  }

  .hamburger {
    font-size: 24px;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin-bottom: 5px;
  }
}
