/* ============================
   CUSTOM STYLES FOR SAMORA AFRICA SAFARIS
   ============================ */

:root {
    --primary-color: #B8860B;
    --secondary-color: #EBBF80;
    --accent-color: #B8860B;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-muted: #6c757d;
    --earth-brown: #EBBF80;
    --safari-green: #B8860B;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    width: 100%;
}

/* Container Fixes */
.container-fluid {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.container {
    max-width: 1200px;
    width: 100%;
}
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    background: #FFFFFF !important;
    border-bottom: 2px solid #EBBF80;
    padding: 8px 20px;
}

.navbar .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
}

.navbar .nav-link {
    color: #B8860B !important;
    font-weight: 500;
    margin-left: 10px;
    margin-right: 10px;
}

.navbar .nav-link:hover {
    color: #EBBF80 !important;
}

.navbar .nav-link.active {
    color: #EBBF80 !important;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #B8860B;
}

.navbar-toggler {
    border-color: #B8860B;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231C6235' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    padding: 0;
    transition: transform 0.3s ease;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

/* Mobile Navbar Fixes */
@media (max-width: 991.98px) {
    .navbar {
        z-index: 1050;
    }

    .navbar .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-collapse {
        background: #FFFFFF;
        padding: 10px 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar .nav-item {
        border-bottom: 1px solid #f0e0c0;
    }

    .navbar .nav-item:last-child {
        border-bottom: none;
    }

    .navbar .nav-link {
        padding: 12px 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .navbar .dropdown-menu {
        position: static !important;
        float: none;
        box-shadow: none;
        background-color: #fdf8ef;
        border: none;
        padding: 0;
        margin: 0;
    }

    .navbar .dropdown-item {
        padding: 10px 20px;
        border-bottom: 1px solid #f0e0c0;
    }

    .navbar .dropdown-item:last-child {
        border-bottom: none;
    }
}

/* Footer Logo */
.footer-logo {
    height: 80px;
    width: auto;
}

/* Hero Carousel */
.carousel {
    width: 100%;
}

.carousel-caption {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    left: 5%;
    right: 5%;
}

@media (min-width: 768px) {
    .carousel-caption {
        left: 8%;
        right: 30%;
    }
}

.carousel-item {
    position: relative;
}

/* Hero slide — responsive height without inline styles */
.carousel-item.hero-slide {
    height: 90vh;
    min-height: 560px;
}

@media (max-width: 991px) {
    .carousel-item.hero-slide {
        height: 75vh;
        min-height: 460px;
    }
}

@media (max-width: 767px) {
    .carousel-item.hero-slide {
        height: 65vh;
        min-height: 380px;
        background-position: center center !important;
    }

    .carousel-item.hero-slide .carousel-caption h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .carousel-item.hero-slide .carousel-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .carousel-item.hero-slide {
        height: 60vh;
        min-height: 340px;
    }
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
}

.top-bar a {
    transition: opacity 0.3s ease;
}

.top-bar a:hover {
    opacity: 0.8;
}

.top-bar .social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.top-bar .social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Equal height card images */
.card-img-top {
    height: 220px;
    object-fit: cover;
}

/* Safari package cards - ensure equal heights */
#top-safaris .card {
    height: 100%;
}

#top-safaris .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#top-safaris .card-body .btn {
    margin-top: auto;
}

/* Place cards equal height images */
.place-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Team section - equal height cards and images */
#team .card {
    height: 100%;
}

#team .card-img-top {
    height: 250px;
    object-fit: cover;
    object-position: top center;
}

#team .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Buttons */
.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #EBBF80;
    border-color: #EBBF80;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.btn-outline-success {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-success:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Brand Accent Button */
.btn-brand {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: #d4a860;
    border-color: #d4a860;
    transform: scale(1.05);
}

/* Section Styling */
section {
    padding: 60px 0;
    width: 100%;
}

section h2 {
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
}

/* Footer Branding */
footer h5 {
    color: #fff;
}

footer .text-warning {
    color: var(--secondary-color) !important;
}

/* Place Cards */
.place-card {
    transition: all 0.3s ease;
}

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

.place-card img {
    transition: transform 0.3s ease;
    overflow: hidden;
}

/* Safari Packages */
.safari-package {
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.safari-package:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2) !important;
}

/* Price Per Person Table */
.price-per-person-table {
    border-collapse: collapse;
}

.price-per-person-table th {
    background: #B8860B;
    color: #fff;
    font-weight: 600;
    padding: 10px 16px;
    font-size: 0.9rem;
    border: 1px solid #B8860B;
}

.price-per-person-table td {
    padding: 10px 16px;
    color: #333;
    font-weight: bold;
    font-size: 0.95rem;
    border: 1px solid #e8d5b0;
}

/* Includes / Excludes Lists */
.includes-excludes-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.includes-excludes-list li:last-child {
    border-bottom: none;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: #e8f5e9;
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.25);
}

/* Alert Boxes */
.alert-success {
    background-color: #e8f5e9;
    border-color: var(--primary-color);
    color: #B8860B;
}

.alert-info {
    background-color: #e3f2fd;
    border-color: #2196f3;
    color: #0d47a1;
}

.alert-warning {
    background-color: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}

/* Form Elements */
.form-control {
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.25);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Hero Section */
.bg-success {
    background-color: var(--primary-color) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Text Utilities */
.text-success {
    color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    section {
        padding: 40px 0;
    }

    .card-body {
        padding: 1.5rem !important;
    }
}

/* Special Effects */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Footer Styling */
footer {
    background-color: var(--primary-color);
    border-top: 4px solid var(--secondary-color);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

footer .social-link:hover {
    color: #fff !important;
    transform: scale(1.1);
}

/* Badge Style */
.badge-success {
    background-color: var(--primary-color) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9a7209;
}

/* Activity Cards */
.activity-card {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

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

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

.activity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    padding: 2rem 1.5rem;
    color: white;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-overlay {
    transform: translateY(0);
}

.activity-overlay h5 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.activity-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #e8f5e9;
    border-radius: 50%;
    margin: 0 auto;
}

.icon-box i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Modal Styling */
.modal-dialog {
    max-width: 1000px;
}

.modal-header {
    background-color: var(--primary-color) !important;
    border-bottom: none;
}

.modal-body {
    padding: 2rem;
}

/* Table Styling */
.table {
    border-collapse: collapse;
}

.table thead th {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.table tbody tr:hover {
    background-color: #f5f5f5;
}

/* Loading Animation */
.spinner-border-sm {
    border-width: 0.3em;
}

/* Overlay Effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

/* Partners Section */
#partners {
    background: #f8f9fa;
}

.partners-divider {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 15px auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.partner-box {
    min-height: 100px;
}

.partner-logo {
    font-size: 0.9rem;
}

/* Box Shadows */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Border Radius Variations */
.rounded-lg {
    border-radius: 0.5rem;
}

/* Transition Utilities */
.transition-all {
    transition: all 0.3s ease;
}

/* Active State */
.active {
    color: var(--primary-color) !important;
}

/* Country filter buttons — must come after .active to win the !important battle */
.place-filter-btn.active {
    color: #fff !important;
}

/* Success Color Variations */
.bg-success-light {
    background-color: #e8f5e9;
}

.text-success-dark {
    color: #B8860B;
}

.text-samora {
    font-size: large;
}

/* Travel Info Sidebar Navigation */
.info-nav-link {
    color: #5a3e00;
    background: #fdf8ef;
    border: 1px solid #f0e0c0;
    transition: all 0.3s;
    font-weight: 500;
}
.info-nav-link:hover {
    background: #EBBF80;
    color: #333;
}
.info-nav-link.active {
    background: #B8860B;
    color: #fff !important;
    border-color: #B8860B;
}
.info-nav-link.active span,
.info-nav-link.active i {
    color: #fff !important;
}
.info-nav-link i {
    color: #B8860B;
    font-size: 1.1rem;
}

/* FAQ Accordion */
#faqAccordion .accordion-button:not(.collapsed) {
    background-color: #fdf8ef;
    color: #B8860B;
    box-shadow: none;
}
#faqAccordion .accordion-button:focus {
    box-shadow: none;
    border-color: #f0e0c0;
}
#faqAccordion .accordion-button::after {
    filter: none;
}

@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
}
  
.logos {
    overflow: hidden;
    padding: 60px 0;
    background: #f8f9fa;
    white-space: nowrap;
    position: relative;
}
  
.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}
  
.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #f8f9fa);
}
  
.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #f8f9fa);
}
  
.logos:hover .logos-slide {
    animation-play-state: paused;
}
  
.logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
}
  
.logos-slide img {
    height: 50px;
    margin: 0 40px;
}

/* ============================
   BOOTSTRAP PRIMARY COLOR OVERRIDES
   ============================ */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #9a7209;
    border-color: #9a7209;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Safari Detail Page */
.safari-detail-hero {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

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

.package-details-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.detail-item label {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: block;
}

.detail-item p {
    margin: 0;
    font-weight: 600;
    color: #333;
}

/* Rich Text Content Styling */
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.rich-text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.rich-text-content table th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.rich-text-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0e0c0;
    color: #444;
}

.rich-text-content table tbody tr:nth-child(even) td {
    background-color: #fdf8ef;
}

.rich-text-content ul, .rich-text-content ol {
    padding-left: 20px;
}

.rich-text-content li {
    padding: 4px 0;
    line-height: 1.7;
}

/* Itinerary Styling */
.itinerary-day {
    border: 1px solid #f0e0c0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.itinerary-day-header {
    background: #B8860B;
    color: #fff;
    padding: 12px 18px;
    font-weight: 600;
}

.itinerary-day-body {
    padding: 15px 18px;
    background: #fdf8ef;
    color: #222 !important;
    line-height: 1.7;
}

.itinerary-day-body * {
    color: #222 !important;
}

.itinerary-day-body strong,
.itinerary-day-body b {
    color: #333 !important;
}

/* Sidebar Highlights */
.sidebar-highlights {
    background-color: #fdf8ef;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #f0e0c0;
}

/* Place Detail */
.place-detail-hero {
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
}

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

/* Travel Info Sidebar */
.travel-info-sidebar .list-group-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.travel-info-sidebar .list-group-item:hover {
    color: var(--primary-color);
}

/* Hover Shadow Effect */
.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-5px);
}

/* Safari Card Grid */
.safari-card {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: none;
    overflow: hidden;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.safari-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.safari-card img,
.safari-card .card-img-top {
    height: 240px;
    object-fit: cover;
}

.safari-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.safari-card .view-details-btn {
    margin-top: auto;
}

.price-gold {
    color: #B8860B;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.0;
}

.view-details-btn {
    border: 1.5px solid #B8860B;
    color: #B8860B;
    background: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.view-details-btn:hover {
    background-color: #B8860B;
    color: white;
}

/* Safari Filter Tabs */
.tabs-nav {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-radius: 6px;
    overflow: hidden;
}

.tabs-nav button,
.tabs-nav a {
    padding: 12px 24px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #5a3e00;
    background-color: #EBBF80;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.tabs-nav button.active,
.tabs-nav a.active {
    background-color: #7a5a00;
    color: #fff;
}

.tabs-nav button:hover,
.tabs-nav a:hover {
    background-color: #d4a860;
}

/* Safari Detail Tabs Navigation */
.safari-tabs-nav {
    display: flex;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
}

.safari-tabs-nav button {
    padding: 12px 24px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    background-color: #EBBF80;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.safari-tabs-nav button.active {
    background-color: #7a5a00;
    color: #fff;
}

.safari-tabs-nav button:hover:not(.active) {
    background-color: #d4a860;
}

/* Safari Tab Pages */
.safari-tab-page {
    display: none;
}

.safari-tab-page.active {
    display: block;
}

/* Package Details Grid (5 columns) */
.package-details {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

/* Accommodation Table */
.accommodation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.accommodation-table th {
    background-color: #B8860B;
    color: white;
    padding: 14px 18px;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.accommodation-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f0e0c0;
    color: #444;
    font-size: 0.92rem;
    vertical-align: middle;
}

.accommodation-table tbody tr:nth-child(even) td {
    background-color: #fdf8ef;
}

.accommodation-table tbody tr:hover td {
    background-color: #f5ead5;
}

.accommodation-table td:first-child {
    font-weight: 600;
    color: #B8860B;
}

.accommodation-table td:nth-child(2) {
    font-weight: 600;
    color: #5a3e00;
}

.accommodation-table td:nth-child(4) {
    font-style: italic;
    color: #777;
}

/* Mobile accommodation - card layout */
@media (max-width: 576px) {
    .accommodation-table {
        box-shadow: none;
    }
    .accommodation-table thead {
        display: none;
    }
    .accommodation-table tbody tr {
        display: block;
        background: #fdf8ef;
        margin-bottom: 12px;
        border-radius: 8px;
        border: 1px solid #f0e0c0;
        padding: 12px 16px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    }
    .accommodation-table tbody tr:hover td {
        background: transparent;
    }
    .accommodation-table td {
        display: block;
        padding: 4px 0;
        border-bottom: none;
        text-align: left !important;
        font-weight: 400;
        color: #444;
    }
    .accommodation-table td:first-child {
        font-size: 0.85rem;
        font-weight: 600;
        color: #B8860B;
        margin-bottom: 4px;
    }
    .accommodation-table td:nth-child(2) {
        font-size: 1rem;
        font-weight: 600;
        color: #5a3e00;
        margin-bottom: 6px;
        padding-bottom: 6px;
        border-bottom: 1px solid #f0e0c0;
    }
    .accommodation-table td:nth-child(3)::before {
        content: "Lodge: ";
        font-weight: 400;
        color: #777;
    }
    .accommodation-table td:nth-child(4)::before {
        content: "Comfort: ";
        font-weight: 400;
        color: #777;
    }
}

/* Request Button */
.request-btn {
    background-color: #B8860B;
    color: white;
    padding: 15px 0;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.request-btn:hover {
    background-color: #EBBF80;
    color: #333;
}

/* Route Map */
.route-map-section {
    background-color: #fdf8ef;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #f0e0c0;
}

.route-stop {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    padding-left: 34px;
    min-height: 45px;
}

.route-stop:last-child {
    min-height: 0;
}

.route-dot {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #EBBF80;
    border: 3px solid #B8860B;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.route-dot-number {
    font-size: 0.6rem;
    font-weight: 700;
    color: #5a3e00;
    line-height: 1;
}

.route-dot-endpoint {
    background: #B8860B;
}

.route-dot-endpoint .route-dot-number {
    color: #fff;
}

.route-line {
    position: absolute;
    left: 12px;
    top: 24px;
    width: 2px;
    height: calc(100% - 10px);
    background: repeating-linear-gradient(to bottom, #B8860B 0, #B8860B 4px, transparent 4px, transparent 8px);
}

.route-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.route-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: #B8860B;
    padding: 1px 6px;
    border-radius: 3px;
}

.route-distance {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: #888;
    padding-left: 0;
    margin-top: -2px;
    padding-bottom: 8px;
}

/* Back Button */
.back-btn {
    color: #B8860B;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.back-btn:hover {
    color: #EBBF80;
}

/* Detail Hero */
.detail-hero {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

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

@media (max-width: 768px) {
    .package-details {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .tabs-nav button,
    .tabs-nav a {
        padding: 10px 14px;
        font-size: 0.75rem;
    }
    .safari-tabs-nav button {
        padding: 10px 14px;
        font-size: 0.75rem;
    }
    .detail-hero {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .package-details {
        grid-template-columns: 1fr 1fr;
    }
    .safari-tabs-nav {
        flex-wrap: wrap;
    }
    .safari-tabs-nav button {
        flex: 1;
        min-width: 45%;
        padding: 10px 8px;
        font-size: 0.7rem;
    }
}

/* ===== Language Translator ===== */
.nav-translate {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 0.25rem;
}

.translate-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #5a3e00;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 10px;
    border: 1.5px solid #B8860B;
    border-radius: 20px;
    background: #fff;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.translate-selector:hover {
    background: #fdf8ef;
    border-color: #9a6a00;
    box-shadow: 0 1px 4px rgba(184,134,11,.15);
}

.translate-current-lang {
    font-size: 0.85rem;
    font-weight: 700;
    color: #B8860B;
    letter-spacing: 0.5px;
}

.translate-chevron {
    font-size: 0.65rem;
    color: #B8860B;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.nav-translate.open .translate-chevron {
    transform: rotate(180deg);
}

.translate-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 9999;
    min-width: 170px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    overflow: hidden;
}

.translate-menu.open {
    display: block;
}

.translate-menu-inner {
    padding: 6px 0;
    max-height: 320px;
    overflow-y: auto;
}

.translate-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 0.875rem;
    color: #333;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.translate-item:hover {
    background: #fdf8ef;
}

.translate-item .flag-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Hide the Google Translate default bar */
body > .skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0 !important;
}

@media (max-width: 991.98px) {
    .nav-translate {
        margin-right: 0.5rem;
    }
}

/* Scroll to top button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
  