/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Josefin Sans', sans-serif;
  background: #132841;
  color: #fff;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* =============================================
   TOKENS
   ============================================= */
:root {
  --navy: #132841;
  --navy-dark: #12344F;
  --teal: #3ABDC5;
  --white: #ffffff;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Josefin Sans', sans-serif;
  --font-nav: 'Inter', sans-serif;
}

/* =============================================
   SHARED COMPONENTS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border-radius: 27px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn--white {
  background: #fff;
  color: var(--navy);
}
.btn--white:hover { background: #e8e8e8; }

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 60px;
}

.section-divider {
  width: 100%;
  max-width: 720px;
  height: 1px;
  background: rgba(58, 189, 197, 0.3);
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  gap: 24px;
}

.nav__logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav__item { position: relative; }

.nav__link {
  font-family: var(--font-nav);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  opacity: 0.92;
  white-space: nowrap;
  transition: opacity 0.2s;
  padding: 4px 0;
}
.nav__link:hover { opacity: 1; }

.nav__link--caret::after {
  content: ' ▾';
  font-size: 12px;
}

/* Dropdown */
.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  border-radius: 4px;
  list-style: none;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  overflow: hidden;
  z-index: 200;
}

.nav__item--dropdown:hover .nav__dropdown { display: block; }

.nav__dropdown li a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
  transition: background 0.15s;
}
.nav__dropdown li a:hover { background: rgba(58,189,197,0.1); color: var(--teal); }
.nav__dropdown li + li {
  border-top: 1px solid rgba(58,189,197,0.3);
}

.nav__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.nav__social:hover { background: rgba(255,255,255,0.3); }
.nav__social svg { width: 16px; height: 16px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14,27,39,0.49) 0%,
    rgba(14,27,39,0.06) 46%,
    rgba(14,27,39,0.90) 100%
  );
}

.hero__headline {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 200px);
  font-weight: 700;
  color: #fbf9f9;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s ease-in-out infinite;
  transition: border-color 0.2s;
}
.hero__scroll:hover { border-color: #fff; }
.hero__scroll svg { width: 20px; height: 20px; }

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

/* =============================================
   DESTINATION CARDS
   ============================================= */
.destinations {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding-bottom: 40px;
  overflow: hidden;
}

.cards-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cards-track::-webkit-scrollbar { display: none; }

.card {
  position: relative;
  flex: 0 0 20%;
  min-width: 200px;
  aspect-ratio: 3/4;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
}

.card--featured {
  flex: 0 0 25%;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover img { transform: scale(1.06); }

.card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.18) 50%,
    rgba(0,0,0,0.79) 100%
  );
}

.card__name {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  z-index: 2;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 24px 0 8px;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.5;
  transition: opacity 0.2s;
  padding: 0;
}
.dot--active { opacity: 1; }

/* =============================================
   EXPERIENCE THE WORLD
   ============================================= */
.experience {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 5%;
}

.experience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: start;
}

.exp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.exp-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  text-transform: capitalize;
}

.exp-card__img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.exp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.exp-card:hover .exp-card__img img { transform: scale(1.04); }

.exp-card__desc {
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
  color: rgba(255,255,255,0.9);
  flex: 1;
}

/* =============================================
   MEET THE ESCAPERS
   ============================================= */
.escapers {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(58,189,197,0.15);
}

.escapers .section-title { margin-bottom: 4px; }

.escapers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  margin: 28px 0;
}

.escaper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.escaper__img {
  width: 100%;
  max-width: 544px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.escaper__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.escaper__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  text-align: center;
}

.escaper__bio {
  font-size: 17px;
  line-height: 1.65;
  text-align: center;
  color: rgba(255,255,255,0.88);
  max-width: 420px;
}

/* =============================================
   LATEST BLOGS
   ============================================= */
.blogs {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid rgba(58,189,197,0.15);
}

.blogs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1500px;
  width: 100%;
  margin-bottom: 48px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.04); }

.blog-card__desc {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  color: rgba(255,255,255,0.88);
  flex: 1;
}

.blog-card__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  display: inline-block;
  padding: 6px 22px;
  border-radius: 27px;
  border: 1px solid rgba(255,255,255,0.6);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  position: relative;
  overflow: hidden;
}

.footer__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.footer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 26, 51, 0.82);
}

.footer__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 5% 40px;
  gap: 0;
}

.footer__headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.footer__sub {
  font-family: var(--font-body);
  font-size: 20px;
  text-align: center;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
}

.footer__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 620px;
  margin-bottom: 56px;
}

.footer__input {
  width: 100%;
  padding: 16px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(217,217,217,0.25);
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  outline: none;
  transition: border-color 0.2s;
}
.footer__input::placeholder { color: rgba(255,255,255,0.65); }
.footer__input:focus { border-color: rgba(255,255,255,0.9); }

.footer__logo {
  margin-bottom: 56px;
}
.footer__logo img {
  height: 160px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__rule {
  width: 100%;
  max-width: 1520px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.6);
  margin-bottom: 0;
}

.footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1520px;
  background: rgba(0,26,51,0.5);
  backdrop-filter: blur(6px);
  padding: 28px 48px;
  margin-bottom: 0;
}

.footer__contact-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 32px;
}

.footer__contact-divider {
  width: 1px;
  height: 90px;
  background: rgba(255,255,255,0.45);
  flex-shrink: 0;
}

.footer__contact-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer__contact-value {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 600;
  color: #fff;
  transition: opacity 0.2s;
}
.footer__social-link:hover { opacity: 0.75; }

.footer__rule--bottom {
  margin-top: 0;
  margin-bottom: 0;
}

.footer__bottom {
  width: 100%;
  max-width: 1520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255,255,255,0.85);
}

.footer__bottom-links {
  display: flex;
  gap: 40px;
}
.footer__bottom-links a:hover { color: #fff; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .experience__grid,
  .blogs__grid { gap: 28px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }

  .card { flex: 0 0 40%; }
  .card--featured { flex: 0 0 50%; }

  .experience__grid,
  .blogs__grid { grid-template-columns: 1fr; max-width: 480px; }

  .escapers__grid { grid-template-columns: 1fr; max-width: 480px; }

  .footer__contact { flex-direction: column; gap: 28px; }
  .footer__contact-divider { width: 120px; height: 1px; }

  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer__bottom-links { justify-content: center; }
}

@media (max-width: 600px) {
  .nav { padding: 14px 20px; }
  .nav__logo img { height: 38px; }

  .card { flex: 0 0 70%; }
  .card--featured { flex: 0 0 80%; }

  .hero__headline { font-size: clamp(52px, 18vw, 100px); }

  .experience, .escapers, .blogs { padding: 56px 5%; }

  .footer__contact { padding: 24px 20px; }
  .footer__socials { flex-direction: column; gap: 14px; }
}
