/* Base */
:root{
  --bg:#0b1220;
  --card:#121a2d;
  --muted:#8ba0b3;
  --text:#e7edf5;
  --brand:#2ad4ff;
  --brand2:#6cf;
  --ok:#10b981;
  --danger:#ef4444;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%;scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;background:#0b1220;color:var(--text);line-height:1.6}

/* Header */
.site-header{position:sticky;top:0;z-index:999;background:rgba(11,18,32,.7);backdrop-filter:blur(8px);border-bottom:1px solid #1f2a44}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 20px}
.brand{font-weight:800;font-size:20px;letter-spacing:.5px;color:var(--text);text-decoration:none}
.nav a{color:var(--muted);margin:0 10px;text-decoration:none;transition:color .2s}
.nav a:hover{color:#fff}
.menu-toggle{display:none;flex-direction:column;gap:4px;background:none;border:0;cursor:pointer}
.menu-toggle span{display:block;width:24px;height:2px;background:#fff}

/* Hero */
.hero{position:relative;height:70vh;min-height:420px;display:grid;place-items:center;overflow:hidden}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.1) contrast(1.05)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(11,18,32,.8))}
.hero-content{position:relative;text-align:center;z-index:1;animation:up .8s ease-out both}
.title{font-size:clamp(28px,6vw,56px);margin:0 0 10px;color:#FF0000}
.subtitle{color:#f0f8ff;margin:0 0 20px;color:#0000FF}
.btn{display:inline-block;border:1px solid rgba(255,255,255,.2);padding:10px 16px;border-radius:12px;color:#fff;text-decoration:none;background:transparent;cursor:pointer;transition:.2s}
.btn:hover{transform:translateY(-2px);box-shadow:0 6px 24px rgba(42,212,255,.25)}
.btn-primary{background:linear-gradient(90deg,var(--brand),var(--brand2));border:0}

/* Layout */
.container{max-width:1080px;margin:0 auto;padding:24px}
.section{padding:32px 0}
.card{background:var(--card);border:1px solid #1e2747;border-radius:16px;padding:24px;box-shadow:0 10px 30px rgba(50,255,0,.75)}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.img-zoom{border-radius:14px;transition:transform .3s ease}
.img-zoom:hover{transform:scale(1.02)}

.dialog{display:grid;gap:8px}
.msg{padding:12px 14px;border-radius:12px}
.msg.user{background:#1f2a44}
.msg.bot{background:#142034}

/* Lists */
.checks li{list-style:none;margin:8px 0;padding-left:28px;position:relative}
.checks li:before{content:"✓";position:absolute;left:0;color:var(--ok)}

.contacts li{margin:6px 0}

/* Forms */
input,textarea{width:100%;padding:12px 12px;border-radius:12px;background:#0b1220;border:1px solid #253051;color:#dfe7f2}
input:focus,textarea:focus{outline:2px solid #3355ff33;border-color:#3355ff55}
label{display:grid;gap:6px;font-weight:600;color:#dbe6ffcc}
.muted,.note{color:var(--muted);font-size:14px}

/* Footer 
.site-footer{border-top:1px solid #1f2a44;background:#0b1220}*/
.site-footer .container{padding:20px;text-align:center}

/* Chatbot */
.chat-widget{position:fixed;right:16px;bottom:16px;z-index:1000;}
.chat-toggle{width:56px;height:56px;border-radius:50%;border:0;background:linear-gradient(90deg,#ffffff, #ffffff);box-shadow:10px 10px 24px rgba(50,255,0,.75);color:#001e2b;font-size:24px;cursor:pointer}
.chat-window{position:absolute;right:0;bottom:72px;width:min(92vw,380px);max-height:70vh;background:#0b1220;border:1px solid #1e2747;border-radius:16px;overflow:hidden;display:none}
.chat-window.open{display:grid;grid-template-rows:auto 1fr auto;animation:pop .2s ease-out}
.chat-header{padding:10px 12px;background:#121a2d;border-bottom:1px solid #1e2747;font-weight:700}
.chat-log{padding:10px;overflow:auto;display:flex;flex-direction:column;gap:6px}
.chat-form{display:flex;gap:8px;padding:8px;border-top:1px solid #1e2747;background:#0f1628}
.chat-log .u,.chat-log .b{padding:8px 10px;border-radius:10px;max-width:85%}
.chat-log .u{align-self:flex-end;background:#1f2a44}
.chat-log .b{align-self:flex-start;background:#142034}
.chat-error{color:var(--danger);padding:6px 10px}

/* Animations */
@keyframes up{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}
@keyframes pop{from{transform:scale(.98);opacity:0}to{transform:scale(1);opacity:1}}

/* Responsive */
@media (max-width:900px){
  .grid-3{grid-template-columns:1fr 1fr}
  .grid-2{grid-template-columns:1fr}
  .nav{display:none;position:absolute;top:56px;right:16px;background:#0b1220;padding:10px 14px;border-radius:12px;border:1px solid #1e2747}
  .nav a{display:block;padding:6px 4px}
  .menu-toggle{display:flex}
}

.gallery-section, {
    padding: 40px 0;
}

/* Галерея */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery img:hover {
    transform: scale(1.05);
}

.chat-toggle {
  background: url('images/chat-bot-icon.png') center/cover no-repeat,
			linear-gradient(90deg,#ffffff, #ffffff);
  color: transparent;
  position: relative;
  overflow: hidden;
}

.chat-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/chat-bot-icon.png') center/cover no-repeat;
  z-index: 1;
}

.chat-toggle:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

/* Стили для изображения в футере */
.footer-icon {
  width: 34px; /* Размер по вашему выбору */
  height: 34px;
  vertical-align: middle; /* Выравнивание по центру строки */
  margin-right: 0px; /* Отступ справа от иконки до текста */
}

.telegram-icon {
    margin-right: -100px; /* Отступ от следующего элемента */
}

/* Для адаптивности (опционально) */
@media (max-width: 768px) {
  .footer-icon {
    width: 20px;
    height: 20px;
  }

/* Добавьте в конец файла */
select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: #0b1220;
  border: 1px solid #253051;
  color: #dfe7f2;
  font-family: inherit;
}

select:focus {
  outline: 2px solid #3355ff33;
  border-color: #3355ff55;
}

textarea {
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
}

.tour-results {
  margin-top: 20px;
}

/*     */
.hotel-link {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}

.hotel-link:hover {
  color: var(--brand2);
  text-decoration: underline;
}

.booking-links {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn-link {
  display: inline-block;
  padding: 6px 12px;
  background: var(--card);
  border: 1px solid #1e2747;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.2s;
}

.btn-link:hover {
  background: var(--brand);
  color: var(--bg);
  transform: translateY(-1px);
}

/* ,        */
.card h3 {
  margin-top: 0;
}

.card h3 a {
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
}

/*    */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #142034;
  border-radius: 12px;
  margin: 8px 0;
  max-width: 85%;
  align-self: flex-start;
}

.typing-dots {
  display: flex;
  gap: 4px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing-dot 1.4s ease-in-out infinite both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }
.typing-dots span:nth-child(3) { animation-delay: 0s; }

.typing-text {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

@keyframes typing-dot {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/*    */
.chat-log .b {
  animation: messageAppear 0.3s ease-out;
}

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

/*    ,   */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--brand);
  margin-left: 2px;
  animation: blink-cursor 1s infinite;
}

@keyframes blink-cursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

}
