
    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      transition: 0.3s;
    }

    body.dark {
      background: #0f172a;
      color: white;
    }

    body.light {
      background: #f5f5f5;
      color: #111;
    }

    .nav {
      position: sticky;
      top: 0;
      display: flex;
      justify-content: space-between;
      padding: 15px 20px;
      background: rgba(0,0,0,0.4);
      backdrop-filter: blur(10px);
      z-index: 1000;
    }

    .nav a {
      color: inherit;
      margin: 0 10px;
      text-decoration: none;
      font-weight: bold;
    }

    .nav button {
      padding: 6px 12px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
    }

    section {
      padding: 40px 20px;
      max-width: 900px;
      margin: auto;
    }

    h1, h2 { text-align: center; }

   .hero h1 {
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 10px;
}

    button.main {
      padding: 12px 20px;
      border: none;
      border-radius: 10px;
      background: #3b82f6;
      color: white;
      cursor: pointer;
      margin-top: 10px;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 10px;
    }

    .gallery img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 10px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .gallery img:hover {
      transform: scale(1.05);
    }

    .lightbox {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.9);
      justify-content: center;
      align-items: center;
      z-index: 2000;
    }

    .lightbox img {
      max-width: 90%;
      max-height: 80%;
      border-radius: 10px;
    }

    body {
  transition: background 0.3s ease, color 0.3s ease;
}
.gallery img {
  transition: transform 0.2s ease;
}
/* HERO center tuning */
.hero {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* SPLIT SECTION */
.split {
  display: flex;
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}

/* BOX DESIGN */
.split-box {
  flex: 1;
  padding: 20px;
  border-radius: 15px;
  background: transparent;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* IMAGE */
.split-box img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.split-box img:hover {
  transform: scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .split {
    flex-direction: column;
  }
}
/* CONTACT FORM */
#contact {
  max-width: 560px;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: inherit;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border 0.2s;
  outline: none;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #3b82f6;
}

body.light #contactForm input,
body.light #contactForm textarea {
  background: #fff;
  border-color: #ddd;
}

#contactForm textarea {
  min-height: 120px;
  resize: vertical;
}

#contactForm button[type=submit] {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #3b82f6;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

#contactForm button[type=submit]:hover {
  background: #2563eb;
}

#contactForm button[type=submit]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* peida Turnstile widget visuaalselt, token tuleb ikka kaasa */
.cf-turnstile {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
}