/* Основни стилове */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: #27ae60 #eef2f7;
}

/* Красива скролбар стилизация */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #eef2f7;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #27ae60, #2980b9);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #219150, #216a99);
}

body {
    background: linear-gradient(to bottom right, #e9f9f1, #dceeff);
    color: #333333;
    line-height: 1.6;
}


/* Основни стилове на Header */
header {
    background: linear-gradient(90deg, #27ae60, #2980b9);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}


.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    min-height: 100vh;
    background-color: #f9f9f9;
}
.hero-content, .team-info, .gallery {
    text-align: center;
    margin: 2rem auto;
    max-width: 900px;
}

.image-row, .logo-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-image {
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-logo {
    width: 120px;
    height: auto;
}
/* Основни стилове за целия сайт */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden; /* За да не излизаме извън екранната част */
}

.full-screen-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 100vh; /* За да заема целия екран */
}

/* Hero секция с голямо изображение и текст */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh; /* Заема целия екран */
    background-image: url('img/групова снимка.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-text {
    position: absolute;
    top: 60%;  /* Центриране по вертикала */
    left: 50%;
    transform: translate(-50%, -50%);  /* Това премества текста точно в центъра */
    text-align: center;  /* Поставя текста в центъра */
}


.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0rem;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 2rem;
}

.hero-image-main {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Секция за екипа с изображение и текст */
.team-section {
    position: relative;
    height: 50vh;
    background-color: #0be261;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.team-image {
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

.team-overlay h3 {
    font-size: 2rem;
    font-weight: 600;
}

.team-overlay p {
    font-size: 1.2rem;
}

.hero {
    background: linear-gradient(to right, #ffebcd, #e9f8f3); /* топли, светли цветове */
    width: 100vw;
    box-sizing: border-box;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}

.hero-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}


.pl-text, .pl-image-wrapper {
    flex: 1;
    min-height: 100%;
}

.pl-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #8bc34a; /* Пастелно зелено */
    background-color: #39c9751e;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(8px);
}


.pl-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #39c9751e;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.pl-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pl-image:hover {
    transform: scale(1.05); /* леко увеличение на снимката при hover */
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
}




/* Секция за проекта */
.project-info-section {
    background-color: #ffffff;
    text-align: center;
    padding: 4rem 2rem;
}

.project-info-section h3 {
    font-size: 2.3rem;
    color: #2b7a4b;
    margin-bottom: 1rem;
}

.project-info-section p {
    font-size: 1.9rem;
    color: #181414;
}

/* Секция с логота на партньорите */
.partners-section {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
    text-align: center;
}

.partners-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    width: 200px;
    height: auto;
}

.partner-logo img {
    max-width: 100%;
}

/* Завършващо изображение */
.final-image-section {
    background-color: #333;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.final-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Респонсив дизайн за малки екрани */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .team-overlay h3 {
        font-size: 1.5rem;
    }

    .team-overlay p {
        font-size: 1rem;
    }

    .project-info-section h3 {
        font-size: 1.8rem;
    }

    .project-info-section p {
        font-size: 1rem;
    }

    .partners-container {
        flex-direction: row;
        align-items: center;
    }
}

/* Респонсив дизайн за малки екрани (до 480px) 
@media (max-width: 480px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    .menu {
        display: flex;
        flex-wrap: wrap; /* Позволява на бутоните да се пренареждат на нов ред, ако няма място */
       /* justify-content: flex-start; /* Подравнява бутоните към ляво */
       /* gap: 10px; /* Добавя разстояние между бутоните */
      /*  padding: 0;
        margin: 0;
    /*}

    .menu li {
        list-style: none;
    }

    .menu button {
        font-size: 0.9rem;
        padding: 8px 12px;
        background: none;
        border: 1px solid #ccc;
        cursor: pointer;
        width: auto; /* Няма да имат фиксирана ширина */
     /*   min-width: 80px; /* Минимална ширина на бутоните, за да не са прекалено малки */
       /* box-sizing: border-box;
   /* }

    .dropdown-container {
        position: relative;
    }

    .dropdown-btn {
        font-size: 0.9rem;
        padding: 8px 12px;
        background: none;
        border: 1px solid #ccc;
        cursor: pointer;
        width: auto;
        min-width: 80px; /* Минимална ширина за dropdown бутоните */
   /*}

    /* Плавно преминаване за dropdown бутоните */
   /* .dropdown-container.active .dropdown-btn {
        background-color: #ccc;
   /* }

    img {
        width: 100%;
        height: auto;
    }

    /* За секциите */
   /* .section {
        margin: 10px 0;
        padding: 10px;
   /* }

    .section .text {
        font-size: 0.9rem;
        padding: 10px;
    }
}
*/


.hero-image {
    width: 1100px;         /* фиксирана ширина */
    height: 500px;        /* фиксирана височина за правоъгълна форма */
    object-fit: cover;    /* изрязва излишното, без да изкривява */
    opacity: 0.85;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.hero-image:hover {
    transform: scale(1.02);
}



/* Лого */
.logo-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.logo img {
    height: 25px;
    width: 25px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.3));
    border-radius: 12px;
}

.logo img:hover {
    transform: scale(1.15) rotate(3deg);
    opacity: 0.9;
}

/* Падащо меню */
.dropdown-container {
    position: relative;
}

.dropdown-btn {
    background: #fff;
    color: #2c3e50;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none; /* ✨ Това премахва черната рамка */
}

.dropdown-btn:hover {
    background: #27ae60;
    color: #fff;
}

.arrow {
    font-size: 12px;
    transition: transform 0.3s ease-in-out;
}


/* Падащото меню */
.dropdown {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0s 3s;
}

.dropdown li {
    margin: 6px 0;
}

.dropdown button {
    width: 100%;
    text-align: left;
    padding: 12px;
    border-radius: 6px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dropdown button:hover {
    background-color: #f2f2f2;
}

/* Когато менюто е отворено */
.dropdown.open {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out, visibility 0s;
}

/* Промяна на стрелката при отваряне */
.dropdown-btn.active .arrow {
    transform: rotate(180deg); /* Въртяща се стрелка */
}

/* Анимация на бутони */
button {
    transition: transform 0.2s ease-in-out;
}

.dropdown-container {
    display: inline-block;
    vertical-align: top;
}

button:hover {
    transform: scale(1.07);
}

/* Главно съдържание */
main {
    margin-top: 110px;
    padding: 20px;
    text-align: center;
}

.about-us {
    background: rgba(46, 204, 113, 0.15);
    padding: 60px;
    border-radius: 12px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero {
    background: rgba(46, 204, 113, 0.15);
    padding: 60px;
    border-radius: 12px;
    animation: fadeIn 1.5s ease-in-out;
}

h1 {
    color: #27ae60;
    font-size: 2.8rem;
}

h2 {
    color: #2980b9;
    font-size: 2rem;
    margin-top: 30px;
}

p {
    color: #2980b9;
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Футър */
footer {
    text-align: center;
    padding: 20px;
    background: #2980b9;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

/* Анимация */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Мобилна версия */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        right: 20px;
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.6rem;
        cursor: pointer;
        padding: 12px;
    }
}


/* Статии */
.articles {
    margin-top: 100px;
    padding: 20px;
    text-align: left;
}

.article {
    background: rgba(46, 204, 113, 0.1);
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article:hover {
    background: rgba(46, 204, 113, 0.2);
    transform: translateY(-5px);
}

h1 {
    color: #27ae60;
    font-size: 2.8rem;
}

h2 {
    color: #2980b9;
    font-size: 2rem;
    margin-bottom: 10px;
}

p {
    color: #040405;
    font-size: 1.2rem;
    line-height: 1.8;
}




/* Основни стилове */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #eef2f7;
    color: #333;
    line-height: 1.6;
}

/* Стилове за екипа */
.team {
    margin-top: 100px;
    padding: 20px;
    text-align: center;
}

h1 {
    color: #27ae60;
    font-size: 2.8rem;
    margin-bottom: 40px;
}

/* Контейнер за членовете на екипа */
.team-member-container {
    display: flex;
    flex-wrap: wrap; /* Позволява на елементите да преминават на нов ред */
    justify-content: flex-start; /* Подрежда елементите от ляво към дясно */
    gap: 20px; /* Добавя разстояние между прозорчетата (можете да промените стойността) */
    margin: 0 auto;
}

/* Прозорче на всеки член на екипа */
.team-member {
    width: calc(16.66% - 20px); /* 100% / 6 члена на ред с отстъпки за gap */
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 20px; /* Отстояние между редовете */
}

.team-member:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: translateY(-5px);
}

/* Изображение на члена на екипа */
.team-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

/* Информация за член на екипа */
.team-info {
    color: #333;
}

h2 {
    color: #2980b9;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

p {
    color: #1d1d1d;
    font-size: 1rem;
    line-height: 1.4;
}

/* Меню */
header {
    background: linear-gradient(90deg, #27ae60, #2980b9);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between; /* За да поставим логото вляво и бутоните вдясно */
    width: 100%;
    padding: 0 30px;
}

.logo-btn {
    display: flex;
    align-items: center;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px; /* Разстояние между бутоните */
    padding: 0;
    margin: 0;
}

.menu button {
    background: #fff;
    color: #2c3e50;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
}

.menu button:hover {
    background: #27ae60;
    color: #fff;
    transform: translateY(-3px);
}






.gallery-section {
  width: 100%;
  padding: 40px 5%;
  box-sizing: border-box;
}

.gallery-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}








.info-section {
    padding: 20px;
}

.info-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
    gap: 30px;
    flex-wrap: wrap;
}

.info-box img {
    width: 45%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.info-text {
    flex: 1;
    min-width: 280px;
}

.info-box.reverse {
    flex-direction: row-reverse;
}

.info-text h2 {
    color: #2c3e50;
    margin-bottom: 12px;
}

.info-text p, .info-text ul {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.info-text ul {
    list-style: disc inside;
}





.dropdown {
    display: none;
    position: absolute;
    top: 100%; /* Поставя менюто под бутона */
    left: 0;
    background: #fff;
    list-style: none;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0s 3s;
}

.dropdown li {
    margin: 6px 0;
}

.dropdown button {
    width: 100%;
    text-align: left;
    padding: 12px;
    border-radius: 6px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dropdown button:hover {
    background-color: #219150;
}

.dropdown.open {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out, visibility 0s;
}

.dropdown-btn.active .arrow {
    transform: rotate(180deg);
}




.hero-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-images {
    width: 50%;             /* две снимки на ред */
    height: 1000px;          /* или каквато височина искаш */
    object-fit: cover;
    opacity: 0.85;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}



.gallery-section {
    width: 100%;
    padding: 1% 5%;
    box-sizing: border-box;
  }
  
  .gallery-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* точно две колони */
    gap: 10px;
    justify-items: center; /* центрира всяка снимка в колоната */
  }
  
  .gallery-grid img {
    width: 1200px;
    height:1080px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
      
  .logoeo {
    display: block;
    margin: 30px auto; /* центриране по хоризонтала + малко отстояние */
    width: 100%;
    max-width: 9996px;
    height: auto;
    border: none;
    background: none; /* премахва сив фон ако има от бутона */
}




