/* Muwuyu Africa Travel - Main Stylesheet */

:root {
  --ink:#0D0D0D;
  --canvas:#FFFFFF;
  --canvas-dim:#F4F0E6;
  --moss:#0D0D0D;
  --brass:#D6A544;
  --brass-soft:#E7C381;
  --rust:#D6A544;
  --mist:#B9B9B3;
  --line: rgba(255,255,255,0.14);
  --line-ink: rgba(13,13,13,0.12);
  --ff-display:'Fraunces', serif;
  --ff-body:'Work Sans', sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
  --header-h:88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--brass);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--brass-soft);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: rgba(13,13,13,0.3);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--canvas);
}

/* Page Hero */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
}

.page-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 64px);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  color: #fff;
  font-weight: 600;
  line-height: 1.15;
  margin: 16px 0 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.breadcrumb a {
  transition: color 0.25s;
}

.breadcrumb a:hover {
  color: var(--brass-soft);
}

.breadcrumb .sep {
  color: rgba(255,255,255,0.4);
}

/* Destination Detail */
.dest-detail-main {
  padding: 64px 0 100px;
}

.dest-lead-section {
  margin-bottom: 64px;
}

.dest-lead-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.dest-lead-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a4a4a;
}

.dest-facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dest-fact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dest-fact-icon {
  width: 36px;
  height: 36px;
  background: var(--canvas-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dest-fact-icon svg {
  width: 18px;
  height: 18px;
  color: var(--brass);
}

.dest-fact-content strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.9rem;
  color: var(--ink);
}

.dest-fact-content span {
  color: #5c5c54;
  font-size: 0.9rem;
}

.dest-gallery-section {
  margin: 64px 0;
}

.dest-gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 32px;
  text-align: center;
}

.dest-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.dest-gallery-item {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
}

.dest-gallery-item img,
.dest-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.dest-content-section {
  padding: 64px 0;
}

.dest-content-section.bg-white {
  background: var(--canvas);
}

.dest-content-section.bg-sand {
  background: var(--canvas-dim);
}

.dest-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.dest-section-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.dest-section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a4a4a;
  max-width: 720px;
  margin-bottom: 32px;
}

.dest-section-image {
  border-radius: 8px;
  overflow: hidden;
  max-width: 900px;
}

.dest-section-image img {
  width: 100%;
  height: auto;
}

.dest-activities-section {
  margin: 64px 0;
}

.dest-activities-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  text-align: center;
}

.section-lead {
  text-align: center;
  color: #5c5c54;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.dest-activities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.dest-activity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--ink);
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.dest-activity-pill:hover {
  background: var(--brass);
  color: var(--ink);
  transform: translateY(-2px);
}

.pill-price {
  font-size: 0.8rem;
  opacity: 0.8;
}

.dest-cta-section {
  margin: 80px 0;
}

.dest-cta-card {
  background: var(--canvas-dim);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.dest-cta-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.dest-cta-card p {
  color: #5c5c54;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.dest-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Activity Detail */
.activity-detail-main {
  padding: 64px 0 100px;
}

.activity-category-badge {
  display: inline-block;
  background: rgba(214,165,68,0.2);
  border: 1px solid var(--brass);
  color: var(--brass);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.activity-facts-section {
  margin-bottom: 48px;
}

.activity-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.activity-fact {
  padding: 20px;
  background: var(--canvas-dim);
  border-radius: 8px;
}

.activity-fact strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}

.activity-fact span {
  color: #5c5c54;
  font-size: 0.95rem;
}

.activity-what-section,
.activity-description-section,
.activity-includes-section,
.activity-requirements-section {
  margin: 48px 0;
}

.activity-what-section h2,
.activity-description-section h2,
.activity-includes-section h2,
.activity-requirements-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.activity-what-content,
.activity-description-content,
.activity-includes-content,
.activity-requirements-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a4a4a;
  max-width: 800px;
}

.activity-includes-content ul,
.activity-requirements-content ul {
  list-style: none;
  padding: 0;
}

.activity-includes-content li,
.activity-requirements-content li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}

.activity-includes-content li::before,
.activity-requirements-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: bold;
}

.activity-gallery-section {
  margin: 64px 0;
}

.activity-gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 32px;
  text-align: center;
}

.activity-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.activity-gallery-item {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
}

.activity-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.activity-content-section {
  margin: 48px 0;
  padding: 32px;
  background: var(--canvas-dim);
  border-radius: 8px;
}

.activity-content-section h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.activity-content-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 16px;
}

.activity-content-section img {
  border-radius: 8px;
  margin-top: 20px;
}

.activity-cta-section {
  margin: 80px 0;
}

.activity-cta-card {
  background: var(--canvas-dim);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.activity-cta-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.activity-cta-card p {
  color: #5c5c54;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.activity-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating Buttons */
#wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s;
  animation: wa-pulse 3s infinite;
}

#wa-float:hover {
  transform: scale(1.1);
}

#wa-float svg {
  width: 28px;
  height: 28px;
  color: white;
}

@keyframes wa-pulse {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

#back-to-top {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  border: none;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

#back-to-top:hover {
  transform: translateY(-2px);
  background: var(--brass);
}

#back-to-top svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .dest-lead-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dest-cta-card,
  .activity-cta-card {
    padding: 32px 24px;
  }

  .dest-cta-buttons,
  .activity-cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  #wa-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  #back-to-top {
    bottom: 80px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}
