/* ===== Base Styles ===== */
:root {
    --gold: #c19a6b;
    --dark: #2a2a2a;
    --light: #f9f5f0;
    --text: #555;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.5s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-img {
    height: 50px;
    transition: all 0.3s ease;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gold);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--gold);
}

/* CTA Button */
.cta-button {
    background-color: var(--gold);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.cta-button:hover {
    background-color: #b0885a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Scrolled Header Styles */
.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 12px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.scrolled .logo-img {
    height: 40px;
}

.scrolled .nav-link {
    color: white;
}

.scrolled .cta-button {
    background-color: var(--gold);
}

/* MSS Hero Styles - Minimalist Version */
.mss-destinations-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
}

.mss-hero-wrapper {
    position: relative;
    width: fit-content; /* Or 100% if needed */
    max-width: 800px; /* Optional */
    margin: auto;
}

.mss-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}

/* Add a pseudo-element for the gradient overlay */
.mss-hero-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

/* Hero Content - Enhanced Colors & Responsive Alignment */
.mss-hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    padding: 0;
    text-align: left;
    animation: mss-fadeIn 1s ease-in-out;
    width: 80%; /* Better control on larger screens */
}

.mss-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
    width: 100%;
}

.mss-destination-info {
    background: transparent;
    padding: 1.5rem 1.5rem 1.5rem 0;
    border-radius: 0 4px 4px 0;
    width: fit-content;
    max-width: 100%;
}

.mss-destination-name {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 700; /* Slightly bolder */
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    padding-right: 1.5rem;
}

.mss-destination-description {
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    line-height: 1.6;
    color: #f8d67a; /* Warmer gold color */
    font-weight: 500; /* Slightly heavier */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    max-width: 90%;
    padding-right: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .mss-hero-content {
        left: 5%;
        width: 90%;
    }
    
    .mss-destination-info {
        background: transparent;
    }
}

@media (max-width: 768px) {
    .mss-hero-content {
        padding-right: 5%;
    }
    
    .mss-destination-name,
    .mss-destination-description {
        padding-right: 0;
        max-width: 100%;
    }
    
    .mss-destination-info {
        padding: 1.25rem 1.25rem 1.25rem 0;
    }
}

@media (max-width: 480px) {
    .mss-hero-content {
        left: 1rem;
        width: calc(100% - 2rem);
    }
    
    .mss-hero-title {
        letter-spacing: 0;
    }
    
    .mss-destination-info {
        background: transparent;
        border-radius: 4px;
        padding: 1rem;
        width: 100%;
    }
    
    .mss-destination-description {
        color: #f9e3a6; /* Lighter gold for better visibility on mobile */
    }
}

/* Destination Cards */
.mss-destination-cards-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
}

.mss-destination-cards {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mss-destination-cards::-webkit-scrollbar {
    display: none;
}

.mss-destination-card {
    flex: 0 0 180px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mss-destination-card.mss-active {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mss-destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1;
}

.mss-card-image {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.mss-destination-card:hover .mss-card-image {
    transform: scale(1.05);
}

.mss-card-title {
    position: absolute;
    bottom: 10px;
    left: 15px;
    margin: 0;
    font-size: 1.1rem;
    z-index: 2;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    font-weight: 500;
}

/* Navigation Buttons */
.mss-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.mss-nav-button:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

.mss-prev-button {
    left: 20px;
}

.mss-next-button {
    right: 20px;
}

/* Scroll Indicator */
.mss-scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.mss-scroll-indicator:hover {
    opacity: 1;
}

.mss-scroll-indicator__bar {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), rgba(248, 214, 122, 0.3));
    position: relative;
    overflow: hidden;
}

.mss-scroll-indicator__bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--gold);
    animation: scrollIndicator 2s infinite ease-in-out;
}

.mss-scroll-indicator__text {
    color: var(--gold);
    font-size: 0.8rem;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@keyframes scrollIndicator {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(50px);
        opacity: 0;
    }
}

/* Hide on small devices if needed */
@media (max-width: 768px) {
    .mss-scroll-indicator {
        display: none;
        bottom: 20px;
    }
    
    .mss-scroll-indicator__bar {
        display: none;
        height: 40px;
    }
    
    .mss-scroll-indicator__text {
        display: none;
        font-size: 0.7rem;
    }
}

/* Animations */
@keyframes mss-fadeIn {
    from { opacity: 0; transform: translateY(20px) translateY(-50%); }
    to { opacity: 1; transform: translateY(0) translateY(-50%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mss-hero-content {
        left: 5%;
        right: 5%;
        max-width: none;
    }
    
    .mss-hero-title {
        font-size: 2.5rem;
    }
    
    .mss-destination-name {
        font-size: 1.6rem;
    }
    
    .mss-destination-cards-container {
        padding: 0 20px;
    }
    
    .mss-destination-card {
        display: none;
        flex: 0 0 140px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .mss-hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .mss-destination-info {
        padding: 1rem;
    }
    
    .mss-destination-name {
        font-size: 1.3rem;
    }
    
    .mss-destination-description {
        font-size: 1rem;
    }
    
    .mss-destination-cards {
        gap: 10px;
    }
    
    .mss-destination-card {
        flex: 0 0 110px;
        height: 70px;
    }
    
    .mss-card-title {
        font-size: 0.9rem;
        left: 10px;
        bottom: 8px;
    }
}

/* Base Styles */
.tanzania-destinations {
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, #f9f8f5 0%, #f1efe8 100%);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  display: block;
  font-size: 1rem;
  color: #d4a017;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.divider-line {
  width: 60px;
  height: 2px;
  background: #d4a017;
}

.header-divider i {
  color: #d4a017;
  margin: 0 1rem;
  font-size: 1.2rem;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* Destinations Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.destination-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

/* Card Image */
.card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover .card-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

/* Card Badges */
.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.best-seller {
  background: #e67e22;
  color: white;
}

.luxury {
  background: #d4a017;
  color: #2c3e50;
}

.hidden-gem {
  background: #27ae60;
  color: white;
}

.adventure {
  background: #3498db;
  color: white;
}

.wilderness {
  background: #8e44ad;
  color: white;
}

.beach {
  background: #1abc9c;
  color: white;
}

/* Card Content */
.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #7f8c8d;
}

.card-meta i {
  margin-right: 0.3rem;
  color: #d4a017;
}

.card-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  color: #d4a017;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-cta i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.card-cta:hover {
  color: #b78a14;
}

.card-cta:hover i {
  transform: translateX(3px);
}

/* Featured Card */
.destination-card.featured {
  border: 2px solid #d4a017;
}

/* Section Footer */
.section-footer {
  text-align: center;
}

.view-all-button {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  background: #d4a017;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #d4a017;
}

.view-all-button:hover {
  background: transparent;
  color: #d4a017;
}

.view-all-button i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.view-all-button:hover i {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .destinations-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (min-width: 1600px) {
  .destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA Section Styles */
.safari-cta-section {
  padding: 3rem 5vw;
  background: linear-gradient(135deg, #f8f4e9 0%, #f1e8d5 100%);
  border-top: 1px solid rgba(212, 160, 23, 0.2);
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.cta-content {
  flex: 1;
}

.cta-content h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background-color: #d4a017;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.primary-cta:hover {
  background-color: #b78a14;
  transform: translateY(-2px);
}

.primary-cta i {
  margin-right: 0.5rem;
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background-color: white;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  border-color: #d4a017;
  color: #d4a017;
  transform: translateY(-2px);
}

.secondary-cta i {
  margin-right: 0.5rem;
}

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #444;
}

.benefit-item i {
  color: #d4a017;
  margin-right: 0.7rem;
  font-size: 1.1rem;
}

.cta-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cta-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.cta-image:hover img {
  transform: scale(1.03);
}

/* Responsive Design */
@media (max-width: 992px) {
  .cta-container {
    flex-direction: column;
  }
  
  .cta-image {
    order: -1;
    margin-bottom: 2rem;
    max-width: 500px;
  }
}

@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
  }
  
  .primary-cta,
  .secondary-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .cta-content h3 {
    font-size: 1.5rem;
  }
}