.site-header{
  background:url('/images/header-bg.png') center/cover no-repeat;
  min-height:180px;
  position: relative;
}
.home-link {
    display: block;
    width: 450px;   /* logo ligikaudne laius */
    height: 120px;  /* logo ligikaudne kõrgus */
    margin-left: 220px;
    max-width: 100%;
}
h3 {
  /*font-weight: 600;
  color: #6c757d; /* bootstrap secondary */
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;*/

  font-weight: 600;
  color: var(--bs-secondary);
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  padding-bottom: 4px;  
  border-bottom: 2px solid #e9ecef;
}
/* ===== LANGUAGE SWITCH ==== */
.top-bar{
  padding: 4px 0;
  font-size: 13px;
  background: rgba(255,255,255,0.6); /* kui tahad nähtavust */
}

.language-switch a{
  color: #2e7d32;
  text-decoration: none;
  font-weight: 600;
}

.language-switch a:hover{
  color: #1b5e20;
}

.language-switch .active{
  font-weight: 700;
  color: #000;
}
/* ===== HORISONTAL MENU ===== */
.main-menu{
  background:linear-gradient(180deg,#bfe67a 0%, #a8d85f 35%, #7fc241 100%);
}
/* main menu hover */
.navbar-nav .nav-link{
  border-radius:8px;
  padding-top:0.1rem;
  padding-bottom:0.1rem;
}
.navbar-nav .nav-link:hover{
  background:#cfeea3;
  border-radius:8px;
}
.navbar-toggler-icon{
background-image: var(--bs-navbar-toggler-icon-bg);
}
/* dropdown improvements */
.dropdown-menu{
  padding:8px 0;
  border-top:3px solid #7fc241;
  border-radius:0 0 8px 8px;
  box-shadow:0 .5rem 1rem rgba(0,0,0,.15);
  animation:fadeIn .18s ease-in;
}
.dropdown-item{
  padding:12px 20px;
  font-size:1.1rem;
}
.dropdown-item:hover{
  background:#e8f6c7;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-item + .breadcrumb-item::before{
  content: ">";
}
.breadcrumb-item + .breadcrumb-item::before{
  content: ">";
  color:#6c757d;
}
.breadcrumb a{
  color:#495057;
}
.breadcrumb a:hover{
  color:#212529;
  text-decoration:underline;
}
.breadcrumb-item.active{
  color:#212529;
  font-weight:600;
}

/* ====IMG GALLERY ==== */
.gallery-img {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.gallery-img:hover {
  transform: scale(1.03);
}
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  border: none;
  background: rgba(0,0,0,0.4);
  color: white;
  padding: 5px 12px;
  cursor: pointer;
}
.gallery-prev {
  left: 10px;
}
.gallery-next {
  right: 10px;
}

/* ===== RIGHT SIDEBAR ===== */
.sidebar-nav .nav-link{
  color:#212529;
  opacity:0.8;
  border-radius:8px;
  padding:0.35rem 0.5rem;
}
.sidebar-nav .nav-link:hover{
  background:#cfeea3;
  color:#212529;
}
@keyframes fadeIn{
  from{opacity:0;transform:translateY(-5px)}
  to{opacity:1;transform:translateY(0)}
}
/* ==== CONTACT LINK PHONE/EMAIL ==== */
.contact-link,
.external-link {
  color: #2e7d32;
  text-decoration: none;
  font-weight: 500;
}
.contact-link:hover,
.external-link:hover {
  text-decoration: underline;
}
/* ==== FORM FIELDS ==== */
.form-control,
.form-select {
    border-color: #adb5bd;
}

/* ===== FOOTER ===== */
.site-footer{
  background:url('images/footer-bg.png') center/cover no-repeat;
}

/* ===== PROJECT CARDS ===== */
.project-card{
border:1px solid #dee2e6;
border-radius:12px;
overflow:hidden;
transition:all 0.25s ease;
}
/* hover efekt */
.project-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}
/* pildi ala */
.project-image{
height:180px;
overflow:hidden;
}
/* pilt */
.project-image img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .3s ease;
}
/* zoom hoveril */
.project-card:hover img{
transform:scale(1.05);
}
/* tekst */
.project-card .card-body{
padding:20px;
}
/* link */
.project-link{
text-decoration:none;
font-weight:600;
color:#198754;
}
.project-link:hover{
text-decoration:underline;
}

/* ==== HOMEPAGE ====*/
.home-hero {
  padding: 1rem 1.25rem;
}
.home-title {
  font-size: 1.8rem;
  border-left: 5px solid #7fc241;
  padding-left: 12px;
}
.home-img {
  height: 190px;
}
.home-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==== FB ====*/
#fb-widget {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
}

#fb-widget .fb-page,
#fb-widget .fb-page span,
#fb-widget iframe {
    max-width: 100%;
}

/* ===== MOBILE ===== */
@media (max-width:768px){
  .site-header{
    height:90px;
    min-height:90px;
    background-size:cover;
  }
  .home-link {
        width: 220px;
        height: 100px;
        margin-left: 0px;
    }
}