/* ========== Fonts (включи го в началото на base.css) ========== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&family=Quattrocento+Sans:wght@400;700&display=swap');




/* ========== Variables & base typography ========== */
:root {
    --primary-blue: #0066cc;
    --hover-blue: #0088ff;
    --light-blue: #e6f2ff;
    --muted-navy: #cdd9e8;
    --soft-gray: #f0f4f8;
    --dark-bg: #2c3e50;
    --light-bg: #ffffff;
    --light-gray: #f7f9fc;
    --text-dark: #333333;
    --header-height: 80px;
    --max-width: 1200px;
}

* { box-sizing: border-box; }


html {
    scroll-behavior: smooth;;
}

body {
    font-family: 'Quattrocento Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.4;
    color: var(--text-dark);
    background-color: var(--light-bg);
    /* padding-top заради фиксирания header */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-dark);
    
}

h2 {
    text-align: center;
    font-size:3.125rem;
    margin-bottom:2.3rem;
}

 .hero h1 {
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}


p {
    font-size: 1.125rem; /* ~18px */
    font-family:'Open Sans';
    line-height: 1.8;
    margin: 0 0 1.25rem 0;
    color: var(--text-dark);
}

.hero, 
.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 2rem;
  min-height: 60vh;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 90% 60%;
  z-index: 1;
  filter: brightness(65%); /* за да изглежда като твоя rgba overlay */
}

.hero h1 {
    position:relative;
    z-index: 999;
    font-size: 4.06rem;
    text-align:left;
    color: white;
}


.header {
    background-color: var(--light-bg);
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 4rem 1rem 0rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-img {
  width: clamp(180px, 24vw, 350px);
  height: auto;
  margin: 0; /* премахни отрицателните стойности */
  object-fit: contain;
  display: block;
}
/* Контейнер за логото и контактите */
.logo-and-contacts {
    display: flex;
    flex-direction: column; /* контактите над логото */
    align-items: flex-start;
    gap: 0.3rem;
    margin-left:2rem;
}



/* Контактна лента */
.contact-info-before-header {
    display: flex;
    
    gap: 1rem;
    font-size: 0.9rem;
    color: #333;
}

.contact-info-before-header p {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    margin: 0;
}

.phone-link,
.mail-link {
  text-decoration: none;  /* махаме underline по подразбиране */
  color: #333;            /* нормален цвят на текста */
  font-weight: 600;
  transition: color 0.3s, text-decoration 0.3s;
}

/* при hover - лек цвят и underline */
.phone-link:hover,
.mail-link:hover {
  color: #0078ff;
  text-decoration: underline;
  cursor: pointer;
}

/* малък touch feedback за мобилни */
.phone-link:active,
.mail-link:active {
  opacity: 0.7;
}


/* бургер бутон */
.burger {
  display: none; /* скрито на desktop */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}



.logo-text {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    margin-left: 2rem;
    grid-column: 1;
}

.nav-link {
    position:relative;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    transition: color 0.3s ease;
}


/* общ стил за линиите */
.nav-link span {
    position: absolute;
    background: var(--primary-blue);
    transition: all 0.4s ease;
    pointer-events: none;
}

/* top line */
.nav-link span:nth-child(1) {
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
}

/* right line */
.nav-link span:nth-child(2) {
    top: 0;
    right: 0;
    height: 0;
    width: 2px;
}

/* bottom line */
.nav-link span:nth-child(3) {
    bottom: 0;
    right: 0;
    height: 2px;
    width: 0;
}

/* left line */
.nav-link span:nth-child(4) {
    bottom: 0;
    left: 0;
    height: 0;
    width: 2px;
}

/* hover animations */
.nav-link:hover span:nth-child(1) {
    width: 100%;
    transition: width 0.3s ease;
}

.nav-link:hover span:nth-child(2) {
    height: 100%;
    transition: height 0.3s ease 0.17s;
}

.nav-link:hover span:nth-child(3) {
    width: 100%;
    transition: width 0.3s ease 0.36s;
}

.nav-link:hover span:nth-child(4) {
    height: 100%;
    transition: height 0.3s ease 0.56s;
}

/* текстът също сменя цвят */
.nav-link:hover {
    color: var(--primary-blue);
}


.nav-container {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
}

.nav-link:hover {
    color: var(--hover-blue);
}

.nav-link.active span {
  transform: scaleX(1) scaleY(1); /* рамките да са напълно разтворени */
  opacity: 1;
}

.nav-link.active span {
    opacity: 1 !important; /* задължително, за да override-не hover transition */
}

.nav-link.active {
    color: #1e88e5;
    font-weight: bold;
}
.nav-link span {
    pointer-events: none; /* много важно, за да може click да работи */
}



.footer {
    font-family: 'Quattrocento Sans', sans-serif;;
    background-color: var(--light-blue);
    color: black;
    padding: 2rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
   
    
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--dark-bg);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--hover-blue);
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #0066cc50;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}





/* 🍪 COOKIE BANNER - REFINED VERSION */
.cookie-banner {
  position: fixed;
  bottom: 30px;
  right: 30px; /* за ляво: left: 30px; */
  width: 380px;      
  max-width: 95%;
  padding: 25px 28px; 
  background: rgba(255, 255, 255, 0.25); /* леко по-малка прозрачност */
  backdrop-filter: blur(8px) saturate(150%); /* по-малко размазване */
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;   
  line-height: 1.6;
  z-index: 9999;
  animation: fadeInUp 0.6s ease forwards;
}

/* Текст и линкове */
.cookie-banner p {
  font-size: 1rem;
  line-height: 1.5;
  padding-bottom: 1.5rem;
  text-align: left;
  margin: 0;
}

.cookie-banner a {
  color: var(--primary-blue);
  text-decoration: underline;
  font-weight: 600;
}

/* Опции за бисквитки */
.cookie-options {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.5rem;
  gap: 8px;
  width: 100%;
}

.cookie-options label {
  font-size: 14px; /* по-компактен шрифт */
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-options input {
  accent-color: var(--primary-blue);
  transform: scale(1.1); /* по-малки чекбокси */
}

/* Бутоните */
.cookie-actions {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
}

.cookie-actions button {
  background: var(--primary-blue);
  border: none;
  color: white;
  padding: 10px 20px; /* намалени бутони */
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cookie-actions button:hover {
  background: rgba(255,255,255,0.9);
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.reject-btn {
  background: transparent;
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
}

.reject-btn:hover {
  background: var(--primary-blue);
  color: #fff;
}

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

/* 📱 Responsive */
@media (max-width: 600px) {
  .cookie-banner {
    width: 95%;
    padding: 1.5rem 1rem !important;
    font-size: 1.125rem;
    bottom: 12px;
    right: 2.5%;
    left: 2.5%;
     
    backdrop-filter: blur(6px) saturate(140%);
  }

  .cookie-options label {
    font-size: 13px;
  }

  .cookie-actions button {
    padding: 8px 16px;
    font-size: 0.95rem;
  }
}













/* До 992px (таблети) */
@media (max-width: 992px) {
  .services-cta {
    right: 2rem;
    bottom: 2rem;
    gap: 0.8rem;
  }

  .cta-btn,
  .phone-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    min-width: 130px;
  }

  .about-grid {
        display:flex !important;
        flex-direction: column !important;
    }
}

/* Navigation CSS */
@media (max-width: 768px) {

  /* Header: от grid минаваме на flex */
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    position: relative; /* за падащото меню */
  }

  .hero-content h1 {
    text-align:center !important;
  }

  .services-cta {
    right: 0 !important;
  }

  .contact-info-before-header p {
    font-size: 0.8rem;
    text-decoration: none;
  }

  /* Лого */
  .logo-text {
    margin-left: 0; /* махаме излишното отстояние */
    font-size: 1.6rem;
  }

  /* Бургер бутон – показваме */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
  }

  .burger span {
    background: var(--text-dark);
  }

  /* Скриваме навигацията по подразбиране */
  .nav-container {
    position: absolute;
    top: 61px;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 1.2s ease, opacity 0.9s ease;
    z-index: 999;
  }

  /* Показваме при active */
  .nav-container.active {
    max-height: 500px;
    opacity: 1;
    border-bottom: 1px solid var(--text-dark);
  }

  .nav-container .nav-link {
    padding: 15px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  /* Навигационни линкове – вертикално */
  .nav-link {
    padding: 1rem 1.5rem;
    font-size: 1.3rem;
    border-bottom: 1px solid #f1f1f1;
  }

  .nav-link:last-child {
    border-bottom: none;
  }


  .hero {
    justify-content: center; /* центрираме съдържанието */
    padding: 80px 15px; /* по-малко вътрешно отстояние */
    background-position: center;
  }

  .hero-content {
    text-align: center; /* центрираме текста на мобилна версия */
  }

  .hero-content h1 {
    font-size: 2.5rem; /* по-малък размер за мобилни */
    text-align:center;
    line-height: 1.4;
    margin-bottom: 1rem;
    
  }

  .services-cta {
    justify-content: center; /* центрира бутоните хоризонтално */
    align-items: center;
    margin-top: 2rem; /* малко разстояние от текста */
    width: 100%;
  }

  .cta-btn,
  .phone-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    min-width: 120px;
  }

  /* Intro секция */


  .intro {
    padding: 2rem 1rem;
  }

  .intro-content {
    display: flex !important;
    flex-direction: column !important; /* една колона */
    gap: 2rem;
    padding: 0 1rem;
  }

  .intro-content h1 {
                font-size: 1.8rem;
                margin-bottom: 1rem;
            }

  .intro-text {
    text-align: left;
  }

  .intro-text p {
    font-size: 1rem;
    
  }

  .intro-text .mission {
    
    margin-bottom: 1.2rem;
  }

  .intro-image img {
    width: 100%;
    
    margin: 0 auto; /* центриране на снимката */
    border-radius: 10px;
  }

  /* Services секция */


  .services {
    padding: 2rem 1rem;
  }

  .services h2,
  .how-to-hire h2,
  .duties h2{
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
  }

  

  /* Фромата преди footer */

  .cta-section {
    flex-direction: column; /* подреждаме съдържанието вертикално */
    align-items: stretch;
    padding: 40px 20px;
    text-align: center;
  }

  .cta-content {
    align-items: center;
    margin-bottom: 2rem;
  }

  .cta-section h2 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .cta-section .working-hours {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    
  }

  .cta-button {
    width: 100%; /* бутоните стават на цяла ширина */
    text-align: center;
    font-size: 1rem;
    padding: 12px;
  }

  .contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .form-left,
  .form-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    font-size: 1rem;
    padding: 10px;
  }



  .content-wrapper {
    padding: 0;
  }

  .about-grid {
    display:flex; /* една колона */
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .about-us h2 {
    font-size:1.8rem !important;
    text-align: left;
  }

  

  .section-title {
    font-size:1.5rem;
    text-align:center;
  }

  .about-hero h1 {
    font-size:2.5rem !important;
    text-align: center !important;
  }



  .about-text {
    order: 1; /* винаги първи */
    text-align: left !important;
    padding: 0 1rem;
  }

  .about-image {
    order: 2; /* винаги втори */
    max-width: 500px;
    margin: 0 auto;
  }


  .mission-content h2, .why-us h2 {
    font-size: 1.8rem !important;
  }

  .form-submit {
    display: flex;
    justify-content: center;
  }

  .form-submit button {
    max-width: 200px;
  }

  .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }



    
  
}



@media (max-width: 480px) {

  p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .logo-and-contacts {
    
    margin-left:0;
}
  .hero {
    padding:1rem !important;
    min-height: 40vh !important;
    padding: 60px 10px;
  }

  .hero-content h1 {
    font-size: 1.6rem !important; /* още по-малък на телефони */
  }

  .services-cta {
    right: 0;
    bottom: 1rem;
    gap: 0.5rem;
  }

  .cta-btn,
  .phone-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    min-width: 110px !important;
    border-radius: 6px;
  }

  .intro-content h1 {
    font-size: 1.5rem !important;
  }

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


}









/* Duties секция */
@media (max-width: 1024px) {
  .duties {
    padding: 3rem 1rem;
  }


 .grid-layout  {
    max-width:900px;
    display: flex;
    flex-direction: column; /* подреждаме картите една под друга */
    gap: 1.5rem;
    padding: 0 1rem;
  }


  .duty-details ul {
    font-size: 1rem;
  }

  .duty-details li {
    padding: 0.4rem 0;
  }
  .duty-details {
    text-align:center;
  }
}










/* Mobile (до 425px) */
@media (max-width: 480px) {
  .about-grid {
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .about-hero {
    min-height: 40vh !important;
  }

  .about-hero h1 {
    text-align:center;
    font-size: 1.6rem !important;
  }

  .about-us h2 {
    font-size:1.5rem !important;
    text-align: center;
  }

  .about-text {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 0.r5rem;
  }

  .about-image {
    max-width: 100%;
  }

  .about-image img {
    border-radius: 6px;
  }

  .mission-content h2, .why-us h2 {
    font-size: 1.5rem !important;
  }

  .hero-contact {
    min-height: 40vh !important;
  }
}



/* 💡 За големи екрани – Full HD и нагоре */
@media (min-width: 1920px) {
  .intro,
  .services,
  .how-to-hire,
  .duties,
  .why-choose-us,
  .cta-section,
  .contact-wrapper,
  .map,
  .footer-content,
  .section {
    
    margin: 0 auto;
    
  }

  h1 {
    font-size: 4.6rem !important; /* леко увеличение */
  }

  h2 {
    font-size: 3.5rem !important;
  }

  p {
    font-size: 1.25rem !important;
    line-height: 1.7 !important;
  }
}

/* 💎 За 4K екрани (3840px и нагоре) */
@media (min-width: 2560px) {
  .header {
    padding: 2rem 4rem 2rem 0rem;
  }
  .logo-img{
    width: clamp(180px, 24vw, 500px);
  }

  .nav-link {
    font-size: 3.3rem;
  }
  
  .cta-btn, .phone-btn {
    padding: 1.9rem 1.8rem;
    font-size: 3.5rem;
    font-weight: 550;
    border-radius: 20px !important;
  }


  

  .nav-link {
    font-size:3.3rem;
  }

  .services,
  .how-to-hire,
  .duties,
  .why-choose-us,
  .cta-section,
  .contact-wrapper,
  .map,
  .footer-content,
  .section {
    margin: 0 auto;
  }

  h1 {
    font-size: 8.3rem !important; /* 4.06 × 1.3 */
  }

  h2 {
    font-size: 6.06rem !important; /* 3.125 × 1.3 */
  }

  p {
    font-size: 2.75rem !important; /* 1.125 × 1.3 */
    line-height: 1.8 !important;
  }

  .intro-content {
    max-width: 2130px !important;
    padding: 4rem !important
  }



  .grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 2130px !important;
    margin: 0 auto;
    padding: 4rem;
  }

  .grid-layout h3 {
    font-size:3.5rem !important;
  }

  .duty-details li {
    font-size: 2.75rem !important;
  }

  .step-number,
  .card-icon-circle,
  .card-icon {
    width: 130px !important;
    height: 130px !important;
    font-size: 3.5rem !important;
  }


  .card-icon-circle i {
    font-size: 3.5rem !important;
  }

  .card-icon i {
    font-size: 5.5rem !important;
  }

  

  .cta-buttons a {
    font-size: 2.75rem;
    padding: 30px 45px;
  }


  .content-wrapper,
  .mission-content,
  .why-us-content {
    max-width: 2130px !important;
    padding: 4rem !important;
  }


.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 25px 40px !important;
  font-size:2.2rem !important;
}

.contact-form label {
  font-size: 2rem !important;
}

.contact-wrapper {
  padding: 0rem 4rem;
  max-width: 100% !important;
}

#contact-form-container {
  display:flex !important;
}

.form-submit button {
  padding: 25px 40px !important;
  font-size:2rem !important;
}

.logo-img-contact {
  width: clamp(180px, 18vw, 450px) !important;
}

.map {
  max-width: 2130px !important;
  
}

.map iframe {
  height: 650px;
}
  

  .footer-section h4 {
    font-size: 4.5rem !important;
  }

  .footer-section ul {
    font-size: 2.75rem !important;
  }

  .GDPR {
    font-size:2.75rem;
  }
}








