/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color System */
    --primary: #1e332e;
    --primary-light: #2a4740;
    --secondary: #d4a574;
    --accent: #c9a961;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-soft: #6b7280;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --background-muted: #f3f4f6;
    
    /* Travel Colors */
    --ocean-blue: #1e332e;
    --deep-ocean: #152520;
    --sunset-orange: #ff6b35;
    --warm-gold: #c9a961;
    --sky-light: #f0f5f3;
    --travel-green: #2a4740;
    --travel-light-green: #3a5750;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(30, 51, 46, 0.9), rgba(42, 71, 64, 0.7));
    --gradient-ocean: linear-gradient(135deg, #1e332e, #152520);
    --gradient-sunset: linear-gradient(135deg, #ff6b35, #ff8c42);
    --gradient-card: linear-gradient(135deg, #f3f4f6, #ffffff);
    --gradient-primary: linear-gradient(135deg, #2a4740, #1e332e);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-elegant: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(244, 196, 48, 0.3);
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.header.scrolled {
    background: rgba(30, 51, 46, 1);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: opacity 0.3s ease;
}

.header.scrolled .logo img {
    opacity: 0.95;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #c9a961;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #eed38a;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #c9a961;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: rgba(30, 51, 46, 0.8);
    color: #c9a961;
    border: 2px solid #c9a961;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: #c9a961;
    color: var(--primary);
    border-color: #c9a961;
    backdrop-filter: none;
}

.btn-card {
    background: var(--gradient-primary);
    color: #c9a961;
    width: 100%;
    margin-top: 1rem;
}

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

.cta-button {
    background: #c9a961;
    color: #1e332e;
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #eed38a;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    color: #c9a961;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    transition: background 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(201, 169, 97, 0.1);
    color: #eed38a;
}

.mobile-cta {
    margin: 1rem 1.5rem 0;
    width: calc(100% - 3rem);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(30, 51, 46, 0.5) 0%, 
        rgba(30, 51, 46, 0.4) 50%, 
        rgba(15, 25, 23, 0.5) 100%),
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1000px;
    padding: 0 1.5rem;
    animation: fadeIn 0.6s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 1px 1px 3px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    color: #f0f0f0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
}

.scroll-dot {
    width: 4px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 9999px;
    margin-top: 8px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-soft);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Destinations Section */
.destinations {
    background: var(--background-alt);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.destination-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.destination-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-image[data-destination="Rwanda"] {
    background: linear-gradient(135deg, rgba(30, 51, 46, 0.4) 0%, rgba(42, 71, 64, 0.3) 100%),
                url('assets/bisate-lodgeaerial-viewlodgeevening.webp?w=800') center/cover;
    position: relative;
}

.destination-image[data-destination="Rwanda"]::before {
    display: none !important;
}

.destination-image[data-destination="Uganda"] {
    background: linear-gradient(135deg, rgba(58, 87, 80, 0.4) 0%, rgba(42, 71, 64, 0.3) 100%),
                url('assets/uganda.jpg?w=800') center/cover;
}

.destination-image[data-destination="Kenya"] {
    background: linear-gradient(135deg, rgba(74, 103, 96, 0.4) 0%, rgba(58, 87, 80, 0.3) 100%),
                url('assets/kenya.jpg?w=800') center/cover;
}

.destination-image[data-destination="Tanzania"] {
    background: linear-gradient(135deg, rgba(90, 119, 112, 0.4) 0%, rgba(74, 103, 96, 0.3) 100%),
                url('assets/tanzania.jpg?w=800') center/cover;
}

.destination-image[data-destination="Cape Verde"] {
    background: linear-gradient(135deg, rgba(106, 135, 128, 0.4) 0%, rgba(90, 119, 112, 0.3) 100%),
                url('https://images.unsplash.com/photo-1559128010-7c1ad6e1b6a5?w=800') center/cover;
}

.destination-image[data-destination="Namibia"] {
    background: linear-gradient(135deg, rgba(116, 145, 138, 0.4) 0%, rgba(106, 135, 128, 0.3) 100%),
                url('https://images.unsplash.com/photo-1544735716-392fe2489ffa?w=800') center/cover;
}

.destination-image::before {
    content: attr(data-destination);
    position: absolute;
    color: #c9a961;
    font-size: 1.75rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    z-index: 1;
    text-align: center;
    display: none;
}

.destination-image::after {
    display: none;
}






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

.destination-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.destination-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.destination-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.destination-description {
    color: var(--text-soft);
    margin-bottom: 1.5rem;
}

.destination-featuresd {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.destination-features {
    display: none;
   
}


.destination-features li {
    padding: 0.5rem 0;
    color: var(--text-soft);
}

/* Services Section */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-card);
    border-radius: 1rem;
    transition: all 0.3s var(--transition-smooth);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-soft);
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(30, 51, 46, 0.8) 0%, rgba(42, 71, 64, 0.7) 100%),
                url('https://images.unsplash.com/photo-1605721911519-3dfeb3be25e7?w=1200') center/cover;
    position: relative;
    color: white;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 51, 46, 0.6) 0%, rgba(42, 71, 64, 0.5) 100%);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about .section-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about .section-subtitle {
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.about-icon {
    font-size: 5rem;
    color: #c9a961;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #f0f0f0;
    font-size: 1.125rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Testimonials Section */
.testimonials {
    background: var(--background-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--transition-smooth);
}

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

.stars {
    color: #c9a961;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--text-soft);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-soft);
    font-size: 0.875rem;
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
}

.trust-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.trust-label {
    color: var(--text-soft);
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.1);
}

.btn-submit {
    background: var(--gradient-primary);
    color: #c9a961;
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta {
    background: var(--gradient-ocean);
    color: white;
    padding: 4rem 0;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-cta-primary {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-cta-secondary {
    background: transparent;
    color: #c9a961;
    padding: 1rem 2rem;
    border: 2px solid #c9a961;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: #c9a961;
    color: var(--primary);
}

.cta-guarantee {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #c9a961;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Intersection Observer Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .desktop-only {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .destinations-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
    }
}