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

/* Hero Header */
header {
  background: url('pealdis.png') center/cover no-repeat;
  height: 60vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

header .logo img {
  max-width: 100%;   /* ei lähe üle ekraani */
  height: auto;      /* proportsioonid paigas */
  display: block;
  opacity: 1;        /* alati täielikult nähtav */
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.603));
}





header::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.151); /* hele kiht üle pildi */
}
header h1 {
  font-size: 32px;
  margin: 0;
  z-index: 1;
  letter-spacing: 3px;
  font-weight: bold;
  color: #111;
}
header p {
  z-index: 1;
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 10px;
  color: #333;
}

/* Hamburger ikoon */
.hamburger {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  color: #111;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s ease;
}
.hamburger:hover {
  transform: scale(1.2);
}

/* Nav – hele riba */
nav {
  background: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
nav a {
  color: #333;
  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: #666;
}
nav a.active {
  border-bottom: 2px solid #333;
}

/* Container ja artiklid */
.container {
  max-width: 960px;
  margin: 10px auto;
  padding: 0 20px;
}
article {
  background: #fff;
  color: #333;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
article h3 {
  margin-top: 0;
  color: #111;
  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: #fff; /* hele taust */
  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 sisu */
.sidebar form {
  padding: 20px;
  border-bottom: 1px solid #ddd;
}
.sidebar h2, 
.sidebar h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #111;
}

/* 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 #ccc;
  background: #fafafa;
  color: #111;
  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: #666;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

/* Nupud */
.sidebar button {
  background: linear-gradient(135deg, #eee, #ccc);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.sidebar button:hover {
  background: linear-gradient(135deg, #f5f5f5, #bbb);
  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.2);
  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.3);
}
