﻿/* ===== Sharm Golf – Design Tokens ===== */
:root {
  --purple: #7B42BC;
  --purple-dark: #6230A0;
  --purple-light: #9B6FD4;
  --pink: #D8438A;
  --pink-soft: #FCE8F2;
  --magenta: #D8438A;
  --navy: #1A1A2E;
  --text: #2D2D3A;
  --text-muted: #6B6B7B;
  --white: #FFFFFF;
  --yellow-star: #FFB800;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --shadow-card: 0 4px 24px rgba(138, 79, 255, 0.08);
  --shadow-search: 0 8px 40px rgba(138, 79, 255, 0.12);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1280px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(138, 79, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.logo__img--footer,
.logo--footer .logo__img {
  height: 42px;
  max-width: min(200px, 70vw);
}

.footer__col--brand .logo {
  margin-bottom: 12px;
}

@media (max-width: 480px) {
  .logo__img {
    height: 40px;
    max-width: min(180px, 48vw);
  }

  .logo__img--footer,
  .logo--footer .logo__img {
    height: 36px;
    max-width: min(170px, 65vw);
  }
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn--outline {
  border: 2px solid var(--purple);
  color: var(--purple);
  background: transparent;
}

.btn--outline:hover {
  background: var(--purple);
  color: var(--white);
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

a.icon-btn {
  text-decoration: none;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--pink-soft);
  color: var(--purple);
}

.icon-btn--wishlist {
  position: relative;
}

.icon-btn__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--magenta);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===== Language Switcher ===== */
.lang-switcher {
  position: relative;
}

.lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  width: auto;
  padding: 0 10px;
  border-radius: var(--radius-pill);
}

.lang-switcher__code {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.04em;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(138, 79, 255, 0.18);
  border: 1px solid rgba(138, 79, 255, 0.1);
  padding: 6px;
  z-index: 200;
}

.lang-dropdown[hidden] {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
  background: var(--pink-soft);
  color: var(--purple);
}

.lang-option--active {
  background: rgba(138, 79, 255, 0.1);
  color: var(--purple);
  font-weight: 700;
}

.lang-option__flag {
  font-size: 1.2rem;
  line-height: 1;
}

/* ===== Header menu dropdown ===== */
.header-menu {
  position: relative;
}

.header-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(138, 79, 255, 0.18);
  border: 1px solid rgba(138, 79, 255, 0.1);
  padding: 8px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header-menu__dropdown[hidden] {
  display: none;
}

.header-menu__link {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
}

.header-menu__link:hover {
  background: var(--pink-soft);
  color: var(--purple);
}

.header-menu__greeting {
  margin: 0;
  padding: 0.65rem 1rem 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-muted, #6b7280);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-menu__name {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text, #1a1a2e);
}

.header__menu-btn--signed-in {
  position: relative;
}

.header__menu-btn--signed-in::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ecdc4;
  border: 2px solid #fff;
}

.header-menu__link:first-child {
  color: var(--purple);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 48px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.blob--purple {
  width: 500px;
  height: 500px;
  background: var(--purple);
  top: -100px;
  left: 50%;
  transform: translateX(-60%);
}

.blob--pink {
  width: 400px;
  height: 400px;
  background: var(--pink);
  top: 50px;
  right: 10%;
}

.blob--blue {
  width: 350px;
  height: 350px;
  background: #7EC8E3;
  top: 100px;
  left: 5%;
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero__polaroids {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  margin-bottom: 40px;
  min-height: 220px;
  perspective: 800px;
}

.polaroid {
  background: var(--white);
  padding: 8px 8px 28px;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s;
}

.polaroid img {
  width: 140px;
  height: 170px;
  object-fit: cover;
  border-radius: 2px;
}

.polaroid--1 { transform: rotate(-12deg) translateY(20px); z-index: 1; margin-right: -30px; }
.polaroid--2 { transform: rotate(-4deg); z-index: 2; margin-right: -30px; }
.polaroid--3 { transform: rotate(4deg); z-index: 3; margin-right: -30px; }
.polaroid--4 { transform: rotate(12deg) translateY(20px); z-index: 4; }

.polaroid:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.05);
  z-index: 10;
}

.search-bar {
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-search);
  padding: 6px 6px 6px 24px;
  gap: 12px;
}

.search-bar__icon {
  flex-shrink: 0;
}

.search-bar__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text);
  background: transparent;
}

.search-bar__input::placeholder {
  color: #B0B0BC;
}

.search-bar__btn {
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.search-bar__btn:hover {
  background: var(--purple-dark);
  transform: scale(1.02);
}

/* ===== Sections ===== */
.section {
  padding: 64px 0;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
}

.section__title--solo {
  margin-bottom: 32px;
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple);
  transition: gap 0.2s;
}

.section__link:hover {
  gap: 10px;
}

/* ===== Categories (homepage) ===== */
.categories {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(252, 232, 242, 0.65) 0%,
    rgba(255, 255, 255, 0.85) 45%,
    rgba(155, 111, 212, 0.08) 100%
  );
}

.categories::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--white) 0%,
    transparent 14%,
    transparent 86%,
    var(--white) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.categories__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.categories .blob {
  filter: blur(100px);
  opacity: 0.24;
}

.categories .blob--purple {
  width: 520px;
  height: 520px;
  background: var(--purple);
  top: 15%;
  left: -8%;
  transform: none;
}

.categories .blob--pink {
  width: 440px;
  height: 440px;
  background: var(--pink);
  top: 5%;
  right: -6%;
}

.categories > .container {
  position: relative;
  z-index: 1;
}

.categories__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 16px;
  min-height: 520px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-card);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card--large {
  min-height: 520px;
}

.categories__small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
}

.categories__small-grid .category-card {
  min-height: 0;
  height: 100%;
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
}

.category-card__overlay h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.category-card__overlay span {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ===== Tour Cards ===== */
.tours__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

a.tour-card,
.tour-card--link {
  display: block;
  color: inherit;
  cursor: pointer;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(138, 79, 255, 0.15);
}

.tour-card__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.tour-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tour-card__wishlist:hover,
.tour-card__wishlist.is-active {
  color: var(--magenta);
  transform: scale(1.08);
}

.tour-card__wishlist.is-active svg {
  fill: var(--magenta);
}

.tour-card__location {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.tour-card__body {
  padding: 16px;
}

.tour-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.tour-card__stars {
  color: var(--yellow-star);
  letter-spacing: 1px;
}

.tour-card__reviews {
  color: var(--text-muted);
}

.tour-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tour-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--purple);
  border: 1.5px solid var(--purple);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(138, 79, 255, 0.04);
}

.tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tour-card__price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--purple);
}

.tour-card__price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ===== App Promo ===== */
.app-promo {
  background: linear-gradient(135deg, #FFF0F5 0%, #F3E8FF 50%, #FFFFFF 100%);
  padding: 80px 0;
  overflow: hidden;
}

.app-promo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.app-promo__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.app-promo__text p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.app-promo__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1A1A1A;
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s;
}

.store-btn small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.8;
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #333;
}

.store-btn--muted {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.store-btn--muted:hover {
  transform: none;
  background: #1A1A1A;
}

.app-promo__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.app-promo__phone {
  width: 280px;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(138, 79, 255, 0.2);
  position: relative;
  z-index: 2;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

.floating-card img {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
}

.floating-card--1 {
  top: 20%;
  right: 0;
  animation-delay: 0s;
}

.floating-card--2 {
  bottom: 25%;
  left: 0;
  animation-delay: 1.5s;
}

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

/* ===== Stats ===== */
.stats {
  position: relative;
  padding: 80px 0;
  background: url('images/footer-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
}

.stats__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 35, 0.82);
}

.stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
}

.stat-item__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* ===== Trending ===== */
.trending__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.trending__title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.trending__tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.trending-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid #E8E8EF;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.trending-tab:hover {
  border-color: rgba(123, 66, 188, 0.35);
}

.trending-tab--active {
  background: #EDE8F8;
  border-color: var(--purple);
  color: var(--purple);
}

.trending__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.region-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s;
}

.region-card:hover {
  transform: scale(1.04);
}

.region-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.region-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  color: var(--white);
}

.region-card__overlay h4 {
  font-size: 1rem;
  font-weight: 700;
}

.region-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  opacity: 0.95;
}

.region-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  flex-shrink: 0;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(138, 79, 255, 0.2);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: var(--shadow-card);
}

.carousel-btn:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  background: var(--white);
  padding-top: 64px;
}

.footer__gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 107, 157, 0.08) 0%, transparent 100%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__col ul a:hover {
  color: var(--purple);
}

.footer__col--contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer__col--contact a:hover {
  color: var(--purple);
}

.footer__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 260px;
}

.trustpilot {
  margin-top: 20px;
}

.trustpilot__stars {
  color: #00B67A;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.trustpilot__text {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--purple);
  transition: all 0.2s;
}

.social-icons a:hover {
  background: var(--purple);
  color: var(--white);
}

.payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 6px 10px;
  background: #F5F5F8;
  border-radius: 6px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer__bottom {
  border-top: 1px solid rgba(138, 79, 255, 0.1);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Categories Page ===== */
.page-hero {
  position: relative;
  padding: 32px 0 48px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(123, 66, 188, 0.06) 0%, transparent 100%);
}

.page-hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero__blobs .blob--purple {
  width: 400px;
  height: 400px;
  top: -80px;
  left: 20%;
}

.page-hero__blobs .blob--pink {
  width: 300px;
  height: 300px;
  top: 0;
  right: 10%;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--purple);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb__sep {
  color: var(--text-muted);
}

.breadcrumb__current {
  color: var(--text-muted);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

.categories-page {
  padding-top: 32px;
  padding-bottom: 80px;
}

.categories-page__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.categories-page .breadcrumb {
  margin-bottom: 12px;
}

.categories-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.categories-page__search {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
  background: var(--white);
  border: 2px solid rgba(123, 66, 188, 0.12);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.categories-page__search:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(123, 66, 188, 0.1);
}

.categories-page__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
}

.categories-page__count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.categories-page__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.category-page-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.category-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(123, 66, 188, 0.12);
}

.category-page-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.category-page-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.category-page-card:hover .category-page-card__image img {
  transform: scale(1.06);
}

.category-page-card__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.category-page-card__body h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.category-page-card__count {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.category-page-card__link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple);
  transition: gap 0.2s;
}

.category-page-card:hover .category-page-card__link {
  gap: 6px;
}

.category-page-card__link svg {
  width: 12px;
  height: 12px;
}

.categories-page__empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

@media (max-width: 1200px) {
  .categories-page__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1100px) {
  .categories-page__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .categories-page__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .categories-page__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-page__toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .categories-page__search {
    max-width: none;
  }
}

/* ===== Destinations Page ===== */
.destinations-page {
  padding-top: 32px;
  padding-bottom: 80px;
}

.destinations-page .breadcrumb {
  margin-bottom: 12px;
}

.destinations-page__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.destinations-page__count {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.destinations-page__empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2.5rem 1rem;
}

.destinations-page__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.destinations-page__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.destination-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
  color: var(--white);
}

.destination-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(123, 66, 188, 0.2);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.destination-card:hover img {
  transform: scale(1.08);
}

.destination-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 45%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  gap: 2px;
}

.destination-card__country {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.destination-card__overlay h3 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.destination-card__count {
  font-size: 0.72rem;
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .destinations-page__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 900px) {
  .destinations-page__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .destinations-page__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .destinations-page__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Regions / Category page ===== */
.cat-page {
  padding: 28px 0 72px;
}

.cat-page__heading {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cat-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.cat-filter__nav {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(123, 66, 188, 0.25);
  background: var(--white);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.cat-filter__nav:hover {
  background: var(--purple);
  color: var(--white);
}

.cat-filter__track-wrap {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-filter__track-wrap::-webkit-scrollbar {
  display: none;
}

.cat-filter__track {
  display: flex;
  gap: 8px;
  padding: 4px 2px;
}

.cat-filter__chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(123, 66, 188, 0.35);
  background: var(--white);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cat-filter__chip:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.cat-filter__chip--active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.cat-filter__check {
  flex-shrink: 0;
}

.cat-page__regions-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cat-page__regions-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #c44b7a;
}

.cat-page__regions-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.cat-page__regions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.region-grid-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s;
  color: var(--white);
}

.region-grid-card:hover {
  transform: scale(1.03);
}

.region-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.region-grid-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}

.region-grid-card__overlay h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.region-grid-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  opacity: 0.92;
}

.cat-page__empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

.cat-page__load-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.cat-page__load-btn {
  min-width: 160px;
  padding: 12px 32px;
}

.header__menu-btn {
  display: flex;
}

.icon-btn--cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn--cart .icon-btn__badge {
  pointer-events: none;
}

.icon-btn--profile {
  display: inline-flex;
}

@media (max-width: 1100px) {
  .cat-page__regions-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 900px) {
  .cat-page__regions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .cat-page__regions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .cat-page__regions-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .cat-filter__nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .cat-page__regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Region details page ===== */
.region-subnav {
  border-bottom: 1px solid rgba(138, 79, 255, 0.12);
  background: var(--white);
  position: sticky;
  top: 72px;
  z-index: 50;
}

.region-subnav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.region-subnav__inner::-webkit-scrollbar {
  display: none;
}

.region-subnav__link {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.region-subnav__link:hover,
.region-subnav__link--active {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

.region-detail {
  padding: 32px 0 72px;
}

.region-detail__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.region-detail__filters {
  margin-bottom: 24px;
}

.region-detail__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.region-detail__count {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.region-detail__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.region-detail__filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
}

.region-detail__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.region-detail__sort-select {
  border: 1.5px solid rgba(138, 79, 255, 0.25);
  border-radius: 8px;
  padding: 8px 32px 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B42BC' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.region-detail__grid {
  margin-bottom: 8px;
}

.region-detail__rating {
  flex-wrap: wrap;
  gap: 4px 8px;
}

.region-detail__rating-score {
  font-weight: 700;
  color: var(--navy);
}

.region-detail__reviews-link {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}

.region-detail__reviews-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .region-subnav {
    top: 64px;
  }

  .region-subnav__inner {
    justify-content: flex-start;
    padding: 12px 4px;
    gap: 20px;
  }

  .region-detail__toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .trending__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .tours__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .trending__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .categories__grid {
    grid-template-columns: 1fr;
  }
  .category-card--large {
    min-height: 280px;
  }
  .app-promo__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-promo__text p {
    margin-left: auto;
    margin-right: auto;
  }
  .app-promo__buttons {
    justify-content: center;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tours__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header__nav .btn--outline {
    display: none;
  }
  .hero__polaroids .polaroid img {
    width: 90px;
    height: 110px;
  }
  .search-bar {
    flex-wrap: wrap;
    border-radius: var(--radius-md);
    padding: 12px;
  }
  .search-bar__btn {
    width: 100%;
  }
  .tours__grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .carousel-btn {
    display: none;
  }

  .trending__header {
    flex-direction: column;
    align-items: stretch;
  }

  .trending__tabs {
    width: 100%;
  }

  .trending-tab {
    flex: 1;
    justify-content: center;
  }

  .trending__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
    padding-bottom: 8px;
  }

  .trending__grid::-webkit-scrollbar {
    display: none;
  }

  .trending__grid .region-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
  }
}

/* Site features: toast, wishlist active states */
.site-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: #0F4C81;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.35);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.site-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.tour-card__wishlist.is-active svg {
  fill: #e11d48;
  stroke: #e11d48;
}

.trip-action-btn.is-active {
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.35);
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 8px 28px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55), 0 10px 32px rgba(0, 0, 0, 0.14);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}

.whatsapp-float__icon {
  display: block;
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float__icon {
    width: 26px;
    height: 26px;
  }
}
