﻿body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  font-size: clamp(11px, 11px+0,25vw, 16px)
}

/* ЧЕРНА ЛЕНТА (navbar) */
.navbar {
  background-color: #1a1a1a;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}


.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  margin-left: auto;
}

.navbar-menu {
  list-style: none;
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.navbar-menu li {
  position: relative;
}

.navbar-menu a {
  text-decoration: none;
  color: white;
  padding: 10px;
  display: block;
}
.navbar-menu span {
  text-decoration: none;
  color: white;
  padding: 10px;
  display: block;
}

.navbar-menu a:hover {
  color: #90ee90; /* светлозелено — може да го смениш с друг тон */
}


/* Подменю */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: linear-gradient(to bottom, #0e3528, #133b27);
  border-radius: 4px;
  z-index: 999;
  padding: 5px 0;
}
.submenu {
  list-style: none; /* Махаме точките */
  margin: 0;
  padding: 0;
}

.submenu li a {
  color: white;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.has-submenu:hover .submenu {
  display: block;
}
.submenu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #90ee90;
}

/* ЗЕЛЕНА ЛЕНТА С ЛОГО И ИМЕ */
.branding-bar {
  background: linear-gradient(to right, #225353, #25b5a0);
  color: goldenrod;
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15 px;
 }

.branding-bar .logo {
  height: 110px;
}

.branding-bar h1 {
  margin: 0;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* МОБИЛЕН РЕЖИМ */
@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .navbar-menu.active {
    display: flex;
  }

  .has-submenu .submenu {
    position: static;
    display: none;
  }

  .has-submenu.open .submenu {
    display: block;
  }

  .branding-bar {
    flex-direction: column;
  }
  .branding-bar .logo{
  display: none;
  }
  .main-container {
        flex-direction: column;
        align-items: center;
      }

      .carousel-inner img {
        max-height: 300px;
      }
}
/* Икони в менюто */
.navbar-menu i {
  margin-right: 2px;
}

/* Знамена за смяна на език */
.language-switch {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.language-switch img {
  width: 32px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.language-switch img:hover {
  transform: scale(1.1);
}
.navbar {
  justify-content: center; /* Центрира съдържанието хоризонтално */
}

.navbar-menu {
  justify-content: center; /* Центрира елементите в менюто */
}
.logo{
  position: absolute;
  top: 2.7em;
  left: 2em;
  z-index: 1;
}
h6, .h6, h4, .h4, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    
    line-height: 1.2;
}

.main-container .home1{
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: stretch;
      padding: 20px;
      gap: 20px;
    }

    .text-section {
      flex: 1 1 300px;
      min-width: 300px;
      max-width: 600px;
    }

    .carousel-section {
      flex: 1 1 300px;
      min-width: 300px;
      max-width: 600px;
    }

    .carousel-inner img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      object-fit: cover;
    }

    .carousel {
      max-width: 100%;
    }

    /* Optional: Add some spacing and shadow to carousel */
    .carousel-inner {
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      border-radius: 12px;
    }

   
.home1{
  
  color: white;
  background: linear-gradient(150deg, #282927 0%, #2ab9a5 100%);
  padding: 8em;

  
}
.home1 a:hover {
  color: #90ee90; /* светлозелено — може да го смениш с друг тон */
}
.home1 a{
  text-decoration: none;
  color: white;
}

h2.About-us{
  margin-top: 0px;
}

.news-grid {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  margin-top: 60px;
  margin-bottom: 40px;
}

.news-item {
  display: flex;
  border-left: 5px solid #2ecc71; /* зелена лента */
  padding-left: 10px;
  max-width: 400px;
}

.news-content {
  display: flex;
  flex-direction: column;
}

.news-title {
  color: #2ecc71; /* зелено */
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 10px;
}

.news-title:hover {
  text-decoration: underline;
}

.news-content img {
  max-width: 60%;
  height: auto;
  margin-bottom: 10px;
}

.news-date {
  font-style: italic;
  color: #555;
  margin: 0;
}

/* Footer */
footer {
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  border-top: 1px solid #ccc;
}

footer p {
  margin: 0.5rem 0;
}