/*
Theme Name: Youth Center Theme
Author: Катерина
Description: Custom WordPress theme based on eNno HTML template
Version: 1.0
*/

/* Базови стилове за НПВУ проект */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: sans-serif;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #000;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #00cccc;
    overflow-x: hidden;
    padding-top: 0px;
}

a {
    color: #000;
    text-decoration: none;
  }

a:hover {
    text-decoration: underline;
  }

/* Меню */
  .main-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding-left: 0;
    margin: 0;
    justify-content: center;
  }

.main-menu li {
    display: inline-block;
  }

.main-menu a {
    font-weight: bold;
    padding: 0.5rem 1rem;
    color: black;
    transition: background-color 0.2s ease;
  }

.main-menu a:hover {
    background-color: #00ffff;
    color: black;
    border-radius: 4px;
  }

.menu-item-has-children > ul {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  background: #ffffff;
  padding: 10px 0;
  list-style: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.menu-item-has-children:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-item-has-children > ul li {
  padding: 10px 20px;
  white-space: nowrap;
}

.menu-item-has-children > ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.menu-item-has-children > ul li a:hover {
  color: #00cccc;
}

/* Секции */
  section {
    padding: 4rem 2rem;
  }

h1, h2, h3 {
    font-family: Arial Black, Arial, sans-serif;
    margin-bottom: 1rem;
  }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
  }

/* Бутон */
  .button {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }

.button:hover {
    background-color: #333;
  }

/* Хедър */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 999;
  padding: 0.15rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px); 
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.site-logo img {
  height: 100px;
  width: auto;
}

/* Основна навигация */
.main-navigation {
  flex-grow: 1;
  margin-left: 2rem;
}

.main-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu li {
  display: inline-block;
}

.main-menu a {
  text-transform: uppercase;
  font-weight: bold;
  color: #000;
  padding: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.main-menu a:hover,
.main-menu li.current-menu-item a {
  color: #00ffff;
}

/* Езиков превключвател */
.lang-switcher {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  gap: 0.5rem;
  margin-right: 2rem; /* ДОБАВЕНО: разстояние между езиците и иконите */
}

.lang-switcher a {
  color: black;
  text-decoration: none;
}

.lang-switcher a:hover {
  text-decoration: underline;
  color: #00ffff;
}

/* Мобилен бутон */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Мобилно меню */
@media (max-width: 768px) {
  .main-menu {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .main-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    flex-basis: 100%;
    margin-top: 1rem;
  }

  .lang-switcher {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.5rem;
  }
}

/* Hero секцията */
.hero-section {
  background-color: #00ffff;
  padding: 120px 20px 60px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-bottom: -40px;
}

.hero-content h1 {
  color: black;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

.hero-split {
  background-color: #f0f0f0;
  padding: 1rem 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Hero Full Screen */

.hero-fullscreen {
  margin-top: 0;
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-fullscreen .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Мек тъмен слой върху изображението */
  z-index: 1;
}

.hero-fullscreen .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-fullscreen h1 {
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.hero-fullscreen h1 .hero-line1 {
  display: block;
  font-size: 2rem; /* първи ред – по-малък */
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-fullscreen h1 .hero-line2 {
  display: block;
  font-size: 2.5rem; /* втори ред – малко по-голям */
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-fullscreen p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.hero-fullscreen .button {
  background-color: #00ffff;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

/* За мобилни устройства */
@media (max-width: 768px) {
  .hero-fullscreen h1 .hero-line1 {
    font-size: 1.4rem;
  }
  .hero-fullscreen h1 .hero-line2 {
    font-size: 1.8rem;
  }
}

/* Footer секция */
.site-footer {
  background-color: #ffff;
  padding: 2rem 1rem;
  color: black;
  font-family: Arial, sans-serif;
  text-align: center;
}

.footer-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2rem 0 1rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logos img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4; 
}

.footer-text a {
  color: black;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.footer-links {
  text-align: center;
  margin-top: 1em;
  font-size: 0.9em;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  margin: 0 5px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  text-align: center;
  margin: 1.5em auto;
  max-width: 900px;
  padding: 0 1em;
}

.footer-note-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin-bottom: 1em;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.footer-note p {
  font-size: 0.95em;
  color: #444;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

.footer-text p {
    margin: 0.2rem 0;
    font-size: 0.85rem;
    line-height: 1.3;
  }

}

/* Devider секция */
  .project-divider {
    background-color: #00cccc;
    color: #000000;           
    text-align: center;
    padding: 1rem 0rem;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin: 0;
  }

/* Секция Последни новини */

.latest-news {
  background-color: #f5fefe; /* цвят на фона */
  padding: 4rem 2rem;
}

.latest-news h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #ffffff; /* бяло заглавие */
  font-size: 2rem;
  font-weight: bold;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 новини на ред */
  gap: 2rem;
}

.news-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none; /* премахване на underline */
  color: inherit;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-thumb {
  height: 180px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-content {
  padding: 1rem;
}

.news-content h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  font-weight: bold;
  color: #003366;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* макс 2 реда */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-content .post-date {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.news-content p {
  display: none; 
}

.news-page .info-icon {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
}

.news-page .info-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.news-page .info-text h3 {
    margin-top: 0;
    font-size: 1.2em;         /* По-малък размер (по избор: 1em–1.4em) */
    line-height: 1.3;         /* По-плътно междуредово разстояние */
    margin-bottom: 10px;      /* Малко разстояние под заглавието */
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 8px;
    padding: 8px 14px;
    background: #00cccc;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}

.pagination .current {
    background: #003333;
    font-weight: bold;
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Секция услуги - front page */
.services-grid {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
  }

.services-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

.services-grid-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
  }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }

.service-item {
    background-color: white;
    border: 1px solid #ddd;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

.service-item h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
  }

.service-item img {
  width: 60px;
  height: auto;
  margin-bottom: 1rem;
}

/* Малък бутон */
  .button.small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
  }

.button.small:hover {
    background-color: #333;
  }

/* Мобилна адаптация */
  @media (max-width: 768px) {
    .services-layout {
      grid-template-columns: 1fr;
    }

.services-image {
      order: -1;
      margin-bottom: 2rem;
    }

}

/* Контактна секция */
#contact-section {
  padding: 4rem 2rem;
  background-color: #fff;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-info h3 {
  margin-top: 1.5rem;
}

.contact-info a {
  color: black;
  text-decoration: underline;
}

.contact-map {
  flex: 2;
  min-width: 280px;
}

.contact-form {
  max-width: 960px;
  margin: 0 auto;
}

.contact-form h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-form form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: Arial, sans-serif;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input[type="submit"] {
  background-color: black;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
  background-color: #333;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

}

/* Новини - single */

/* Оформление на основната структура */

.single-news-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.single-news-main {
  flex: 2;
}

.single-news-sidebar {
  flex: 1;
}

/* === Заглавие и мета инфо === */
.single-news-title {
  font-size: 25px;
  margin-bottom: 10px;
  color: #000;
  line-height: 1.1;
  font-weight: 700;
}

.single-news-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* Hero секция */
.hero-single-news {
  padding-top: 137px; /* или повече, ако искаш още надолу */
}

/* === Съдържание === */
.single-news-content {
  font-size: 16px;
  line-height: 1.7;
  color: #111;
}

/* === Странична лента === */
.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #00bcd4; /* акцентен цвят */
}

.sidebar-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-news-list li {
  margin-bottom: 18px;
}

.sidebar-news-list a {
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.sidebar-news-list a:hover {
  color: #00bcd4;
}

.news-date {
  display: block;
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}

/* === Бутон "обратно" === */
.back-to-news {
  margin-top: 2rem;
  text-align: center;
}

.back-to-news .button.small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.back-to-news .button.small:hover {
  background-color: #333;
}

/* Галерия със слайдер (track и slide) */

.news-gallery-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0; /* разстояние над и под галерията */
}

.news-gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.news-gallery-slide {
  flex: 0 0 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
}

/* Изображения в слайд */
.news-gallery-slide img { 
  max-width: 100%;
  height: 500px;
  object-fit: cover;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 6px;
}

.news-gallery-prev,
.news-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.news-gallery-prev {
  left: 10px;
}

.news-gallery-next {
  right: 10px;
}

/* Споделяне в социални мрежи */

.post-share {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 1rem;
}

.post-share span {
  font-weight: bold;
  margin-right: 0.5rem;
}

.share-btn {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  color: white;
}

.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter  { background-color: #1da1f2; }
.share-btn.linkedin { background-color: #0077b5; }
.share-btn.email    { background-color: #777; }

.share-btn:hover {
  opacity: 0.8;
}

/* === Responsive === */
@media (max-width: 768px) {
  .single-news-layout {
    flex-direction: column;
  }

  .single-news-main,
  .single-news-sidebar {
    width: 100%;
    flex: 1 1 100%;
  }

  .news-gallery-slide img {
    height: 250px;
  }
}

/* Събития */

/* Основна структура на страницата на събитие */
.single-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.single-content h1 {
  font-size: 25px;
  margin-bottom: 10px;
  color: #000;
  line-height: 1.1;
  font-weight: 700;
}

.single-content {
  flex: 3;
  min-width: 0;
}

.single-sidebar {
  flex: 1.2;
  min-width: 250px;
}

.single-sidebar h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #00cccc;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  margin-bottom: 20px;
}

.news-list a {
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

.news-date {
  display: block;
  font-size: 0.9em;
  color: #666;
  margin-top: 4px;
}

/* Метадата за събитието */
.event-meta {
  margin-bottom: 0.5rem;
}

.event-meta p {
  margin: 0.2rem 0; /* Намалено допълнително */
  font-size: 1.05rem;
  color: #333;
}


/* Бутон за Google Календар */
.event-actions {
  margin-top: 2rem;
}

.event-actions .button {
  background-color: #00cccc;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

.event-actions .button:hover {
  background-color: #009999;
}

/* Споделяне */
.share-links {
  margin-top: 3rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.share-links a {
  margin-right: 10px;
  color: #00cccc;
  font-weight: bold;
  text-decoration: none;
}

.share-links a:hover {
  text-decoration: underline;
}

.no-events-message {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

@media (max-width: 768px) {
  .single-flex {
    flex-direction: column;
  }
}

/* НОВИ СТИЛОВЕ ЗА НАЧАЛНА СТРАНИЦА */

.button-blue {
  background-color: #00aaff;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button-blue:hover {
  background-color: #008ecc;
}

.button-white {
  background-color: white;
  color: #00aaff;
  border: 2px solid #00aaff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button-white:hover {
  background-color: #00aaff;
  color: white;
}

.mission-colored {
  background-color: #00cccc;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.homepage-hero {
  background-image: url('/wp-content/themes/youth-center-theme/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mission-divider {
  background-color: #00cccc;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 1rem 0;
  text-align: center;
  letter-spacing: 1px;
}


/* --- Допълнения за съвпадение с mockup визията --- */

.hero-fullscreen {
  background-color: #00ffff;
  clip-path: ellipse(150% 100% at 50% 0); /* мека извивка отдолу */
}

.hero-fullscreen h1 {
  font-size: 3.2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-fullscreen p {
  font-size: 1.6rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ---Секция Мисия --- */

.mission-section {
  background-color: #00cccc;
  color: #fff;
  padding: 4rem 2rem;
}

.mission-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.mission-text-block {
  flex: 1 1 60%;
}

.mission-text-block h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mission-text-block p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
}

.mission-button-block {
  flex: 1 1 30%;
  display: flex;
  justify-content: flex-end;
}

.mission-button {
  display: inline-block;
  background-color: #fff;
  color: #000;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.mission-button:hover {
  background-color: #000;
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .mission-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .mission-button-block {
    justify-content: center;
  }

  .mission-text-block {
    text-align: center;
  }
}

.service-item img {
  width: 60px;
  height: auto;
  margin-bottom: 1rem;
}

.service-item h3 {
  color: #00aaff;
}

.latest-news h2 {
  font-size: 2rem;
  color: #00aaff;
  font-weight: bold;
}

.read-more.button {
  margin-top: 1rem;
  display: inline-block;
}

/* Предстоащи събития front page */

.upcoming-event {
  background-color: #f0f8ff;
  padding: 4rem 2rem;
}

.upcoming-event h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #00cccc;
}

.event-highlight {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 2rem;
}

.event-image {
  flex: 1;
  min-width: 280px;
}

.event-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.event-info {
  flex: 2;
  min-width: 280px;
}

.event-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.event-info .event-date {
  font-size: 1.1rem;
  font-weight: bold;
  color: #00aaaa;
  margin-bottom: 1rem;
}

.event-info p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.no-events {
  text-align: center;
  font-size: 1.1rem;
  color: #777;
  margin-top: 2rem;
}

/* Календар събития */

.calendar-wrapper {
  background: #f0fafa;
  border-radius: 12px;
  padding: 15px;
  max-width: 480px;
  margin: 0 auto 30px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.04);
  font-size: 14px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-header .calendar-month {
  font-weight: bold;
  font-size: 1em;
}

.calendar-nav {
  text-decoration: none;
  font-size: 16px;
  color: #0077aa;
  padding: 2px 10px;
  border-radius: 6px;
  background-color: #e3f6f8;
  transition: background 0.3s;
}

.calendar-nav:hover {
  background-color: #c2ebf0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.day-name {
  font-weight: bold;
  text-align: center;
  color: #666;
  padding: 4px 0;
  font-size: 0.85em;
}

.day {
  background: #fff;
  text-align: center;
  padding: 6px 0;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
  cursor: default;
  border: 1px solid transparent;
  font-size: 0.85em;
}

.day:hover {
  background-color: #f1f9fa;
}

.calendar-day-has-event {
  background: #00cccc;
  color: #fff;
  cursor: pointer;
}

.calendar-day-has-event:hover {
  background: #00b2b2;
}

a.day.calendar-day-has-event {
  text-decoration: none;
  display: block;
}

.day.empty {
  background: transparent;
  border: none;
  cursor: default;
}

.event-preview {
  background: #fff;
  padding: 12px;
  margin-top: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.3s ease-in-out;
}

.event-preview .event-item {
  margin-bottom: 15px;
}

.event-preview .event-item h4 {
  margin: 0 0 4px;
  font-size: 1em;
}

.event-preview .event-item p {
  margin: 0;
  font-size: 0.9em;
  color: #333;
}

@media (max-width: 600px) {
  .calendar-wrapper {
    max-width: 100%;
    padding: 10px;
    font-size: 13px;
  }

  .calendar-header .calendar-month {
    font-size: 1em;
  }

  .calendar-nav {
    font-size: 14px;
    padding: 2px 8px;
  }

  .calendar-grid {
    gap: 4px;
  }

  .day {
    padding: 5px 0;
    font-size: 0.8em;
    border-radius: 6px;
  }

  .day-name {
    font-size: 0.75em;
  }

  .event-preview {
    padding: 10px;
  }

  .event-preview .event-item h4 {
    font-size: 0.95em;
  }

  .event-preview .event-item p {
    font-size: 0.85em;
  }
}


/* Социалн мрежи икони */

.social-icons a {
  background-color: #ffffff;
  color: #000;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s, color 0.3s;
}

.social-icons a:hover {
  background-color: #00ffff;
  color: #000;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Фон за single страници */
.single {
  background-color: #ffffff;
}

/* По-конкретно ако искаш за всеки тип */
.single-post {
  background-color: #ffffff; /* новини */
}

.single-event {
  background-color: #f0f9ff; /* събития */
}

.single-activity {
  background-color: #fff8e1; /* дейности */
}

/* Инфо страница */

.info-section {
  background: #e9f7f9;
  padding: 30px 0;
  text-align: center;
}

.info-section p {
  font-size: 20px;
  font-weight: bold;
  color: #005555;
}

.info-icon-list {
  padding: 60px 0;
  background-color: #f8f9fa; /* Светъл фон */
}

.info-row {
  display: flex;
  align-items: center;
  background: #ffffff; /* Бял фон на всеки блок */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  gap: 40px;
  transition: transform 0.3s ease; /* Анимация при hover */
}

.info-row.reverse {
  flex-direction: row-reverse;
}

.info-row:hover {
  transform: translateY(-5px); /* При hover леко повдигане */
}

.info-icon img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  padding: 10px;
  border: 2px solid #00cccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease; /* Анимация при hover */
}

.info-icon img:hover {
  transform: scale(1.1); /* Увеличение на иконата при hover */
}

.info-text {
  flex: 1;
}

.info-text h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 28px;
  color: #222;
  transition: color 0.3s ease;
}

.info-text h3:hover {
  color: #00cccc; /* Цвят при hover */
}

.info-text p {
  margin: 0;
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.divider {
  border: 0;
  height: 2px;
  background: #00cccc;
  margin: 50px 0;
}

/* Мобилна версия */
@media (max-width: 768px) {
  .info-row,
  .info-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .info-icon img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #00ffff;
  color: #000;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  font-size: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.cookie-banner a {
  color: #000;
  text-decoration: underline;
}

.cookie-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cookie-btn:hover {
  background-color: #333;
}

/* услуги бутони */

.service-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-item-link:hover {
  text-decoration: none;
  color: inherit;
}

.service-item-link h3,
.service-item-link p {
  text-decoration: none;
  color: inherit;
}

.service-item-link {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item-link:hover .service-item {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item-link h3 {
  color: #00aaff;
  text-decoration: none;
}

.service-item-link:hover h3 {
  color: #00ffff;
}
