/* Google Fonts - рукописные шрифты для подписей */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Dancing+Script:wght@400;500;600;700&display=swap');

/* Header styles moved to css/components/header.css */


.masthead { position: relative; width: 100%; height: 100vh; background: url('/source/main.jpeg') center/cover no-repeat; background-size: cover; background-position: center center; }
.masthead::after { content: ""; position: absolute; inset: 0; background: rgba(0,54,120,.6); }
.masthead-overlay { position: relative; z-index: 1; min-height: inherit; padding: 0; display: flex; align-items: center; }
.masthead-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; width: 100%; padding: 260px 0 80px; }
.masthead-copy { text-align: left; }
.masthead-inner h1 { 
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  color: #fff; 
  font-size: clamp(28px, 4.8vw, 48px); 
  line-height: 1.15; 
  margin: 0 0 10px; 
  text-shadow: 0 8px 24px rgba(0,0,0,.35);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}
.masthead-inner p { color: #f4f7fb; max-width: 720px; font-size: clamp(16px, 2.2vw, 20px); margin: 0; text-shadow: 0 6px 16px rgba(0,0,0,.35); }

/* Polaroid photos */
.masthead-photos { position: relative; height: min(70vh, 600px); }
.polaroid { position: absolute; width: 280px; height: 340px; background: #fff; border-radius: 0; box-shadow: 0 14px 40px rgba(0,0,0,.35); padding: 18px 12px 20px; transform-origin: center; opacity: 0; visibility: hidden; }

/* Принудительно показываем карточки на мобильных устройствах */
@media (max-width: 640px) {
  .polaroid {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: absolute !important;
    z-index: 9999 !important;
    transform: none !important;
    animation: none !important;
  }
  
  .masthead-photos {
    display: block !important;
    position: relative !important;
    height: 300px !important;
    overflow: visible !important;
  }
  
  /* Принудительно показываем каждую карточку */
  .polaroid.p1,
  .polaroid.p2,
  .polaroid.p3 {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: absolute !important;
    z-index: 9999 !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  
  /* Переопределяем JavaScript анимацию */
  .polaroid.animate-in {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
  .polaroid {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: absolute !important;
    z-index: 9999 !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100px !important;
    height: 120px !important;
  }
  
  .polaroid.p1 {
    left: 40% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) translateX(-30px) !important;
  }
  
  .polaroid.p2 {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  
  .polaroid.p3 {
    left: 60% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) translateX(30px) !important;
  }
}
.polaroid .photo { width: 256px; height: 256px; border-radius: 0; background-size: cover; background-position: center; }
.polaroid .caption { position: absolute; bottom: 20px; left: 15px; right: 15px; text-align: center; font-size: 28px; font-weight: 500; color: #003678; font-family: 'Caveat', cursive, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji"; }
.polaroid.p1 { top: -20%; left: 50%; transform: rotate(-15deg); }
.polaroid.p2 { top: 5%; left: 8%; transform: rotate(12deg); }
.polaroid.p3 { top: 25%; left: 35%; transform: rotate(-8deg); }

/* Полароиды ниже на больших экранах */
@media (min-width: 1441px) {
  .polaroid.p1 { top: -5%; }
  .polaroid.p2 { top: 20%; }
  .polaroid.p3 { top: 40%; }
}

/* Polaroid animations */
.polaroid.animate-in {
  animation: polaroidFlyIn 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.polaroid.p1.animate-in {
  animation: polaroidFlyIn1 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.polaroid.p2.animate-in {
  animation: polaroidFlyIn2 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.polaroid.p3.animate-in {
  animation: polaroidFlyIn3 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes polaroidFlyIn1 {
  0% {
    transform: translate(-400px, -300px) rotate(-195deg) scale(0.2);
    opacity: 0;
  }
  100% {
    transform: rotate(-15deg) scale(1);
    opacity: 1;
  }
}

@keyframes polaroidFlyIn2 {
  0% {
    transform: translate(400px, -300px) rotate(192deg) scale(0.2);
    opacity: 0;
  }
  100% {
    transform: rotate(12deg) scale(1);
    opacity: 1;
  }
}

@keyframes polaroidFlyIn3 {
  0% {
    transform: translate(-400px, -300px) rotate(-188deg) scale(0.2);
    opacity: 0;
  }
  100% {
    transform: rotate(-8deg) scale(1);
    opacity: 1;
  }
}

/* Masthead text animations */
.masthead-copy {
  opacity: 0;
  visibility: hidden;
}

.masthead-copy.animate-in {
  animation: slideInFromLeft 1s ease-out forwards;
}

.masthead-copy h1 {
  opacity: 0;
  transform: translateX(-50px);
}

.masthead-copy.animate-in h1 {
  animation: slideInTitle 0.8s ease-out 0.2s forwards;
}

.masthead-copy p {
  opacity: 0;
  transform: translateX(-30px);
}

.masthead-copy.animate-in p {
  animation: slideInSubtitle 0.8s ease-out 0.5s forwards;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInTitle {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInSubtitle {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Header animation - теперь хедер всегда виден (удалено дублирование) */

@keyframes slideInFromTop {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Средние экраны */
@media (max-width: 1200px) {
  .polaroid { width: 240px; height: 290px; padding: 16px 11px 18px; }
  .polaroid .photo { width: 218px; height: 218px; }
  .polaroid .caption { font-size: 26px; }
}

/* Разрешение 1024px - карточки снизу с увеличенными размерами */
@media (max-width: 1024px) {
  .masthead-inner { 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 110px 0 90px;
  }
  
  .masthead-copy { 
    text-align: center;
    max-width: 800px;
    order: 0;
  }
  
  .masthead-copy h1 { 
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.8rem;
  }
  
  .masthead-copy p { 
    text-align: center;
    margin: 0 auto;
    font-size: 1.2rem;
    max-width: 85%;
  }
  
  .masthead-photos { 
    order: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: 350px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .polaroid { 
    position: absolute !important;
    width: 240px !important; 
    height: 290px !important; 
    padding: 18px 15px 22px !important;
  }
  
  .polaroid .photo { 
    width: 210px !important; 
    height: 210px !important;
  }
  
  .polaroid .caption { 
    bottom: 18px !important; 
    left: 15px !important; 
    right: 15px !important; 
    font-size: 26px !important;
    font-family: 'Caveat', cursive !important;
  }
  
  /* Веер для 1024px - увеличенный и опущенный ниже */
  .polaroid.p1 { 
    left: 45% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) translateX(-180px) rotate(-12deg) !important;
    z-index: 1 !important;
  }
  
  .polaroid.p2 { 
    left: 45% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) translateX(0px) translateY(-20px) rotate(0deg) !important;
    z-index: 2 !important;
  }
  
  .polaroid.p3 { 
    left: 45% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) translateX(180px) rotate(12deg) !important;
    z-index: 3 !important;
  }
}

/* Header styles moved to css/components/header.css */

/* iPad Pro - только самые большие планшеты */
@media (max-width: 1024px) and (min-height: 1300px) {
  .masthead-inner { 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 140px 0 120px;
    min-height: 85vh;
  }
  
  .masthead-copy { 
    text-align: center;
    max-width: 900px;
    order: 0;
  }
  
  .masthead-copy h1 { 
    text-align: center;
    margin-bottom: 30px;
    font-size: 3.6rem;
  }
  
  .masthead-copy p { 
    text-align: center;
    margin: 0 auto;
    font-size: 1.4rem;
    max-width: 80%;
  }
  
  /* Очень большой контейнер для iPad Pro */
  .masthead-photos { 
    order: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: 450px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Максимальные карточки для iPad Pro */
  .polaroid { 
    position: absolute !important;
    width: 280px !important; 
    height: 340px !important; 
    padding: 22px 18px 26px !important;
  }
  
  .polaroid .photo { 
    width: 244px !important; 
    height: 244px !important;
  }
  
  .polaroid .caption { 
    bottom: 22px !important; 
    left: 18px !important; 
    right: 18px !important; 
    font-size: 28px !important;
    font-family: 'Caveat', cursive !important;
  }
  
  /* Максимально широкий веер для iPad Pro */
  .polaroid.p1 { 
    left: 45% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) translateX(-220px) rotate(-10deg) !important;
    z-index: 1 !important;
  }
  
  .polaroid.p2 { 
    left: 45% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) translateX(0px) translateY(-25px) rotate(0deg) !important;
    z-index: 2 !important;
  }
  
  .polaroid.p3 { 
    left: 45% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) translateX(220px) rotate(10deg) !important;
    z-index: 3 !important;
  }
}

/* iPad Air и средние планшеты */
@media (max-width: 980px) and (min-height: 800px) and (max-height: 1299px) {
  .masthead-inner { 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 100px 0 120px;
    min-height: 75vh;
  }
  
  .masthead-copy { 
    text-align: center;
    max-width: 700px;
    order: 0;
  }
  
  .masthead-copy h1 { 
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.8rem;
  }
  
  .masthead-copy p { 
    text-align: center;
    margin: 0 auto;
    font-size: 1.2rem;
  }
  
  /* Увеличенный контейнер для iPad */
  .masthead-photos { 
    order: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: 400px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Большие карточки для iPad */
  .polaroid { 
    position: absolute !important;
    width: 220px !important; 
    height: 265px !important; 
    padding: 16px 14px 20px !important;
  }
  
  .polaroid .photo { 
    width: 192px !important; 
    height: 192px !important;
  }
  
  .polaroid .caption { 
    bottom: 16px !important; 
    left: 14px !important; 
    right: 14px !important; 
    font-size: 24px !important;
    font-family: 'Caveat', cursive !important;
  }
  
  /* Широкий веер для iPad - поднят значительно выше */
  .polaroid.p1 { 
    left: 45% !important;
    top: 25vh !important;
    transform: translate(-50%, -50%) translateX(-160px) rotate(-12deg) !important;
    z-index: 1 !important;
  }
  
  .polaroid.p2 { 
    left: 45% !important;
    top: 25vh !important;
    transform: translate(-50%, -50%) translateX(0px) translateY(-18px) rotate(0deg) !important;
    z-index: 2 !important;
  }
  
  .polaroid.p3 { 
    left: 45% !important;
    top: 25vh !important;
    transform: translate(-50%, -50%) translateX(160px) rotate(12deg) !important;
    z-index: 3 !important;
  }
}

@media (max-width: 980px) and (max-height: 799px) {
  /* Основная структура masthead для обычных экранов */
  .masthead-inner { 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 100px 0 80px;
  }
  
  /* Заголовок и текст */
  .masthead-copy { 
    text-align: center;
    max-width: 700px;
    order: 0;
  }
  
  .masthead-copy h1 { 
    text-align: center;
    margin-bottom: 20px;
  }
  
  .masthead-copy p { 
    text-align: center;
    margin: 0 auto;
  }
  
  /* Контейнер для правильного веера */
  .masthead-photos { 
    order: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: 250px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Карточки веера для обычных экранов */
  .polaroid { 
    position: absolute !important;
    width: 185px !important; 
    height: 220px !important; 
    padding: 14px 12px 18px !important;
  }
  
  .polaroid .photo { 
    width: 161px !important; 
    height: 161px !important;
  }
  
  .polaroid .caption { 
    bottom: 14px !important; 
    left: 12px !important; 
    right: 12px !important; 
    font-size: 23px !important;
    font-family: 'Caveat', cursive !important;
  }
  
  /* Веер для обычных экранов - поднят значительно выше */
  .polaroid.p1 { 
    left: 45% !important;
    top: 25% !important;
    transform: translate(-50%, -50%) translateX(-135px) rotate(-12deg) !important;
    z-index: 1 !important;
  }
  
  .polaroid.p2 { 
    left: 45% !important;
    top: 25% !important;
    transform: translate(-50%, -50%) translateX(0px) translateY(-15px) rotate(0deg) !important;
    z-index: 2 !important;
  }
  
  .polaroid.p3 { 
    left: 45% !important;
    top: 25% !important;
    transform: translate(-50%, -50%) translateX(135px) rotate(12deg) !important;
    z-index: 3 !important;
  }
  
  /* Остальные элементы */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 300px; order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(3, 1fr); }
  /* Footer styles moved to css/components/footer.css */
}

/* Мобильные устройства */
@media (max-width: 640px) {
  /* Предотвращение горизонтального скролла */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  .masthead {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
  
  /* Адаптация masthead для мобильных */
  .masthead-inner { 
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 100px 15px 80px !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  .masthead-copy {
    order: 0 !important;
    max-width: 100% !important;
    margin-bottom: 5px !important;
  }
  
  .masthead-copy h1 {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    margin-bottom: 15px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.02em;
  }
  
  .masthead-copy p {
    font-size: 1.1rem !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    line-height: 1.4 !important;
  }
}

/* Дополнительные стили для коротких экранов */
@media (max-width: 640px) and (max-height: 850px) {
  .masthead-copy h1 {
    font-size: 1.8rem !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
  }
  
  .masthead-copy p {
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
  }
  
  .masthead-copy {
    margin-bottom: 10px !important;
    margin-top: 20px !important;
  }
  
  .masthead-inner {
    padding: 90px 15px 60px !important;
  }
  
  .masthead-photos {
    margin-top: 0 !important;
    height: 230px !important;
  }
  
  .polaroid.p1,
  .polaroid.p2,
  .polaroid.p3 {
    top: 40px !important;
  }
}

@media (max-width: 640px) {
  
  /* Центрированные карточки для мобильных */
  .masthead-photos { 
    order: 1 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 250px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    position: relative !important;
    overflow: visible !important;
    padding-top: 0 !important;
    margin-top: -20px !important;
  }
  
  .polaroid { 
    width: 120px !important; 
    height: 150px !important; 
    padding: 8px 6px 12px !important;
    position: absolute !important;
  }
  
  .polaroid .photo { 
    width: 108px !important; 
    height: 108px !important;
  }
  
  .polaroid .caption { 
    font-size: 18px !important; 
    bottom: 8px !important; 
    left: 8px !important; 
    right: 8px !important;
    font-family: 'Caveat', cursive !important;
  }
  
  /* Компактный веер для мобильных - поднят выше и центрирован */
  .polaroid { 
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: absolute !important;
    z-index: 1000 !important;
  }
  
  .polaroid.p1 { 
    left: 40% !important;
    top: 30px !important;
    transform: translate(-50%, 0) translateX(-60px) rotate(-8deg) !important;
    z-index: 1001 !important;
  }
  
  .polaroid.p2 { 
    left: 40% !important;
    top: 30px !important;
    transform: translate(-50%, 0) translateX(0px) translateY(-6px) rotate(0deg) !important;
    z-index: 1002 !important;
  }
  
  .polaroid.p3 { 
    left: 40% !important;
    top: 30px !important;
    transform: translate(-50%, 0) translateX(60px) rotate(8deg) !important;
    z-index: 1003 !important;
  }
  
  /* Header styles moved to css/components/header.css */
  
  /* Остальные элементы для мобильных */
  .cards { grid-template-columns: 1fr !important; }
  .features { grid-template-columns: 1fr !important; }
  .reviews { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .destinations-grid { grid-template-columns: 1fr !important; }
}

/* Очень узкие экраны (iPhone SE и подобные) */
@media (max-width: 380px) {
  /* Принудительно показываем все полароид карточки */
  .polaroid {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: absolute !important;
    z-index: 9999 !important;
    transform: none !important;
    animation: none !important;
  }
  
  /* Принудительно показываем контейнер */
  .masthead-photos {
    display: block !important;
    position: relative !important;
    height: 300px !important;
    overflow: visible !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .masthead-inner { 
    padding: 80px 10px 30px !important;
  }
  
  .masthead-copy {
    margin-bottom: 10px !important;
  }
  
  .masthead-copy h1 {
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
  }
  
  .masthead-copy p {
    font-size: 0.9rem !important;
    max-width: 90% !important;
  }
  
  .masthead-photos { 
    height: 200px !important;
    position: relative !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .polaroid { 
    width: 110px !important; 
    height: 140px !important; 
    padding: 8px 6px 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: absolute !important;
  }
  
  .polaroid .photo { 
    width: 98px !important; 
    height: 98px !important;
  }
  
  .polaroid .caption { 
    font-size: 19px !important; 
    bottom: 6px !important; 
    left: 6px !important; 
    right: 6px !important;
    font-family: 'Caveat', cursive !important;
  }
  
  /* Еще более компактный веер для iPhone SE */
  .polaroid.p1 { 
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) translateX(-30px) rotate(-6deg) !important;
    z-index: 1001 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
  
  .polaroid.p2 { 
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) translateX(0px) translateY(-3px) rotate(0deg) !important;
    z-index: 1002 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
  
  .polaroid.p3 { 
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) translateX(30px) rotate(6deg) !important;
    z-index: 1003 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
}

:root {
  --brand: #114482;           /* основной синий */
  --accent: #F9AD28;          /* акцентный жёлтый */
  --accent-2: #2B568E;        /* второй акцент */
  --surface: #F9FAFD;         /* светлые блоки */
  --text: #ffffff;            /* белый текст поверх синего */
  --text-surface: #114482;    /* текст на светлой поверхности */
  --muted: #BFBFBF;           /* нейтральный серый */
  --ring: rgba(17, 68, 130, .35);
  --shadow: 0 8px 24px rgba(17,68,130,.18), 0 2px 8px rgba(17,68,130,.14);
  --header-h: 64px;
}


/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  animation: splashFadeOut 0.8s ease-in-out 2s forwards;
}

.splash-logo {
  opacity: 0;
  transform: scale(0.8);
  animation: logoAppear 1.2s ease-out 0.3s forwards;
}

.splash-logo img {
  filter: drop-shadow(0 4px 12px rgba(0, 54, 120, 0.15));
}

@keyframes logoAppear {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splashFadeOut {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Logo transition from splash to header */
.splash-logo.move-to-header {
  z-index: 10000;
  transition: all 1s ease-out;
}

/* Header styles moved to css/components/header.css */

* { box-sizing: border-box; }
html { 
  scroll-behavior: auto; 
  scroll-padding-top: 140px;
  overflow-x: hidden; /* Предотвращаем горизонтальный скролл */
}

/* Анимация путешествия между секциями */
@keyframes travelTransition {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  25% {
    transform: translateY(-20px) scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-40px) scale(0.9);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-20px) scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes travelGlow {
  0% {
    box-shadow: 0 0 20px rgba(249, 173, 40, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(249, 173, 40, 0.6), 0 0 60px rgba(249, 173, 40, 0.4);
  }
  100% {
    box-shadow: 0 0 20px rgba(249, 173, 40, 0.3);
  }
}

/* Стили для плавного перехода */
.travel-transition {
  animation: travelTransition 1.2s ease-in-out;
}

.travel-glow {
  animation: travelGlow 2s ease-in-out infinite;
}

/* Улучшенная прокрутка с эффектом путешествия */

/* Отступ для всех секций под фиксированный хедер */
section {
  scroll-margin-top: 140px;
}

.hero, .features, .reviews, .destinations, .faq, .contacts, .faq-section, .business-benefits {
  scroll-margin-top: 140px;
}

/* Анимация появления секций */
@keyframes sectionFlyIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section-animate {
  animation: sectionFlyIn 0.8s ease-out forwards;
}

/* Эффект волны для навигации */
@keyframes waveEffect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.nav-wave {
  animation: waveEffect 0.6s ease-in-out;
}

/* Дополнительные эффекты для путешествия */
@keyframes travelPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 173, 40, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(249, 173, 40, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 173, 40, 0);
  }
}

.travel-pulse {
  animation: travelPulse 1s ease-in-out;
}

/* Эффект полета для кнопок */
@keyframes flyAway {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}

.btn-travel {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-travel:hover {
  animation: flyAway 0.6s ease-in-out;
  box-shadow: 0 8px 25px rgba(249, 173, 40, 0.3);
}

.btn-travel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-travel:hover::before {
  left: 100%;
}

/* Эффект путешествия для карточек */
@keyframes cardTravel {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-5px) rotate(1deg);
  }
  50% {
    transform: translateY(-10px) rotate(0deg);
  }
  75% {
    transform: translateY(-5px) rotate(-1deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.polaroid:hover {
  animation: cardTravel 1s ease-in-out;
}

/* Анимация появления текста */
@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-reveal {
  animation: textReveal 0.8s ease-out forwards;
}

/* Business Benefits Section */
.business-benefits {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  scroll-margin-top: 140px; /* Тот же отступ что и у FAQ */
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefits-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 3.125rem;
  font-weight: 900;
  color: #003678;
  margin-bottom: 24px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}

.benefits-text .subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: #003678;
  margin-bottom: 20px;
  line-height: 1.4;
}

.benefits-text p {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 40px;
}

.benefits-icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 6px;
  background: white;
  border-radius: 50px;
  box-shadow: none;
  transition: all 0.3s ease;
  border: 3px solid #FAAC36;
}

.benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAAC36;
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
  font-weight: bold;
  position: relative;
  font-size: 2.4rem;
}

.benefit-icon::before {
  content: '★';
  color: white;
  font-size: 2.4rem;
}

.benefit-item span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #003678;
  line-height: 1.4;
}

.benefits-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  overflow: visible;
}

.parallax-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 54, 120, 0.2);
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 140%;
  z-index: 1;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  will-change: transform;
}

.balloons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.balloon {
  position: absolute;
  opacity: 0;
  transform: translateY(100px) scale(0.5);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.balloon img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

.balloon.animate {
  opacity: 1;
  transform: translateY(-40px) scale(1);
}

.balloon-1 {
  top: 70%;
  left: 20%;
  animation-delay: 0.1s;
}

.balloon-2 {
  top: 60%;
  left: 70%;
  animation-delay: 0.2s;
}

.balloon-3 {
  top: 80%;
  left: 50%;
  animation-delay: 0.3s;
}

.balloon-4 {
  top: 50%;
  left: 10%;
  animation-delay: 0.4s;
}

.balloon-5 {
  top: 75%;
  left: 85%;
  animation-delay: 0.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* How It Works Section */
.how-it-works {
  padding: 0;
  position: relative;
}

.how-it-works-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
}

.how-it-works-image {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.how-it-works-text {
  padding: 80px 40px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.how-it-works-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 3.125rem;
  font-weight: 900;
  color: #003678;
  margin-bottom: 30px;
  line-height: 1.2;
  text-align: left;
  max-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}

.how-it-works-text p {
  font-size: 1.3rem;
  font-weight: 600;
  color: #003678;
  line-height: 1.6;
  margin: 0;
  text-align: left;
  max-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.overlay-blocks {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 400px;
  pointer-events: none;
}

.center-block {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 54, 120, 0.1);
  border: 2px solid #1958A7;
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  will-change: transform, opacity;
}


.center-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 54, 120, 0.15);
}

.center-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #003678;
  margin: 0;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 2px;
}

.center-block p {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.block-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.block-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #003678;
  margin: 0;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
}

.block-content .small-text {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.4;
  margin: 0;
  font-style: italic;
}

/* Адаптивные стили для How It Works */
@media (max-width: 980px) {
  .how-it-works-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .how-it-works-image {
    height: 50vh;
    order: 1;
  }
  
  .how-it-works-text {
    order: 2;
    height: auto;
    padding: 60px 20px;
  }
  
  .overlay-blocks {
    position: static;
    transform: none;
    order: 3;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  }
  
  .how-it-works-text h2 {
    font-size: 2.2rem;
  }
  
  .how-it-works-text p {
    font-size: 1.1rem;
  }
}

@media (max-width: 640px) {
  .how-it-works {
    background: white;
  }
  
  .how-it-works-content {
    gap: 0;
    display: flex;
    flex-direction: column;
    background: white;
  }
  
  .how-it-works-image {
    display: none;
  }
  
  .how-it-works-text {
    order: 1;
    padding: 30px 20px !important;
    text-align: center;
    background: white;
  }
  
  .overlay-blocks {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px 20px !important;
    background: white;
  }
  
  .center-block {
    padding: 20px;
    margin: 0;
    width: 100%;
    background: white;
    animation: none !important;
    transform: none !important;
  }
  
  .center-block h3 {
    font-size: 1.2rem;
  }
  
  .how-it-works-text h2 {
    font-size: 1.8rem;
    text-align: center;
    max-width: 100%;
  }
  
  .how-it-works-text p {
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
  }
}

/* Адаптивные стили для Business Benefits */
@media (max-width: 980px) {
  .business-benefits {
    padding: 60px 0;
  }
  
  .benefits-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .benefits-text h2 {
    font-size: 2.4rem;
    text-align: center;
  }
  
  .benefits-text .subtitle {
    font-size: 1.2rem;
    text-align: center;
  }
  
  .benefits-text p {
    text-align: center;
  }
  
  .benefits-icons {
    align-items: center;
  }
  
  .benefit-item {
    max-width: 400px;
  }
  
  .family-photo {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .business-benefits {
  }
  
  .benefits-content {
    gap: 30px;
    padding: 30px 20px !important;
  }
  
  .benefits-text h2 {
    font-size: 1.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.02em;
  }
  
  .benefits-text .subtitle {
    font-size: 1.1rem;
  }
  
  .benefits-text p {
    font-size: 1rem;
  }
  
  .benefit-item {
    padding: 16px;
    gap: 12px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .benefit-item span {
    font-size: 1rem;
  }
  
  .family-photo {
    height: 300px;
  }
  
  /* Воздушные шары - сдвиг влево для мобильных */
  .balloon-1 {
    left: 5% !important;
  }
  
  .balloon-2 {
    left: 55% !important;
  }
  
  .balloon-3 {
    left: 30% !important;
  }
  
  .balloon-4 {
    left: 0% !important;
  }
  
  .balloon-5 {
    left: 75% !important;
  }
}

/* Стили для экранов 1280px */
@media (max-width: 1280px) and (min-width: 1025px) {
  .masthead-photos {
    height: 320px;
  }
  
  .polaroid {
    width: 180px;
    height: 220px;
    padding: 12px 10px 16px;
  }
  
  .polaroid .photo {
    width: 160px;
    height: 160px;
  }
  
  .polaroid .caption {
    font-size: 20px;
    bottom: 12px;
    left: 10px;
    right: 10px;
  }
}

/* Специальные стили для iPhone SE и очень маленьких экранов */
@media (max-width: 375px) and (max-height: 667px) {
  .masthead {
    padding-top: 100px !important;
  }
  
  .masthead-inner {
    padding: 80px 0 40px !important;
    min-height: calc(100vh - 100px) !important;
  }
  
  .masthead-copy h1 {
    font-size: 1.8rem !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
  }
  
  .masthead-copy p {
    font-size: 14px !important;
  }
  
  .masthead-photos {
    height: 200px !important;
  }
  
  .polaroid {
    width: 100px !important;
    height: 120px !important;
    padding: 8px 6px 12px !important;
  }
  
  .polaroid .photo {
    width: 88px !important;
    height: 88px !important;
  }
  
  .polaroid .caption {
    font-size: 12px !important;
    bottom: 8px !important;
    left: 6px !important;
    right: 6px !important;
  }
  
  .polaroid.p1 {
    left: 45% !important;
    top: 50vh !important;
    transform: translate(-50%, -50%) translateX(-60px) rotate(-12deg) !important;
  }
  
  .polaroid.p2 {
    left: 45% !important;
    top: 50vh !important;
    transform: translate(-50%, -50%) translateX(0px) translateY(-15px) rotate(0deg) !important;
  }
  
  .polaroid.p3 {
    left: 45% !important;
    top: 50vh !important;
    transform: translate(-50%, -50%) translateX(60px) rotate(12deg) !important;
  }
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--brand);
  line-height: 1.55;
  overflow-x: hidden; /* Предотвращаем горизонтальный скролл */
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Gotham, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

.blue-text {
  font-family: Caveat, cursive, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: #003678;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

/* Header */
/* Header styles moved to css/components/header.css */

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; font-weight: 600; text-decoration: none; color: var(--text); }
.btn-small { padding: 10px 14px; font-size: .95rem; }
.btn-primary { background: var(--accent); color: #0e2444; box-shadow: 0 10px 22px rgba(249,173,40,.35); }
.btn-primary:hover { background: #e9a01c; }
.btn-secondary { background: var(--accent-2); border-color: transparent; }
.btn-secondary:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.icon-btn { background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 18px; }

/* Unused hero styles removed */

/* Sections */
.section { padding: 80px 0; color: var(--text); }
.section.alt { background: var(--surface); color: var(--text-surface); }
.section-header h2 { margin: 0 0 6px; font-size: clamp(24px, 3.5vw, 34px); }
.section-header p { margin: 0; color: var(--muted); }

/* Mobile styles for sections */
@media (max-width: 640px) {
  .section { }
}

/* Unused tour styles removed */

/* Unused chip styles removed */

/* Unused destinations styles removed */

/* Unused features and reviews styles removed */

/* Unused booking form styles removed */

/* Footer styles moved to css/components/footer.css */
/* Unused tours hero styles removed */

/* Unused antalya section styles removed */




/* Unused konya section styles removed */

/* Unused responsive styles removed */



/* Unused destinations page styles removed */

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.faq-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 3.125rem;
  font-weight: 900;
  color: #003678;
  margin-bottom: 40px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  text-align: left;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 54, 120, 0.08);
  border: 1px solid rgba(0, 54, 120, 0.1);
  overflow: hidden;
  margin-bottom: 5px;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.faq-question:hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
}

.faq-question h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #003678;
  margin: 0;
  line-height: 1.4;
}

.faq-question .toggle-icon {
  font-size: 1.2rem;
  color: #003678;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease, 
              padding 0.3s ease;
}

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

.faq-answer p {
  padding: 0 20px 20px;
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 12px 0; color: #e9eef8; background: rgba(0,0,0,.06); }

/* Modal */
.modal::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.modal-box { width: min(560px, 92vw); padding: 0; border: none; border-radius: 16px; overflow: hidden; background: var(--surface); color: var(--text-surface); box-shadow: var(--shadow); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid rgba(17,68,130,.12); }
.modal-body { display: grid; gap: 10px; padding: 14px; }
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; padding: 12px 14px; border-top: 1px solid rgba(17,68,130,.12); }
.selected-tour { color: var(--muted); margin: 0 0 6px; }

/* Адаптивные стили для FAQ */
@media (max-width: 980px) {
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-content h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }
  
  .faq-question {
    padding: 18px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .faq-answer p {
    padding: 0 18px 18px;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .faq-section {
  }
  
  .faq-content {
    padding: 30px 20px !important;
  }
  
  .faq-content h2 {
    font-size: 1.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 25px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.02em;
  }
  
  .faq-list {
    gap: 12px;
  }
  
  .faq-question {
    padding: 16px;
  }
  
  .faq-question h3 {
    font-size: 0.95rem;
  }
  
  .faq-answer p {
    padding: 0 16px 16px;
    font-size: 0.9rem;
  }
}

/* Responsive */
/* Turkey Voucher Section */
.turkey-certificate-section {
  min-height: 100vh;
  padding: 80px 0;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.turkey-certificate-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.turkey-certificate-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  align-items: center;
}

/* Change order for desktop - text first, visual second */
.turkey-certificate-text {
  order: 1;
}

.turkey-certificate-visual {
  order: 2;
}

.turkey-certificate-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  position: relative;
}

.turkey-certificate-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}



.turkey-certificate-text {
  padding: 40px 0;
}

.turkey-certificate-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 3.125rem;
  font-weight: 900;
  color: #003678;
  margin-bottom: 24px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}

.turkey-map-container {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  position: relative;
}

.turkey-map-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: none;
}



/* Дополнительные маркеры карты */
.map-marker {
  position: absolute;
  z-index: 10;
}

/* Поднимаем точки на карте для мобильных устройств */
@media (max-width: 640px) {
  .map-marker,
  .marker-1,
  .marker-2,
  .marker-3 {
    transform: translateY(-3px) !important;
  }
  
  .map-marker::after,
  .marker-1::after,
  .marker-2::after,
  .marker-3::after {
    transform: translateY(-3px) !important;
  }
  
  .map-marker::before,
  .marker-1::before,
  .marker-2::before,
  .marker-3::before {
    transform: translateY(-3px) !important;
  }
}

/* Дополнительные стили для точек карты - максимальный приоритет */
@media (max-width: 640px) {
  .turkey-map-container .map-marker,
  .turkey-map-container .marker-1,
  .turkey-map-container .marker-2,
  .turkey-map-container .marker-3 {
    transform: translateY(-3px) !important;
    position: absolute !important;
  }
  
  .turkey-map-container .map-marker::after,
  .turkey-map-container .marker-1::after,
  .turkey-map-container .marker-2::after,
  .turkey-map-container .marker-3::after {
    transform: translateY(-3px) !important;
  }
  
  .turkey-map-container .map-marker::before,
  .turkey-map-container .marker-1::before,
  .turkey-map-container .marker-2::before,
  .turkey-map-container .marker-3::before {
    transform: translateY(-3px) !important;
  }
}

/* КРИТИЧЕСКИ ВАЖНЫЕ СТИЛИ ДЛЯ ТОЧЕК КАРТЫ - В КОНЦЕ ФАЙЛА */
@media (max-width: 640px) {
  .turkey-certificate-section {
  }
  
  .turkey-certificate-section .turkey-map-container .map-marker,
  .turkey-certificate-section .turkey-map-container .marker-1,
  .turkey-certificate-section .turkey-map-container .marker-2,
  .turkey-certificate-section .turkey-map-container .marker-3 {
    transform: translateY(-10px) translateX(-3px) !important;
    position: absolute !important;
  }
  
  .turkey-certificate-section .turkey-map-container .map-marker::after,
  .turkey-certificate-section .turkey-map-container .marker-1::after,
  .turkey-certificate-section .turkey-map-container .marker-2::after,
  .turkey-certificate-section .turkey-map-container .marker-3::after {
    transform: translateY(-10px) translateX(-3px) !important;
  }
  
  .turkey-certificate-section .turkey-map-container .map-marker::before,
  .turkey-certificate-section .turkey-map-container .marker-1::before,
  .turkey-certificate-section .turkey-map-container .marker-2::before,
  .turkey-certificate-section .turkey-map-container .marker-3::before {
    transform: translateY(-10px) translateX(-3px) !important;
  }
  
  .turkey-certificate-text p br {
    display: none;
  }
  
  .turkey-certificate-text p {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 20px;
  }
}

.map-marker::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #FAAC36;
  border-radius: 50%;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

.map-marker::after::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-marker::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 20px solid #FAAC36;
  top: 11px;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 9;
}

/* Позиционирование маркеров */
.marker-1 {
  top: 45%;
  left: 48%;
}

.marker-2 {
  top: 75%;
  left: 31%;
}

.marker-3 {
  top: 60%;
  left: 21%;
}

/* Специальная настройка для маркера Каппадокии */
.marker-1::after {
  z-index: 12;
}

.marker-1::before {
  z-index: 11;
}

/* Подписи к маркерам */
.map-label {
  position: absolute;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #003678;
  z-index: 15;
  opacity: 0;
}

.turkey-certificate-section.animate .map-label {
  animation: labelAppear 1s ease-out forwards;
}

.turkey-certificate-section.animate .label-1 {
  top: 43%;
  left: 51%;
  animation-delay: 4.5s;
}

.turkey-certificate-section.animate .label-2 {
  top: 77%;
  left: 34%;
  animation-delay: 1s;
}

.turkey-certificate-section.animate .label-3 {
  top: 60%;
  left: 5%;
  animation-delay: 2.5s;
}

/* Анимация появления подписи */
@keyframes labelAppear {
  0% { 
    opacity: 0; 
    transform: translateY(-10px) scale(0.8); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

/* Пунктирные линии между маркерами */
.map-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* Анимация маркеров */
.map-marker {
  opacity: 0;
}

.turkey-certificate-section.animate .map-marker {
  animation: markerAppear 1.2s ease-out forwards;
}

.turkey-certificate-section.animate .marker-1 {
  animation-delay: 4.5s;
}

.turkey-certificate-section.animate .marker-2 {
  animation-delay: 1s;
}

.turkey-certificate-section.animate .marker-3 {
  animation-delay: 2.5s;
}

/* Анимация появления маркера */
@keyframes markerAppear {
  0% { opacity: 0; transform: translateY(-50px) scale(0.5); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Анимация пунктирных линий */
.map-connections path {
  stroke-dasharray: 4,2;
  opacity: 0;
}

.turkey-certificate-section.animate .map-connections path {
  animation: lineAppear 1.5s ease-out forwards;
}

.turkey-certificate-section.animate .map-connections path:nth-child(1) {
  animation-delay: 2s;
}

.turkey-certificate-section.animate .map-connections path:nth-child(2) {
  animation-delay: 4s;
}

.turkey-certificate-section.animate .map-connections path:nth-child(3) {
  animation-delay: 5.5s;
}

/* Простая анимация появления линии */
@keyframes lineAppear {
  0% { 
    opacity: 0; 
  }
  100% { 
    opacity: 0.8; 
  }
}

.turkey-certificate-text p {
  font-size: 1.3rem;
  font-weight: 600;
  color: #003678;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 300px; order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(3, 1fr); }
  /* Footer styles moved to css/components/footer.css */
  
}

/* Header styles moved to css/components/header.css */

/* Travel Layout Styles */
.travel-layout {
  display: flex;
  min-height: 100vh;
  margin-top: 0;
  position: relative;
}

/* Left Sidebar */
.travel-sidebar {
  width: 25%;
  background: transparent;
  backdrop-filter: none;
  position: absolute;
  left: 0;
  top: 0;
  height: 100vh;
  z-index: 1000;
  pointer-events: auto;
}

.sidebar-content {
  padding: 40px 30px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 20px;
}

  /* Logo */
  .sidebar-logo {
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
  }
  
  /* Override for tour page on large screens */
  .tour-page .sidebar-logo {
    position: absolute !important;
    left: 50% !important;
    top: 20px !important;
    transform: translate(-50%, 0) !important;
    z-index: 10000 !important;
    width: 130px !important;
    height: 31px !important;
  }

/* Header styles moved to css/components/header.css */

/* Sidebar Navigation */
.sidebar-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: auto;
  margin-bottom: auto;
}

/* Header styles moved to css/components/header.css */

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: left;
  position: relative;
  z-index: 100;
  padding: 15px 20px;
  margin: -15px -20px;
  transform-origin: left center;
  pointer-events: auto;
}

/* Hover and active effects with proper alignment */
.nav-item:hover {
  transform: scale(1.2);
  transform-origin: left center;
  z-index: 10;
}

.nav-item.active {
  transform: scale(1.2);
  transform-origin: left center;
  z-index: 10;
}

.nav-item:hover .nav-title,
.nav-item.active .nav-title {
  font-weight: 700;
  font-size: 22px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item:hover .nav-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Убираем псевдоэлемент, который мешает кликам */

.nav-item.active .nav-title {
  border-bottom: 1px solid white;
  padding-bottom: 2px;
  font-weight: 700;
}

.nav-item.active .nav-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item.active {
  z-index: 10;
}

/* Active state is now handled by CSS variables */

/* Magnetic effect is now handled by JavaScript with smooth scaling */

.nav-number {
  font-family: 'Gotham', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
}

.nav-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  text-align: left;
}

.nav-title {
  font-family: 'Gotham', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: white;
  text-transform: lowercase;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.nav-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Social Media Icons */
.sidebar-social {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-icon {
  font-size: 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Main Content Area */
.travel-main {
  width: 100%;
  background: url('/source/Antalia-tour.jpeg') center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 0;
}

.travel-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}


/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0 40px;
  text-align: right;
  width: min(1120px, 92%);
  margin: 0 auto;
}

.destination-info {
  margin-bottom: 40px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.day-description {
  margin-top: 40px;
  max-width: 500px;
  align-self: flex-end;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
}

.day-title {
  font-family: 'Gotham', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.day-list li {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  text-shadow: none;
  text-align: left;
}

.day-list li::before {
  content: "•";
  color: white;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.destination-name {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: white;
  display: block;
  margin-bottom: 10px;
  transition: all 0.5s ease;
}

.country-name {
  font-family: 'Gotham', sans-serif;
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 900;
  color: white;
  margin: 0;
  line-height: 0.9;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}

/* Search Section */
.search-section {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-input:hover {
  transform: translateY(-2px);
}

.search-icon {
  font-size: 20px;
  color: white;
}

.search-text {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: white;
  transition: all 0.5s ease;
}

.search-underline {
  width: 100%;
  height: 1px;
  background: white;
  margin-top: 5px;
}

/* Header styles moved to css/components/header.css */



/* Responsive styles for Turkey Voucher Section */
@media (max-width: 1024px) {
  .turkey-certificate-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .turkey-certificate-visual {
    order: 2;
  }
  
  .turkey-certificate-text {
    order: 1;
  }
  
  .turkey-certificate-text h2 {
    font-size: 1.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.02em;
  }
  
  .turkey-certificate-text p {
    text-align: center;
    font-size: 1.1rem;
  }
  
  .turkey-certificate-text p br {
    display: none;
  }
  
  .turkey-map-container {
    margin: 20px auto;
  }
  
}

/* Mobile styles for Turkey Certificate Section */
@media (max-width: 640px) {
  .turkey-certificate-content {
    grid-template-columns: 1fr;
    gap: 10px !important;
    text-align: center;
    padding: 0 20px !important;
  }
  
  .turkey-certificate-visual {
    order: 2;
    padding: 10px 0 !important;
    margin: 0 !important;
  }
  
  .turkey-certificate-text {
    order: 1;
    padding: 10px 20px !important;
  }
  
  .turkey-certificate-text h2 {
    font-size: 1.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.02em;
  }
  
  .turkey-certificate-text p {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 20px;
    margin-bottom: 5px !important;
  }
  
  .turkey-certificate-text p br {
    display: none;
  }
  
  .turkey-map-container {
    margin: 5px 0 !important;
  }
  
  .turkey-certificate-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
}





/* VOUCHER CALCULATOR - FULL WIDTH */
.certificate-calculator {
  background: #f8f9fa;
  padding: 80px 0;
  margin: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: none;
  overflow-x: hidden;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.certificate-calculator h3 {
  font-family: 'Inter', sans-serif;
  color: #003678;
  font-size: 3.125rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 40px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}

/* Мобильные стили для заголовка калькулятора */
@media (max-width: 640px) {
  .certificate-calculator h3 {
    font-size: 1.8rem;
    text-align: center;
  }
}

.calculator-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.calculator-features {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.feature-icon {
  background: #003678;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.feature-item span:last-child {
  color: #333;
  font-size: 18px;
  font-weight: 500;
}

/* Mobile styles for feature icons */
@media (max-width: 640px) {
  .feature-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
  }
  
  .feature-icon::before {
    content: "✓";
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* UNIFIED MOBILE SPACING - ALL SECTIONS */
  .section,
  .business-benefits,
  .faq-section,
  .turkey-certificate-section,
  .how-it-works,
  .certificate-calculator {
    padding: 30px 0 !important;
    margin: 0 !important;
  }
  
  .certificate-calculator {
    margin-top: -10px !important;
    padding: 30px 20px !important;
  }
  
  .certificate-calculator h3 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
  
  /* Reduce top padding for section headers on mobile */
  .turkey-certificate-text {
    padding: 10px 20px !important;
  }
  
  .turkey-certificate-text h2 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
  
  /* Reduce spacing between map and text on mobile */
  .turkey-map-container {
    margin: 5px 0 !important;
  }
  
  .how-it-works-text {
    padding: 30px 20px !important;
  }
  
  .how-it-works-text h2 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
}

/* OLD WHATSAPP BUTTON STYLES REMOVED */

/* OLD WHATSAPP BUTTON PSEUDO-ELEMENTS REMOVED */

.whatsapp-icon {
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.whatsapp-button:hover .whatsapp-icon {
  transform: scale(1.1);
}

/* CRITICAL STYLES - FORCE FULL WIDTH AND OVERRIDE ALL OTHER STYLES */
body .certificate-calculator,
div.certificate-calculator,
.certificate-calculator {
  background: #f8f9fa !important;
  width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  left: 50% !important;
  right: 50% !important;
  position: relative !important;
  max-width: none !important;
  overflow-x: hidden !important;
  padding: 80px 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* FORCE CENTERING FOR CALCULATOR CONTENT */
body .calculator-content,
.calculator-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

body .calculator-features,
.calculator-features {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

body .feature-item,
.feature-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 400px !important;
  margin: 0 auto !important;
  text-align: center !important;
  padding: 15px 0 !important;
}

body .feature-item span,
.feature-item span {
  text-align: center !important;
  display: block !important;
}

/* REMOVED DUPLICATE WHATSAPP BUTTON STYLES */

/* ULTIMATE CENTERING - OVERRIDE EVERYTHING */
.certificate-calculator * {
  text-align: center !important;
}

.certificate-calculator .calculator-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.certificate-calculator .calculator-features {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.certificate-calculator .feature-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 400px !important;
  margin: 0 auto !important;
  text-align: center !important;
  padding: 15px 0 !important;
}

.certificate-calculator .feature-item span {
  text-align: center !important;
  display: block !important;
}

/* REMOVED DUPLICATE VOUCHER CALCULATOR WHATSAPP BUTTON STYLES */

/* WHATSAPP BUTTON - COMPLETE RESET + BEAUTIFUL DESIGN */
button.whatsapp-button {
  /* COMPLETE BROWSER RESET */
  background: none;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  box-sizing: border-box;
  
  /* BEAUTIFUL DESIGN */
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  margin: 0 auto;
  justify-content: center;
  width: fit-content;
  text-align: center;
  position: relative;
  overflow: hidden;
}

button.whatsapp-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

button.whatsapp-button:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #1EA952 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

button.whatsapp-button:hover::before {
  left: 100%;
}

button.whatsapp-button:active {
  background: linear-gradient(135deg, #1EA952 0%, #1B9A4A 100%);
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

  .whatsapp-icon {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
  }

  /* Ensure sidebar logo has high z-index for clickability and is always visible */
  .sidebar-logo {
    z-index: 10000 !important;
    display: block !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  
  /* Force sidebar logo to be visible on tour page */
  .tour-page .sidebar-logo {
    display: block !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  
  /* Header styles moved to css/components/header.css */

/* Header styles moved to css/components/header.css */

/* Remove debug styles - keep only clickability */

/* Polaroid photos */
.photo-pamukale {
  background-image: url('/source/pamukale.jpeg');
}

.photo-kapadokia {
  background-image: url('/source/kapadokia.jpeg');
}

.photo-antalia {
  background-image: url('/source/Antalia.jpeg');
}

/* How it works image */
.how-it-works-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Отступ для секции лицензий и патентов */
.link-group h4:nth-of-type(2) {
  margin-top: 30px !important;
}

/* FORCE CENTERING FOR VOUCHER CALCULATOR */
.certificate-calculator {
  background: #f8f9fa !important;
  width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  left: 50% !important;
  right: 50% !important;
  position: relative !important;
  max-width: none !important;
  overflow-x: hidden !important;
  padding: 20px 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.certificate-calculator * {
  text-align: center !important;
}

.certificate-calculator .calculator-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.certificate-calculator .calculator-features {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.certificate-calculator .feature-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 400px !important;
  margin: 0 auto !important;
  text-align: center !important;
  padding: 15px 0 !important;
}

.certificate-calculator .feature-item span {
  text-align: center !important;
  display: block !important;
}

.certificate-calculator .whatsapp-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 40px auto 0 auto !important;
  width: fit-content !important;
  text-align: center !important;
}

/* ========================================
   FLOATING SOCIAL MEDIA BUTTON
   ======================================== */

.social-float {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 99999 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.social-float.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.social-toggle {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  animation: pulse-attract 2s infinite;
}

.social-toggle:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  animation: none;
}

.social-toggle:active {
  transform: scale(0.95);
  transition: all 0.1s ease;
}

.social-toggle.active {
  transform: rotate(45deg);
}

.social-toggle svg {
  transition: transform 0.3s ease;
  animation: arrow-bounce 3s infinite;
}

.social-toggle:hover svg {
  transform: scale(1.1);
  animation: none;
}

@keyframes arrow-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.social-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.social-float.active .social-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.social-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-item.whatsapp {
  background-color: #25d366;
  animation-delay: 0.1s;
}

.social-item.instagram {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  animation-delay: 0.2s;
}

.social-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-float.active .social-item {
  animation: slideInUp 0.3s ease forwards;
}

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

@keyframes pulse-attract {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
}

@keyframes bounce-attract {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .social-toggle {
    width: 50px;
    height: 50px;
  }
  
  .social-item {
    width: 45px;
    height: 45px;
  }
  
  .social-menu {
    bottom: 60px;
  }
}


