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

/* ==== ОСНОВА ==== */
html, body {
  height: 100%;
  font-family: "Open Sans", sans-serif;
  background: none;
  color: #333;
  display: flex;
  flex-direction: column;
}



main {
  flex: auto; 
}



/* ==== НАВИГАЦИЯ ==== */
nav {
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* hamburger бутон */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Десктоп меню */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.logo {
  font-size: 1.6em;
  font-weight: bold;
  color: #ff6f61;
  text-decoration: none;
}

/* Линкове*/
.nav-links a,
.side-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
  display: inline-block;
}

.nav-links a::after,
.side-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #ff6f61;
  transition: width 0.3s;
}

.nav-links a:hover,
.side-menu a:hover {
  color: #ff9472;
}

.nav-links a:hover::after,
.side-menu a:hover::after {
  width: 100%;
}

.nav-links i,
.side-menu i {
  font-size: 1.2em;
}

/* ==== SIDE MENU (мобилно) ==== */
.side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #222;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 2000;
}

.side-menu.active {
  left: 0;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.side-menu .submenu {
  margin-left: 15px;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.side-menu .has-submenu.open .submenu {
  display: flex;
}

/* бутон за затваряне */
.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  cursor: pointer;
  margin-bottom: 20px;
}

/* overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1500;
}

.overlay.active {
  display: block;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .nav-links {
    display: none; 
  }

  .hamburger {
    display: flex;
  }
}




/* ==== HERO / КАРОСЕЛ ==== */
.carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.7s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}

.carousel-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 20px;
  background: rgba(0,0,0,0.35);
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.carousel-overlay h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 15px;
  font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #ff6f61, #ff9472);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn:hover {
  background: linear-gradient(135deg, #e55a4d, #ff6f61);
  transform: translateY(-2px) scale(1.05);
}
@media(max-width:768px){
  .slide img{
    height:40vh;
  }
}
body.home-page{
  background-color: #f8f8f8;
}

/* Стрелки */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 22px;
  z-index: 10;
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}







/* ==== CONTENT ==== */
.content {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}

.content h2 {
  margin-bottom: 20px;
  font-size: 2em;
  color: #111;
}

.content ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.8;
}

/* ==== FOOTER ==== */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  background:linear-gradient(135deg, #111, #333);
  color:#fff;
  font-size: 0.95em;
  letter-spacing: 0.5px;
  border-top: 1px solid #ddd;
  position: relative;
}

footer a {
  color: #ff9472;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #ff6f61;
  transition: width 0.3s;
}

footer a:hover {
  color: #ff6f61;
}

footer a:hover::after {
  width: 100%;
}

/* ==== CONTACT PAGE ==== */
body.contact-page{
background-image: url("7.jpg") ;
  background-size: cover;
 background-repeat: no-repeat;
 background-position: center;
 background-attachment: fixed;
 
  color: #fff;
  
}
.contact-hero {
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  margin: 80px auto 40px;

  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);

  color: #fff;
}

.contact-hero h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #000000;
}

.contact-hero p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #000000;
}


.contact-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.contact-card i {
  font-size: 1.8em;
  color: #ff6f61;
  min-width: 40px;
  text-align: center;
}

.contact-card h3 {
  font-size: 1.1em;
  margin-bottom: 5px;
  color: #111;
}

.contact-card a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  color: #ff6f61;
}

.map {
  flex: 1;
  min-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px; 
  border: 0;
  display: block;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
  }

  .overlay h2 {
    font-size: 1.8em;
  }

  .overlay p {
    font-size: 1em;
  }

  .contact-info {
    flex-direction: column;
  }

  .map {
    min-width: 100%;
  width: 100%;
    height: auto;
  }
  .map iframe{
width: 100%;
height: 300px;
  }
}
/* Секция Услуги */
.services-section {
  padding-top: 30px;
  padding-bottom: 30px;
  
  text-align: center;

}
body.service-page{
  background-image: url("7.jpg") ;
  background-size: cover;
 background-repeat: no-repeat;
 background-position: center;
 background-attachment: fixed;
 
  color: #fff;
}

.services-section h1 {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #000000;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  gap: 15;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
  font-size: 2.2em;
  color: #ff6f61;
  margin-bottom: 20px;
}

.service-card h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #222;
}

.service-card p {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}
.services-grid {
  display: grid;
 
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* картите */
.service-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}
 /* ==== ABOUT PAGE ==== */
body.about-page {
  background-image: url("7.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  font-family: "Poppins", sans-serif;
  color: #fff;
  margin: 0;
}

/* Централен контейнер */
.intro-about {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40 20px;
}

/* Картичка със съдържанието */
.about-card {
  background: rgba(255, 255, 255, 0.9); 
  border-radius: 16px;
  padding: 50px;
  max-width: 900px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px); 
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

/* Анимация */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Заглавие */
.about-card h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
  color: #222;
  position: relative;
}

.about-card h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #e63946; 
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Текст */
.about-card p {
  font-size: 1.15em;
  line-height: 1.8;
  text-align: justify;
  color: #333;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .about-card {
    padding: 20px;
    border-radius: 12px;
  }
  .about-card h2 {
    font-size: 1.6em;
  }
  .about-card p {
    font-size: 1em;
  }
}

/* Dropdown меню */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #222;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  min-width: 200px;
  z-index: 999;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}



/* показване при hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Дизайн на индивидуалните страници за услуги */
.service-detail {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 40px 20px;

}

.service-card-detail {
  width: 100%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  text-align: center;
  animation: fadeInUp 0.8s ease;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.service-card-detail h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #222;
}

.service-card-detail p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1.05em;
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Секция под слайдера */
.intro-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: #fff;
}

.intro-card {
  max-width: 900px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  text-align: center;
  animation: fadeInUp 1s ease;
}

.intro-card h2 {
  font-size: 2em;
  color: #222;
  margin-bottom: 20px;
}

.intro-card p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.feature {
  background: #fdfdfd;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.feature i {
  font-size: 2.5em;
  color: #ff6f61;
  margin-bottom: 15px;
}

/* Картинката във футъра */
.project-image {
    max-width: 260px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* Desktop: показва само във футъра */
.desktop-only {
    display: block;
}

/* Mobile: показва само в sidebar */
.mobile-only {
    display: none;
}

/* На мобилен – разменяме видимостта */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
        width: 90%;
        margin: 20px auto;
    }
}



/* EU Corner – малка, прибрана картинка */
.eu-corner {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 120px;       /* регулираш размера */
    opacity: 0.95;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Мобилно – махаме от футъра */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* Popup overlay */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Голямата снимка */
.popup-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}

/* X бутон */
.close-popup {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}





