@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;600;700&display=swap');

body {
  font-family: 'Merriweather', serif;
  margin: 0;
  padding: 0;
  background: #f5f3f0; /* hele taust */
  color: #2b2b2b;
  line-height: 1.7;
}

/* Header */
header {
  background: linear-gradient(135deg, #3e2723, #6d4c41);
  color: #fdfcfb;
  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 8px rgba(0,0,0,0.3);
}

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

h1 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
}

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

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

nav a:hover {
  background: #efebe9;
  color: #3e2723;
}

.container {
  padding: 20px;
}

/* Hamburger ikoon */
.hamburger {
  font-family: Arial, sans-serif; /* hoiab ☰ kindlalt kuju */
  font-size: 28px;
  cursor: pointer;
  transition: transform 0.3s ease;
  line-height: 1;
}
.hamburger:hover {
  transform: scale(1.2);
}

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

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

.sidebar h2, .sidebar h3 {
  margin-top: 0;
  color: #5d4037;
  font-weight: 700;
}

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

.sidebar input:focus,
.sidebar textarea:focus,
.sidebar select:focus {
  border-color: #795548;
  box-shadow: 0 0 6px rgba(121,85,72,0.4);
}

.sidebar button {
  background: linear-gradient(135deg, #3e2723, #6d4c41);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.sidebar button:hover {
  background: linear-gradient(135deg, #2c1b18, #5d4037);
  transform: translateY(-2px);
}

/* Artiklid */
article {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
article h3 {
  margin-top: 0;
  color: #4e342e;
  font-size: 22px;
  font-weight: 700;
}
article p {
  font-size: 16px;
}
article img {
  border-radius: 10px;
  margin: 10px 0;
  max-width: 100%;
}

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

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

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

  .container {
    padding: 15px;
  }
}

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

  .hamburger {
    font-size: 26px;
  }

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

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