/* ===== Общи стилове ===== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #222;
}

/* Навигация */
header {
  position: sticky;
  top: 0;
  background-color: #111;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0 auto; /* центрира UL-то */
}

.nav-links li a {
  color: #eee;
  font-weight: bold;
}

/* ===== DROPDOWN MENU (оптимизирано) ===== */

/* Родителят трябва да има позиция за абсолютното позициониране */
.nav-links li.dropdown {
  position: relative;
}

/* Скритото меню */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;         /* пада точно под линка */
  left: 50%;         /* центрираме по хоризонтала */
  transform: translateX(-50%); /* изместваме за да е точно под текста */
  background-color: #111;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  padding: 10px 0;
  z-index: 999;
  text-align: left;
}

/* Показване при hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Вътрешни линкове */
.dropdown-menu li {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: #e63946;
  color: #fff;
}






/* ===== Секцията за инструкторите ===== */
.instructors-intro {
  padding: 120px 20px;
  text-align: center;
  background: #fff;
  color: #111;
}


.instructors-intro h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  margin: 0 0 30px 0;
  color: #111;
}

.instructors-intro h4 {
  font-weight: 400;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto;
}


/* Секцията с кутиите */
.instructors-preview {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 0;
  margin: 0;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

/* Всяка отделна кутия */
.instructor-box {
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  position: relative; /* нужно за overlay ефекта */
}

/* Hover ефект върху кутията */
.instructor-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgb(0, 0, 0);
}

/* Снимката вътре */
.instructor-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: grayscale(70%) brightness(70%); /* 🩶 прави я сива и по-тъмна */
  transition: all 0.4s ease;
}

/* При hover снимката става цветна и ярка */
.instructor-box:hover img {
  filter: grayscale(0%) brightness(100%);
}

/* Текст под снимката */
.instructor-box h3 {
  color: #fff;
  margin: 15px 0 5px;
  font-size: 1.3rem;
}

.instructor-box p {
  font-size: 0.95rem;
  color: #111;
  padding: 0 15px 20px;
}





/* Footer */
.footer {
  background-color: #111;
  color: #eee;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between; /* всички колони на един ред */
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap; /* за мобилни устройства */
}

.footer-box {
  flex: 1 1 200px; /* всички колони гъвкави и еднакви */
  min-width: 190px;
}

.footer-box h3 {
  color: #ff0000;
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-box p,
.footer-box ul {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 6px;
}

.footer-box ul li a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-box ul li a:hover {
  color: #ff0000;
}

/* Партньори - вертикално подредени логота */
.footer-partners {
  display: flex;
  flex-direction: column; /* едно под друго */
  gap: 40px;
}

.footer-partners a {
  display: block;
  width: 70%;
  height: 50px;
  background: #fff;
  padding: 5px;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.footer-partners a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-partners img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
}
.partners-logos {
  display: flex;
  flex-direction: column; /* вертикално подредени */
  gap: 10px; /* разстояние между кутиите */
  align-items: flex-start; /* или center, ако искаш кутиите центрирани */
}

.partners-logos a {
  display: block;
  width: 220px;   /* намалена ширина */
  height: 40px;   /* намалена височина */
  background: #fff;
  padding: 3px;   /* по-малко вътрешно разстояние */
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.partners-logos a:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.partners-logos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Социални мрежи — малки квадратчета */
/* Контейнерът остава вертикален */
.social-logos {
  display: flex;
  flex-direction: column;
  gap: px;
}

/* Само логото — кликваемо */
.social-logos a {
  display: inline-block;
  width: fit-content; 
  height: fit-content;
}

/* Контролираш размера на самата иконка */
.social-logos img {
  width: 70px;    /* ширина на иконата */
  height: 70px;   /* височина на иконата */
  object-fit: contain;
  transition: transform 0.25s ease;
}

.social-logos img:hover {
  transform: scale(1.12);
}




/* Секцията с кутиите */
./* Секцията с кутиите */
.instructors-preview {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 0;
  margin: 0;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

/* Всяка отделна кутия */
.instructor-box {
  background: #111;
  width: 400px;             /* зададена ширина */
  height: 500px;            /* зададена височина */
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Hover ефект */
.instructor-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgb(0, 0, 0);
}

/* Снимката вътре */
.instructor-box img {
  width: 100%;          /* винаги заема цялата ширина на кутията */
  height: 350px;        /* фиксирана височина в кутията */
  object-fit: cover;    /* запълва без деформация */
  display: block;
}

/* Контейнер за текста под снимката */
.instructor-box .text-area {
  position: relative;
  background: #111;
  height: 130px;            /* по-малка черна зона */
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Име на инструктора */
.instructor-box h3 {
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
  margin: 0;
}

/* Втори текст долу вляво */
.instructor-box p {
  color: #fff;
  font-size: 1.1rem;
  text-align: left;
  margin: 0;
  position: absolute;
  bottom: 10px;
  left: 15px;
}



.ski-school-pricing {
  background-color: #fff;
  color:  #111;
  padding: 40px 20px;
}

.ski-school-pricing h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-align: center;
}

h4 {
   font-size: 1rem;      /* по-малък размер на текста */
  color: #333;          /* бял текст */
  text-align: center;   /* центриране под заглавието */
  margin-top: 20px;     /* разстояние от основното заглавие */
  line-height: 1.5;     /* по-удобно четене за дълъг текст */
  font-weight: 400;     /* нормална дебелина */
}




/* === Основен стил за всички секции с таблици === */
.ski-school-pricing,
.lesson-section {
  background-color: #fff;
  color: #000;
  padding: 60px 20px;
}

/* === Подзаглавия (subtitle) === */
.ski-school-pricing .subtitle,
.lesson-section .subtitle {
  font-size: 2rem;
  color: #000;
  background-color: transparent; /* ❌ маха белия фон под текста */
  text-align: right;
  margin: 60px 0 30px 0;
  font-weight: 600;
}

/* === Таблици === */
.ski-school-pricing table,
.lesson-section table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #000;
  color: #000;
  margin-bottom: 80px;
  background-color: #fff;
}

/* === Клетки === */
.ski-school-pricing th,
.ski-school-pricing td,
.lesson-section th,
.lesson-section td {
  padding: 12px 15px;
  border: 1px solid #000;
  text-align: center;
  color: #000;
}

/* === Заглавен ред === */
.ski-school-pricing th,
.lesson-section th {
  background-color: #000;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === Четни и нечетни редове === */
.ski-school-pricing tr:nth-child(even),
.lesson-section tr:nth-child(even) {
  background-color: #f5f5f5;
}

.ski-school-pricing tr:nth-child(odd),
.lesson-section tr:nth-child(odd) {
  background-color: #fff;
}

/* === Hover ефект === */
.ski-school-pricing tr:hover,
.lesson-section tr:hover {
  background-color: #ddd;
  transition: background 0.3s ease;
}






 /* SEKVIQ VIP  */
 .lesson-section {
  background: #fff;
  color: #000;
  padding: 60px 20px;
  text-align: center;
}

.lesson-section h2 {
  font-size: 4rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lesson-section h4 {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 30px;
}

.lesson-section table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #000;
  color: #000;
  margin-bottom: 80px;
  background-color: #fff;
}
.lesson-section .subtitle {
  font-size: 2rem;
  color: #000;
  background-color: #fff;
  text-align: right;
  margin: 60px 0 30px 0;
  font-weight: 600;
}

.lesson-section th, 
.lesson-section td {
  border: 1px solid #000;
  padding: 12px 15px;
}

.lesson-section th {
  background: #000;
  color: #fff;
}

.lesson-section tr:nth-child(even) {
  background: #f5f5f5;
}

.lesson-section .info-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
  max-width: 700px;
  margin: 0 auto 20px;
}

.lesson-section .video-btn {
  background: #000;
  color: #fff;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.lesson-section .video-btn:hover {
  background: #333;
}

/* === Ski Video Popup === */
.video-popup-ski {
  display: none;              /* скрито, докато не се активира */
  position: fixed;            /* фиксирано – за да покрива екрана */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* фон зад видеото */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Контейнерът за видеото */
.video-content-ski {
  position: relative;
  width: 80%;
  max-width: 900px;
  background: none;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

/* Самото видео */
.video-content-ski video {
  width: 80%;        /* направи го по-малко — 70% от ширината на екрана */
  max-width: 1200px;  /* горна граница, за да не е прекалено голямо */
  max-height: 550px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  object-fit: cover;
  filter: contrast(105%) brightness(105%);
}

/* Хикс за затваряне */
.close-btn-ski {
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  font-size: 24px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  transition: background 0.3s ease;
}

.close-btn-ski:hover {
  background: rgba(200, 200, 200, 0.9);
}


/* === Snowboard Video Popup === */
.video-popup-snowboard {
  display: none;              /* скрито, докато не се активира */
  position: fixed;            /* фиксирано – за да покрива екрана */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* фон зад видеото */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Контейнерът за видеото */
.video-content-snowboard {
  position: relative;
  width: 80%;
  max-width: 900px;
  background: none;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

/* Самото видео */
.video-content-snowboard video {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  border-radius: 10px;
  object-fit: cover;
}

/* Хикс за затваряне */
.close-btn-snowboard {
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  font-size: 24px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  transition: background 0.3s ease;
}

.close-btn-snowboard:hover {
  background: rgba(200, 200, 200, 0.9);
}



