/* =========================================== */
/*                GLOBAL STYLE                 */
/* =========================================== */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1e1e2f, #2c3e50);
    color: #fff;
}

/* =========================================== */
/*                    HEADER                    */
/* =========================================== */

header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;                         
    padding: 15px 30px;                
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
	margin: 0 auto;
}
.header-logo {
margin-right: 80 px;
display: flex;
align-items: center;
}
/* Header при scroll */
header.scrolled {
    padding: 10px 30px;
    background: rgba(0,0,0,0.35);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Лого анимация при hover + scroll */
header img {
    height: 60px;
    transition: transform 0.3s ease;
}


header.scrolled img,
header img:hover {
    transform: scale(1.05);
}

/* === DESKTOP (основен стил) === */
h1 {
    position: relative;
    display: inline-block;
    color: white;
    font-size: 3rem;
    animation: wobble 10s infinite;
}

h1::after {
    content: "";
    position: absolute;
    left: 0;               /* ВИНАГИ започва под първата буква */
    bottom: -8px;
    height: 3px;
    background: #ff2a2a;

    width: 15px;
    animation: lineCycle 10s infinite;
}

/* === TABLET (до 1024px) === */
@media (max-width: 1024px) {

    h1 {
        font-size: 2.4rem;
    }

    h1::after {
        bottom: -6px;
        height: 3px;
        left: 0;          /* държим линията под първата буква */
    }
}

/* === MOBILE (до 600px) === */
@media (max-width: 600px) {

    h1 {
        font-size: 1.9rem;
        line-height: 1.3;
        display: inline-block;
        position: relative;
        text-align: left; /* важно: да не центрира текста */
    }

    h1::after {
        bottom: -5px;
        height: 2px;
        left: 0;          /* ключово! няма translate, няма център */
        width: 15px;
    }
}

/* === Анимация – wobble === */
@keyframes wobble {
    0%   { transform: rotate(0deg); }
    5%   { transform: rotate(-4deg); }
    10%  { transform: rotate(3deg); }
    15%  { transform: rotate(-2deg); }
    20%  { transform: rotate(1deg); }
    25%  { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/* === Анимация на линията === */
@keyframes lineCycle {
    0%   { width: 15px; }
    25%  { width: 15px; }
    40%  { width: 100%; }
    100% { width: 100%; }
}



/* Контейнер – не е задължителен, но стабилизира картинката */
.woodpecker-box {
    display: inline-block;
    position: relative;
}
 
/* Картинка на кълвач */
.woodpecker {
    display: inline-block;
    width: auto;        /* използва оригиналния размер */
    height: auto;       /* не го размазва */
    transform-origin: top center;
    animation: woodpecker-peck 1.2s ease-in-out infinite;
}
 
/* Клатене на кълвача */
@keyframes woodpecker-peck {
    0%   { transform: rotate(0deg); }
    15%  { transform: rotate(-18deg); }
    30%  { transform: rotate(10deg); }
    45%  { transform: rotate(-10deg); }
    60%  { transform: rotate(5deg); }
    75%  { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}
/* =========================================== */
/*                 NAVIGATION                   */
/* =========================================== */

nav {
    display: flex;
    gap: 50px;
    background: none;
	margin-left: 200 px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: red;
    transition: width 0.3s ease;
}

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

nav a:hover {
    color: red;
}

/* =========================================== */
/*            Hamburger бутон                  */
/* =========================================== */

.mobile-menu-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.mobile-menu-btn.active {
    transform: translateY(-50%) rotate(90deg);
}


/* =========================================== */
/*                 HERO SECTION                 */
/* =========================================== */

/* Hero background */
.hero {
  position: relative;
  height: 90vh;
  background: url("https://dtpkal.eu/assets/images/first.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Overlay gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.55)
  );
}

/* Glass box */
.hero-content {
  position: relative;
  max-width: 900px;
  padding: 2rem;
  color: #ffffff;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  opacity: 0; /* start hidden for animation */
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

/* Animate on load */
.hero-content.animate-hero {
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

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

/* Text */
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* Button */
.btn-primary {
  background: #00c853;
  color: #0b0f0c;
  padding: 14px 36px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease, transform 0.3s ease;
}

/* Button hover animation */
.btn-primary:hover {
  background: #00e676;
  transform: translateY(-3px) scale(1.05);
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
  .hero {
    height: 75vh;
    padding: 1rem;
  }

  .hero-content {
    max-width: 85%;
    padding: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.15rem;
  }

  .btn-primary {
    padding: 12px 32px;
    font-size: 1rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
    padding: 0.5rem;
  }

  .hero-content {
    max-width: 90%;
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .btn-primary {
    padding: 10px 28px;
    font-size: 0.95rem;
  }
}


/* =========================================== */
/*                   FOOTER                     */
/* =========================================== */

footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 5px;
}

/* =========================================== */
/*            📱 MOBILE RESPONSIVE             */
/* =========================================== */

@media (max-width: 768px) {

    header {
        justify-content: space-between;
    }
.header-logo {
margin-right: 0;
}
    .mobile-menu-btn {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        background: rgba(0,0,0,0.5);
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        gap: 15px;
        transition: all 0.3s ease;
    }

    nav.open {
        display: flex;
    }

    nav a {
        font-size: 1.2rem;
    }

    .hero {
        padding: 80px 15px;
    }

    .hero img {
        width: 140px;
    }

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

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

    footer {
        font-size: 0.8rem;
        padding: 15px;
    }
}

/* езикът си стои ВИНАГИ вдясно */
    .lang-select {
        margin-left: auto;
    }

@media (max-width: 480px) {
    nav a {
        display: block;
        margin: 8px 0;
        font-size: 1.3rem;
    }

    .hero img {
        width: 120px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }
.header-logo {
margin-right: 0;
}

}
.lang-switch img {
    width: 30px;
	height: 15px;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.3s;
}

.lang-switch img:hover {
    transform: scale(1.1);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    position: relative;
}

.logo {
    max-height: 50px;
}

nav {
    display: flex;
    gap: 20px;
}

/* ================================ */
/* MOBILE MENU FIX + LANGUAGE FIX   */
/* ================================ */

@media (max-width: 768px) {

    /* менюто ВИНАГИ затворено по подразбиране */
    nav {
        display: none !important;
    }

    nav.open {
        display: flex !important;
    }

    /* Burger – най-вдясно */
    .mobile-menu-btn {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3000;
    }

    /* Език dropdown – вляво от burger */
    .lang-select {
        position: absolute;
        right: 55px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3000;
    }
}
/* Стилове за формата за контакт */
.contact-form {
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: 40px auto;
    padding: 0px;
    background: none;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    text-align: left;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Стилове за формата за език */
.language-form {
    margin-top: auto;
}

.lang-select {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
}

.lang-select option {
    background: #1e1e2f;
    color: #fff;
}


.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 18px;
  font-weight: 700;
  color: #e6e6e6;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Зелена точка */
.feature-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.2rem;
  color: #00c853;
  transition: all 0.3s ease;
}

/* Hover ефект */
.feature-list li:hover {
  color: #00e676;
  transform: translateX(6px);
}

.feature-list li:hover::before {
  color: #00e676;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

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

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

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #e6e6e6;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* ✔ тикче */
.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff2a2a;
  font-size: 1.1rem;
}

/* лек hover ефект */
.check-list li:hover {
  color: #ff2a2a;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .check-list li {
    font-size: 1rem;
    padding-left: 24px;
  }

  .check-list li:hover {
    transform: none;
  }
}

.styled-h3 {
  position: relative;
  font-size: 1.6rem; /* можеш да нагласиш */
  font-weight: 700;
  color: #e6e6e6;
  margin-bottom: 1rem;
  padding-left: 32px; /* място за "иконата" */
  transition: color 0.2s ease, transform 0.2s ease;
}

/* цветен символ пред заглавието (като тикче) */
.styled-h3::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  color: #ff2a2a; /* можеш да смениш цвета */
  transition: all 0.2s ease;
}

/* hover ефект */
.styled-h3:hover {
  color: #ff2a2a;
  transform: translateX(4px);
}

.styled-h3:hover::before {
  transform: scale(1.2);
  text-shadow: 0 0 4px rgba(255, 42, 42, 0.7);
}

/* Стил за параграфите под h3 */
.styled-h3 + p {
  margin-left: 40px; /* отстъп от тикчето */
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* мобилни устройства */
@media (max-width: 768px) {
  .styled-h3 {
    font-size: 1.3rem;
    padding-left: 28px;
  }

  .styled-h3:hover {
    transform: none;
  }
}

  .styled-h3 + p {
    margin-left: 28px;
    font-size: 0.95rem;
  }
  

