/* styles.css — Станция Пхукет */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #fff;
}

/* Navbar */
#mainNav {
  background: linear-gradient(to right, #0C2340, #12375E);
  padding: 0.7rem 0;
  transition: top 0.4s ease, padding 0.3s ease;
  z-index: 999;
}
#mainNav .navbar-toggler-icon {
  filter: invert(1);
}
#mainNav .nav-link {
  color: #fff !important;
  margin: 0 8px;
}

/* Анимация при наведении на иконки в меню */
.menu-icon-anim i {
  transition: transform 0.2s ease;
}
.menu-icon-anim:hover i {
  transform: scale(1.2);
}

.navbar-shrink {
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
}

/* Hero Section (фон + волны) */
.hero-section.main-hero {
  position: relative;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 50, 0.6),
      rgba(0, 0, 70, 0.6)
    ),
    url("images/heroback.jpg") no-repeat center/cover;
  
  color: #fff;
  padding: 5rem 1rem 6rem 1rem;
  margin-top: 56px;
  text-align: center;
  overflow: hidden;
}

/* Волны */
.waves-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 1;
  overflow: hidden;
}
.wave {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat no-repeat;
  background-position: 0 bottom;
  background-size: 50% 100px;
  animation: waveAnim 6s linear infinite;
}
.wave1 { background-image: url("images/wave1.svg"); opacity: 0.5; }
.wave2 { background-image: url("images/wave2.svg"); animation-delay: -2s; opacity: 0.7; }
.wave3 { background-image: url("images/wave3.svg"); animation-delay: -4s; opacity: 0.9; }

@keyframes waveAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* separator-line */
.separator-line {
  background-color: #eee;
  height: 2px;
  width: 100%;
}

/* toggle-switch (iOS-стиль) */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute; content: "";
  height: 26px; width: 26px;
  left: 4px; bottom: 4px;
  background-color: #fff;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #FFC107;
}
input:focus + .slider {
  box-shadow: 0 0 1px #FFC107;
}
input:checked + .slider:before {
  transform: translateX(26px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

/* service-icon, feature-icon */
.service-icon i,
.feature-icon i {
  color: #FFC107;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  transition: transform 0.2s ease;
}
.feature-icon:hover {
  transform: scale(1.15);
}

/* Карточки */
.card h5.text-primary {
  color: #0C2340 !important;
}

/* leaflet-map-container */
.leaflet-map-container {
  width: 100%;
  height: 600px;
  margin-top: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

/* DivIcon для Font Awesome */
.marker-icon-container {
  background-color: #0C2340;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.marker-icon-container .fa-marker i {
  color: #FFC107;
}

/* screenshot-thumb */
.screenshot-thumb {
  width: 60%;
  max-width: 220px;
  border: 1px solid #eee;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.screenshot-thumb:hover {
  transform: scale(1.05);
}
.screenshot-caption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

/* Footer */
footer {
  margin-top: 2rem;
  padding: 1rem;
  text-align: center;
}
footer a {
  color: #0C2340;
  text-decoration: none;
}
footer a:hover {
  color: #FFC107;
}

/* Кнопка "Наверх" */
#toTopBtn {
  position: fixed;
  bottom: 40px; right: 25px;
  z-index: 9999;
  display: none;
  background-color: #0C2340;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px; height: 45px;
  font-size: 18px; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}
#toTopBtn:hover {
  opacity: 0.8;
}

/* AOS overrides */
[data-aos] {
  transition-property: transform, opacity !important;
}