body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #111; /* tume taust */
  color: #e0e0e0;
  line-height: 1.6;
}

/* Hero Header */
header {
  background: url('pealdis2.png') center/cover no-repeat;
  height: 60vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}
header::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(141, 0, 197, 0.158); /* tume kiht üle pildi */
}
header h1 {
  font-size: 32px;
  margin: 0;
  z-index: 1;
  letter-spacing: 3px;
  font-weight: bold;
}
header p {
  z-index: 1;
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 10px;
}

/* Hamburger ikoon */
.hamburger {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 2; /* et oleks headeri peal nähtav */
  transition: transform 0.3s ease;
}
.hamburger:hover {
  transform: scale(1.2);
}

/* Nav – must riba */
nav {
  background: #000;
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 6px 0;
  transition: color 0.3s;
}
nav a:hover {
  color: #bbb;
}
nav a.active {
  border-bottom: 2px solid #fff;
}

/* Container ja artiklid */
.container {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
}
article {
  background: #1a1a1a;
  color: #e0e0e0;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
article h3 {
  margin-top: 0;
  color: #fff;
  letter-spacing: 1px;
}
article img {
  border-radius: 6px;
  margin: 15px 0;
  max-width: 100%;
}

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

/* Sidebar sisu */
.sidebar form {
  padding: 20px;
  border-bottom: 1px solid #333; /* hall joon */
}
.sidebar h2, 
.sidebar h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Vormielemendid */
.sidebar input,
.sidebar textarea,
.sidebar select,
.sidebar button {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #222;
  color: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.sidebar input:focus,
.sidebar textarea:focus,
.sidebar select:focus {
  border-color: #aaa;
  box-shadow: 0 0 6px rgba(200,200,200,0.3);
}

/* Nupud */
.sidebar button {
  background: linear-gradient(135deg, #999, #555);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.sidebar button:hover {
  background: linear-gradient(135deg, #bbb, #666);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  header {
    height: 40vh;
  }
  header h1 {
    font-size: 24px;
  }
  nav {
    font-size: 13px;
  }
}

.gallery-block {
  margin: 20px 0;
  text-align: center;
}

.gallery-main img {
  max-width: 100%;
  max-height: 450px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  margin-bottom: 12px;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.gallery-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumbs img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}