/* Основни стилове */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-image: url('images/background.jpg'); /* Фоновото изображение */
  background-size: cover; /* Фонът покрива целия екран */
  background-repeat: no-repeat; /* Фонът не се повтаря */
  background-position: center; /* Центрира фона */
  background-attachment: fixed; /* Фонът остава фиксиран при скролиране */
  color: #ddd;
  font-size: 17px;
}

/* Хедър */
header {
  background: rgba(40, 40, 40, 0.8);
  color: #fff;
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 {
  margin: 0;
  font-size: 3.5em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: transparent;
  background: linear-gradient(to right, #78a9ff, #a3c9ff);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Слоган */
.slogan {
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  font-style: italic;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Стил за телефонния номер, имейл и партньор */
.contact-info {
  font-size: 1.2em; /* Увеличаваме размера на шрифта */
  font-weight: bold; /* Дебел шрифт за по-добра видимост */
  color: #fff; /* Бял цвят на текста */
  text-decoration: none; /* Премахваме подчертаването */
  transition: all 0.3s ease; /* Плавен преход при ховър */
}

.contact-info:hover {
  color: #a3c9ff; /* Леко по-светъл син при ховър */
  text-decoration: underline; /* Подчертаване при ховър */
}

.partner-link {
  font-size: 1.3em; /* Малко по-голям шрифт за името на партньора */
  color: #ff9900; /* Ярък оранжев цвят */
  font-weight: bold; /* Дебел шрифт */
  text-decoration: none; /* Премахваме подчертаването */
  transition: all 0.3s ease; /* Плавен преход */
}

.partner-link:hover {
  color: #ff6600; /* По-тъмен оранжев цвят при ховър */
  text-decoration: underline; /* Подчертаване при ховър */
}

/* Навигация */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin: 10px 0 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #ddd;
  font-weight: bold;
  background: rgba(50, 50, 50, 0.8);
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease-in-out;
}

nav ul li a:hover {
  background: rgba(70, 70, 70, 0.9);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

nav ul li a:active {
  background: rgba(30, 30, 30, 0.8);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
}

/* Мобилно меню с 3D бутон */
.menu-toggle {
  background: linear-gradient(to right, #78a9ff, #a3c9ff);
  border: 2px solid #0056b3;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
  font-size: 1.0em;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* Галерия */
.gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gallery img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

/* Уголемяване на изображението при клик */
.gallery img.enlarged {
  transform: scale(1.9); /* Уголемява с 60% */
  position: relative;
  z-index: 10;
}

/* Полупрозрачен фон, когато изображението е уголемено */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 5;
}

/* Галерия - стил при ховър */
.gallery img:hover {
  transform: scale(2.5);
}

/* Секции */
section {
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 20px;
  background: rgba(30, 30, 30, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

section h2 {
  color: #b0c4de;
  font-size: 1.8em;
}

section p {
  font-size: 1.1em;
  margin: 10px 0;
  line-height: 1.8;
  color: #ccc;
}

section p strong {
  color: #fff; /* Подчертаване на заглавията на контактите */
}

/* Мобилни стилове */
@media screen and (max-width: 768px) {
  header {
    padding: 15px;
  }

  header h1 {
    font-size: 2.5em;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: none;
  }

  nav.active ul {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  nav ul li a {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  section {
    padding: 20px 10px;
  }

  section h2 {
    font-size: 1.6em;
  }

  section p {
    font-size: 1em;
  }
}

/* Дъждовен ефект */
.rain-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.rain-drop {
  position: absolute;
  width: 4px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.6);
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-100vh);
  }
  100% {
    transform: translateY(100vh);
  }
}
