@import url("./thank-you.css");

:root {
  --primary-color: #e67e22;
  --secondary-color: #d14006;
  --accent-color: #3498db;
  --text-color: #333;
  --light-bg: #f8f8f8;
  --white: #ffffff;
  --border-color: #ddd;

  --font-family-primary: "Roboto", sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--secondary-color);
  margin-bottom: 0.8em;
  line-height: 1.2;
}

h1 {
  font-size: 2.8rem;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1em;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.primary-btn:hover,
.primary-btn:focus {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  cursor: pointer;
  outline: none;
}

.bg-light {
  background-color: var(--light-bg);
}

.section {
  padding: 80px 0;
  text-align: center;
}

.section h2 {
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.main-header {
  background-color: var(--white);
  padding: 5px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav ul li {
  margin-left: 30px;
}

.main-nav ul li a {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  padding: 5px 0;
}

.main-nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a:focus::after {
  width: 100%;
}

.contact-info {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.contact-info a {
  color: var(--primary-color);
}

.contact-info i {
  margin-right: 8px;
  color: var(--primary-color);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--secondary-color);
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  transition: transform 0.3s ease;
  z-index: 1001;
}

.hamburger i {
  transition: transform 0.3s ease;
}

.hamburger.active i {
  transform: rotate(90deg);
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/remont-na-pokrivi.webp") no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  padding: 150px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.about-section {
  text-align: left;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5em;
  font-size: 1.1rem;
}

.about-image {
  text-align: center;
  width: 100%;
  height: 300px;
  overflow: hidden;

  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 50% 20%;

  display: block;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services-section {
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.12);
}

.service-item i {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.service-item p {
  font-size: 0.95rem;
  color: #555;
}

/* Основни настройки */
.reviews-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.reviews-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
  font-weight: 700;
}

/* Контейнер и grid за видеа */
.reviews-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Стил за отделен отзив */
.review-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.review-item:hover {
  transform: translateY(-5px);
}

/* Видео стил */
.review-item video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  outline: none;
}

/* Медийни заявки за още по-добра адаптивност */
@media (max-width: 768px) {
  .reviews-section h2 {
    font-size: 2rem;
  }

  .review-item {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .reviews-section {
    padding: 40px 10px;
  }

  .reviews-section h2 {
    font-size: 1.75rem;
  }
}

.discount-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5)),
    url("../images/specialna-oferta.webp") no-repeat center center/cover;
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
}

.discount-content h2 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.discount-content .highlight-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  line-height: 1.3;
  text-transform: uppercase;
}

.discount-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
}

.discount-content .large-btn {
  padding: 15px 35px;
  font-size: 1.25rem;
  border-radius: 7px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.discount-content .large-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.discount-content .small-text {
  font-size: 0.85rem;
  margin-top: 25px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .discount-section {
    padding: 70px 20px;
  }
  .discount-content h2 {
    font-size: 2.2rem;
  }
  .discount-content .highlight-text {
    font-size: 1.4rem;
  }
  .discount-content p {
    font-size: 1rem;
  }
  .discount-content .large-btn {
    padding: 12px 25px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .discount-section {
    padding: 50px 15px;
  }
  .discount-content h2 {
    font-size: 1.8rem;
  }
  .discount-content .highlight-text {
    font-size: 1.2rem;
  }
}

.projects-section {
  text-align: center;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.project-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 20px;
  text-align: left;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.project-item:hover img {
  transform: scale(1.05);
}

.project-item:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h3 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.project-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.partners-section {
  background-color: var(--light-bg);
  padding: 80px 0;
  text-align: center;
}

.partners-section .section-description {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}

.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.partner-logo-item {
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo-item img {
  max-width: 90%;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(80%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .partner-logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .partner-logos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .partner-logo-item {
    min-height: 70px;
  }
  .partner-logo-item img {
    max-height: 60px;
  }
}

.contact-section {
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  text-align: left;
  margin-bottom: 50px;
}

.contact-form-wrapper {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: var(--font-family-primary);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

.contact-info-details p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: var(--secondary-color);
}

.contact-info-details p i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.4rem;
}

.contact-info-details a {
  color: var(--secondary-color);
}

.contact-info-details a:hover {
  color: var(--primary-color);
}

.social-links {
  margin-top: 30px;
}

.social-links a {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-right: 20px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

.main-footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}

.main-footer p {
  margin: 0;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .contact-info {
    order: 2;
    margin-left: auto;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  #about > div {
    text-align: center;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-top: 30px;
    order: 1;
  }

  .about-text {
    order: 2;
  }

  .contact-form-wrapper {
    order: 2;
  }
}

@media (max-width: 1080px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0;
    border-top: 1px solid var(--border-color);

    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, visibility 0.5s;
    z-index: 998;
  }

  .main-nav.active {
    max-height: 90vh;
    opacity: 1;
    visibility: visible;
  }

  .hamburger.active {
    transform: rotate(90deg);
  }

  .contact-info {
    display: none;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 20px 0;
  }

  .main-nav ul li {
    margin: 0;
    width: 100%;
  }

  .main-nav ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 15px 20px;
    display: block;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
  }

  .main-nav ul li a:hover,
  .main-nav ul li a:focus {
    background-color: var(--primary-color);
    color: var(--white);
  }

  .main-nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease, background-color 0.3s ease;
  }

  .main-nav ul li a:hover::after,
  .main-nav ul li a:focus::after {
    width: 80%;
    background-color: var(--white);
  }

  .hamburger {
    display: block;
  }

  .contact-info {
    display: none;
  }

  .hero-section {
    padding: 100px 20px;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .service-grid,
  .project-gallery,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .project-item img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  .section {
    padding: 40px 0;
  }

  .primary-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .contact-form-wrapper {
    padding: 25px;
  }

  .map-container iframe {
    height: 300px;
  }
}

/* Header на галерията */
.gallery-header {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.gallery-header h1 {
  font-family: "Poppins", sans-serif;
  font-size: 3.5em;
  margin-bottom: 15px;
  font-weight: 700;
}

.gallery-header p {
  font-size: 1.25em;
  opacity: 0.9;
}

/* Секция на галерията */
.gallery-section {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  /* Адаптивна мрежа: минимум 300px, максимум 1fr */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px; /* Разстояние между елементите */
}

/* Елемент на галерията */
.gallery-item {
  position: relative;
  overflow: hidden; /* Важно за анимацията на `figcaption` */
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-light);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.gallery-item:hover {
  transform: translateY(-8px); /* Леко повдигане при hover */
  box-shadow: 0 15px 35px var(--shadow-medium); /* По-изразена сянка */
}

.gallery-figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100%; /* За да запълни gallery-item */
  display: flex;
  flex-direction: column;
}

.gallery-figure img {
  width: 100%;
  height: 250px; /* Фиксирана височина за изображенията */
  object-fit: cover; /* За да покрият цялото пространство без изкривяване */
  display: block;
  transition: transform 0.4s ease-out; /* Анимация на приближаване при hover */
}

.gallery-item:hover .gallery-figure img {
  transform: scale(1.08); /* Приближаване на снимката при hover */
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--overlay-bg); /* Полупрозрачен тъмен фон */
  color: white;
  padding: 20px;
  transform: translateY(100%); /* Скрито по подразбиране */
  transition: transform 0.4s ease-out; /* Плавно излизане */
  text-align: center;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0); /* Показва се при hover */
}

.gallery-header h1 {
  color: var(--white);
}

.gallery-caption h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.5em;
  margin-bottom: 8px;
  color: white; /* Изрично бял цвят */
}

.gallery-caption p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
}

/* Анимация при скролване (reveal) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Забавяне за всяка следваща карта */
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}
.delay-6 {
  transition-delay: 0.6s;
}
.delay-7 {
  transition-delay: 0.7s;
}
.delay-8 {
  transition-delay: 0.8s;
}

/* Медийни заявки за адаптивен дизайн */
@media (max-width: 992px) {
  .gallery-header h1 {
    font-size: 2.8em;
  }
  .gallery-header p {
    font-size: 1.1em;
  }
  .gallery-grid {
    gap: 25px;
  }
  .gallery-item {
    border-radius: 10px;
  }
  .gallery-figure img {
    height: 220px;
  }
  .gallery-caption {
    padding: 15px;
  }
  .gallery-caption h3 {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .gallery-header {
    padding: 60px 0;
  }
  .gallery-header h1 {
    font-size: 2.2em;
  }
  .gallery-header p {
    font-size: 1em;
  }
  .gallery-section {
    padding: 40px 0;
  }
  .container {
    padding: 0 20px;
  }
  .gallery-grid {
    grid-template-columns: 1fr; /* Една колона на малки екрани */
    gap: 20px;
  }
  .gallery-figure img {
    height: 280px; /* По-високи снимки на мобилен */
  }
}

@media (max-width: 480px) {
  .gallery-header h1 {
    font-size: 1.8em;
  }
  .gallery-figure img {
    height: 200px;
  }
  .gallery-caption h3 {
    font-size: 1.2em;
  }
  .gallery-caption p {
    font-size: 0.9em;
  }
}

.image-text-cta-section {
  padding: 80px 0;
  background-color: var(--card-bg); /* Бял фон за секцията */
  border-top: 1px solid #eee; /* Деликатна горна граница */
  border-bottom: 1px solid #eee; /* Деликатна долна граница */
}

.image-text-cta-content {
  display: flex; /* Използваме Flexbox за подредба */
  align-items: center; /* Центрира елементите вертикално */
  gap: 50px; /* Разстояние между снимката и текста */
  flex-wrap: wrap; /* Позволява елементите да се пренареждат на по-малки екрани */
  justify-content: center; /* Центрира елементите хоризонтално при flex-wrap */
}

.image-wrapper {
  flex: 1; /* Позволява на снимката да заема наличното пространство */
  min-width: 300px; /* Минимална ширина, преди да се пренареди */
  border-radius: 12px;
  overflow: hidden; /* Заобля ъглите на снимката */
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-wrapper:hover {
  transform: translateY(-5px); /* Леко повдигане при hover */
  box-shadow: 0 15px 40px var(--shadow-medium); /* По-изразена сянка при hover */
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: auto; /* Запазва пропорциите на снимката */
  object-fit: cover; /* За да се уверим, че покрива контейнера си */
}

.text-content {
  flex: 1; /* Позволява на текста да заема наличното пространство */
  min-width: 300px; /* Минимална ширина, преди да се пренареди */
  padding: 20px 0; /* Отстъп, ако е необходимо */
}

.text-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.8em; /* Голямо заглавие */
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.text-content p {
  font-size: 1.15em;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Стилизация за бутона (Primary Button) */
.primary-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.primary-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: var(--white);
}

.primary-button i {
  margin-left: 10px;
  font-size: 0.9em;
  transition: transform 0.2s ease;
}

.primary-button:hover i {
  transform: translateX(5px);
}

/* Медийни заявки за адаптивен дизайн */
@media (max-width: 992px) {
  .image-text-cta-content {
    gap: 30px;
    flex-direction: column;
  }
  .image-wrapper {
    min-width: unset; /* Позволява му да свие повече на таблети */
    width: 100%; /* На малки екрани да заема цялата ширина */
  }
  .text-content {
    min-width: unset;
    width: 100%;
    text-align: center; /* Центрира текста на по-малки екрани */
  }
  .text-content h2 {
    font-size: 2.2em;
  }
  .text-content p {
    font-size: 1em;
  }
  .primary-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .image-text-cta-section {
    padding: 60px 0;
  }
  .text-content h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 576px) {
  .image-text-cta-section {
    padding: 40px 0;
  }
  .image-text-cta-content {
    gap: 20px;
  }
  .image-wrapper {
    border-radius: 8px;
  }
  .text-content h2 {
    font-size: 1.5em;
  }
  .text-content p {
    font-size: 0.95em;
  }
  .primary-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

/* FAQ секция */

.faq-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-container h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
  font-weight: bold;
}

.faq-item {
  background-color: white;
  border: 2px solid #efefef;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 1rem 1.5rem;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  font-size: 1.1rem;
}

.faq-question::before {
  content: "▼";
  position: absolute;
  left: -10px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::before {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  padding: 1rem 1.5rem;
  max-height: 300px;
  opacity: 1;
}

/* Review */

.text-format-reviews-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background-color: #ffffff;
}

.text-format-reviews-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.text-format-reviews-section .reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.text-format-reviews-section .review-card {
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-format-reviews-section .review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.text-format-reviews-section .review-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: #555;
}

.text-format-reviews-section .review-author {
  font-weight: bold;
  color: #222;
}

.text-format-reviews-section .stars {
  color: #f5b301;
  margin-bottom: 0.5rem;
}

/* ---------- Mobile Slider Styles ---------- */
@media (max-width: 768px) {
  .text-format-reviews-section .reviews-grid {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

  .text-format-reviews-section .review-card {
    min-width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 0;
    margin: 0;
    height: auto;
    background-color: #f9f9f9;
  }
}

/* prices */

.pricing-section {
  max-width: 900px;
  margin: 80px auto 0 auto;
}

.pricing-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.accordion-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  padding: 1.2rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  background-color: #fff;
}

.accordion-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1rem;
}

.accordion-content.open {
  padding: 1rem;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.price {
  color: #e53935;
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 0.3rem;
}

.features {
  margin-top: 0.8rem;
  padding-left: 1rem;
  color: #555;
}

.features li {
  margin-bottom: 0.4rem;
}
