/* ============================================
   OKAVANGO JUNCTION
   Inspired by premium shopping centre design
   ============================================ */

:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --accent: #c8a45c;
  --accent-light: #e8d5a3;
  --accent-dark: #a8883e;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --light-grey: #f5f5f5;
  --mid-grey: #8a8885;
  --dark-grey: #4a4845;
  --text: #2d2b28;
  --text-light: #6b6965;
  --shadow: 2px 20px rgba(0,0,0,.05);
  --shadow-lg: 8px 40px rgba(0,0,0,.1);
  --transition: all .3s ease;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 500; font-family: var(--font-body); }

p { margin-bottom: 1rem; color: var(--text-light); line-height: 1.7; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }

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

.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--primary);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.7); }

.section-accent {
  background: var(--accent);
}
.section-accent h2,
.section-accent h3 { color: var(--white); }
.section-accent p { color: rgba(255,255,255,.85); }

.section-light { background: var(--off-white); }

.text-center { text-align: center; }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: var(--primary);
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  padding: 6px 16px;
  text-align: center;
  letter-spacing: .3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announcement-bar span { color: var(--accent); }

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #87CEEB;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 290px;
  height: 79px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0;
  line-height: 1;
}
.logo-text span { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 8px 18px;
  border-radius: 6px;
  color: var(--text-light);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--off-white);
}

.nav .btn-accent {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 24px;
  margin-left: 8px;
  border-radius: 6px;
  font-weight: 500;
}
.nav .btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.95) 0%, rgba(26,26,46,.6) 100%);
}

.hero .container {
  width: 100%;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(200,164,92,.15);
  border: 1px solid rgba(200,164,92,.25);
  border-radius: 50px;
  font-size: .8rem;
  color: var(--accent-light);
  margin-bottom: 28px;
  letter-spacing: .5px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white) !important;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow:  6px 24px rgba(200,164,92,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,.3);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

.btn-dark {
  background: var(--primary);
  color: var(--white) !important;
}
.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   FEATURED GRID (Shopping/Dining/Entertainment)
   ============================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featured-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: var(--light-grey);
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.featured-card:hover img {
  transform: scale(1.05);
}

.featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.9) 0%, transparent 50%);
}

.featured-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  color: var(--white);
}

.featured-card-content h3 {
  color: var(--white);
  margin-bottom: 6px;
}

.featured-card-content p {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  margin-bottom: 0;
}

.featured-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

/* ============================================
   SERVICES / OFFERINGS GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ============================================
   STATS / NUMBERS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================
   INFO PANELS (About/Plan Your Visit)
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

.info-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.9) 0%, rgba(26,26,46,.2) 60%);
}

.info-card-content {
  position: relative;
  z-index: 2;
  padding: 36px 32px;
  color: var(--white);
}

.info-card-content h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.info-card-content p {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin-bottom: 18px;
}

.info-card-content .btn {
  padding: 10px 24px;
  font-size: .85rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--accent);
  font-size: .85rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: .95rem;
  font-style: italic;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: .85rem;
}

.testimonial-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  text-align: center;
  padding: 40px ;
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section p {
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   ABOUT PAGE - Story
   ============================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content h2 {
  margin-bottom: 16px;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.team-info {
  padding: 24px 20px;
}

.team-info h4 {
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.team-info p {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-content h2 {
  margin-bottom: 12px;
}

.contact-info-content p {
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--off-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-item h4 {
  margin-bottom: 2px;
  font-size: .95rem;
}

.contact-item p {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-item a {
  color: var(--text-light);
}
.contact-item a:hover {
  color: var(--accent);
}

.form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
}

.form-card h3 {
  margin-bottom: 6px;
}

.form-card p {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--light-grey);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
  transition: var(--transition);
  background: var(--off-white);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow:    6px rgba(200,164,92,.12);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: .95rem;
}

.form-success {
  display: none;
  padding: 14px;
  background: rgba(200,164,92,.1);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent-dark);
  text-align: center;
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: 20px;
}

.form-error {
  display: none;
  padding: 14px;
  background: rgba(220, 53, 69, .06);
  border: 1px solid rgba(220, 53, 69, .25);
  border-radius: 8px;
  color: #dc3545;
  text-align: center;
  font-size: .88rem;
  margin-bottom: 20px;
}

/* ============================================
   MAP
   ============================================ */
.map-block {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 2/1;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  font-size: 4rem;
}

/* ============================================
   PAGE BANNER (inner pages)
   ============================================ */
.page-banner {
  padding: 100px 0 80px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
}

.page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .12;
}

.page-banner .container {
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-banner p {
  color: rgba(255,255,255,.55);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: rgba(255,255,255,.45);
  font-size: .88rem;
  max-width: 280px;
  margin-top: 16px;
}

.footer h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.25);
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  color: rgba(255,255,255,.3);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--accent);
}

/* ============================================
   OPENING HOURS TABLE
   ============================================ */
.hours-table {
  width: 100%;
  max-width: 400px;
  margin: 20px 0;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  color: rgba(255,255,255,.7);
  font-weight: 500;
  font-size: .9rem;
}

.hours-time {
  color: var(--white);
  font-size: .9rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid,
  .featured-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 24px 30px;
    transition: right .4s ease;
    z-index: 999;
    box-shadow: -8px  30px rgba(0,0,0,.08);
  }

  .nav.open { right: 0; }

  .hamburger { display: flex; z-index: 100; }

  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .story-grid,
  .contact-grid,
  .info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section { padding: 60px 0; }

  .hero { min-height: 70vh; }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid,
  .featured-grid,
  .testimonials-grid,
  .stats-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .form-card { padding: 24px; }

  .page-banner { padding: 80px  60px; }

  .announcement-bar { display: none; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
