/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  font-family: 'Inter', sans-serif;
  height: 100%;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header */
.main-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1300px;
  background-color: #fff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* логотип слева, меню+кнопка справа */
  padding: 10px 25px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Логотип + слоган */
.logo-slogan {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-slogan img {
  height: 50px;
}
.slogan-container {
  display: flex;
  font-weight: 600;
  font-size: 18px;
}
.fixed-part {
  margin-right: 5px;
  color: #000;
}
.changing-part {
  color: #FFC107;
  min-width: 120px;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Десктопная группа: навигация + кнопка */
.desktop-group {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav.desktop-nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}
nav.desktop-nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}
.header-button .signup-btn {
  background-color: #FFC107;
  color: #000;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

/* Гамбургер (мобильный) */
.hamburger-btn {
  display: none;              /* скрыт по умолчанию */
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;              /* поверх всего */
}
.hamburger-btn span {
  display: block;
  width: 100%;                /* полная ширина */
  height: 2px;
  background: #000;
  border-radius: 1px;
}
.hamburger-btn span + span {
  margin-top: 4px;            /* расстояние между штрихами */
}

/* Мобильное выезжающее меню */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: #fff;
  flex-direction: column;
  padding: 60px 20px;
  box-shadow: -4px 0 8px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 1100;
}
.mobile-nav.open {
  right: 0;
}
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: 500;
}
.mobile-nav > .signup-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  background-color: #FFC107;
  color: #000;
  padding: 12px 20px;
  border-radius: 8px;
}

/* Typewriter */
.typewriter {
  border-right: 2px solid #FFC107;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  font-weight: 600;
  color: #FFC107;
  min-width: 120px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url('images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px; /* под фиксированный хедер */
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}
.hero-text h1 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #fff;
}
.hero-text h1 span {
  color: #FFC107;
}
.hero-text p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 30px;
}
.flight-check-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.flight-check-form input {
  padding: 12px 20px;
  border-radius: 6px;
  border: none;
  outline: none;
  width: 280px;
  font-size: 16px;
}
.flight-check-form button {
  padding: 12px 25px;
  background-color: #FFC107;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.flight-check-form button:hover {
  background-color: #FFC107;
}

/* How It Works */
.how-it-works {
  background-color: #FAF5FB;
  padding: 80px 20px;
  text-align: center;
}
.how-it-works h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #000;
}
.how-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.step {
  position: relative;
  background-color: #fff;
  border-radius: 15px;
  padding: 40px 25px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  text-align: center;
  flex: 1 1 300px;
}
.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: #FFC107;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.step-icon {
  width: 70px;
  margin-bottom: 15px;
}
.step-title {
  font-size: 20px;
  font-weight: 600;
  margin: 15px 0;
  color: #000;
}
.step-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* We Also Work */
.also-work {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}
.also-work-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #000;
}
.work-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.work-card {
  background-color: #FAF5FB;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  padding: 30px 20px;
  width: 220px;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.work-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}
.work-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #000;
}
.work-card .soon {
  display: block;
  font-size: 12px;
  color: #888;
  font-style: italic;
}
.work-card.active {
  background-color: #FFC107;
  color: #000;
}
.work-card.disabled {
  opacity: 0.5;
  cursor: default;
}
.work-card.disabled:hover {
  transform: none;
}

/* About Us */
.about-us {
  background-color: #FAF5FB;
  padding: 80px 0;
}
.about-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #000;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.about-image {
  flex: 1 1 300px;
}
.about-image img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}
.about-content {
  flex: 1 1 400px;
}
.about-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
}
.about-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.about-content ul li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  color: #333;
}
.about-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #FFC107;
  font-size: 18px;
  line-height: 1;
}
.about-btn {
  display: inline-block;
  background-color: #FFC107;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.about-btn:hover {
  background-color: #FFC107;
}

/* Ready Section */
.ready-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.ready-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ready-container h2 {
  font-size: 28px;
  font-weight: 700;
  color: #000;
}
.ready-btn {
  display: inline-block;
  background-color: #FFC107;
  color: #fff;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.ready-btn:hover {
  background-color: #FFC107;
}

/* Footer */
.footer {
  background-color: #FAF5FB;
  padding: 60px 20px 30px;
  font-size: 14px;
  color: #333;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-top {
  margin-bottom: 40px;
}
.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}
.footer-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.footer-socials a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}
.footer-socials a img:hover {
  transform: scale(1.2);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
}
.footer-col {
  min-width: 150px;
  text-align: center;
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a,
.footer-col p a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover,
.footer-col p a:hover {
  color: #00A8FF;
}
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: 20px;
}

/* Media Query для мобилки */
@media (max-width: 768px) {
  .main-header {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    border-radius: 0;
    padding: 10px 20px;
    justify-content: space-between;
  }
  .desktop-group {
    display: none;
  }
}

/* === Гамбургер и логика мобильного меню === */
@media (max-width: 768px) {
  .desktop-group {
    display: none;
  }
  .hamburger-btn {
    display: flex !important;
  }
  .hero {
    padding-top: 60px;
  }
}

/* Гамбургер поверх всего */
.hamburger-btn {
  display: none; /* <-- по умолчанию скрыт */
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2100;
}
.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger-btn span + span {
  margin-top: 4px;
}

/* Анимация крестика */
.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Скрытие анимации слогана */
@media (max-width: 768px) {
  .slogan-container {
    display: none !important;
  }
}

/* === Мобильное меню === */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  flex-direction: column;
  padding: 80px 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 2000;
}
.mobile-nav.open {
  transform: translateX(0);
  display: flex;
}

/* Мобильное меню: навигация */
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: 500;
}

/* Кнопка внизу */
.mobile-nav > .signup-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  background-color: #FFC107;
  color: #000;
  padding: 12px 20px;
  border-radius: 8px;
}

/* === Вложенное меню Travel → Flight Compensation === */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
}
.mobile-dropdown-toggle {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
}
.mobile-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}
.mobile-submenu {
  display: none;
  flex-direction: column;
  padding-left: 12px;
  margin-top: 6px;
}
.mobile-submenu li a {
  font-size: 16px;
  padding: 6px 0;
  color: #444;
}
.mobile-dropdown.open .mobile-submenu {
  display: flex;
}
.mobile-dropdown.open .mobile-arrow {
  transform: rotate(180deg);
}

.desktop-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .dropdown {
  position: relative;
}

.desktop-nav .dropdown-menu {
  position: absolute;
  top: calc(100% + 30px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  padding: 14px 24px;
  border-radius: 16px;
  min-width: 220px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.desktop-nav .dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
  text-align: left;
}

.desktop-nav .dropdown:hover .dropdown-menu,
.desktop-nav .dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.desktop-nav .dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 30px;
}

.desktop-nav .dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 16px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.arrow-down {
  display: inline-block;
  font-size: 12px;
  transform: rotate(0deg);
  transition: transform 0.3s ease, color 0.3s ease;
  color: #000;
}

.desktop-nav .dropdown:hover > a,
.desktop-nav .dropdown:hover .arrow-down {
  color: #FFC107;
}

.desktop-nav .dropdown:hover .arrow-down {
  transform: rotate(180deg);
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.popup-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: #FFC800; /* Matefull yellow */
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s;
}

.popup-btn:hover {
  background-color: #e6b800;
}

.centered-text {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #222;
}

.popup-content hr {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #eee;
}

.view-claim-status {
  display: block;
  text-align: center;
  color: #1E5EFF;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
}

.view-claim-status:hover {
  text-decoration: underline;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.close-btn:hover {
  color: #555;
}
.hero-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.hero-service-card {
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  text-align: center;
  transition: transform 0.2s ease;
  text-decoration: none;
  color: #111;
}
.hero-service-card:hover {
  transform: translateY(-4px);
}
.hero-service-card img {
  height: 42px;
  margin-bottom: 10px;
}
.explore-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 24px;
  background-color: #FFC107;
  color: #000;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 600px) {
  .hero-service-card {
    width: 45%;
  }
}

