/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Tour Hero Banner with Background Image */
.tour-hero-banner {
    position: relative;
    height: 250px;
    width: 100%;
    background-image: url('../images/zebra.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
}

.tour-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

.tour-hero-banner .container {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-bottom: 30px;
}

.tour-hero-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.tour-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.tour-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.tour-info-item i {
    color: #FD7E14;
}

.tour-rating {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.tour-rating .stars {
    color: #FD7E14;
    margin-right: 5px;
}

.breadcrumb-area {
    background-color: transparent;
    padding: 15px 0;
}

.breadcrumb-area a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-area span {
    color: #ccc;
}

@media (max-width: 768px) {
    .tour-hero-banner {
        height: 200px;
    }
    
    .tour-hero-banner h1 {
        font-size: 28px;
    }
    
    .tour-info-bar {
        gap: 10px;
    }
    
    .tour-info-item {
        font-size: 12px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
.header {
    position: relative;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #FD7E14;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-cta {
    margin-top: 30px;
}

.hero-btn {
    display: inline-block;
    background-color: #FD7E14;
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #FD7E14;
}

.hero-btn:hover {
    background-color: #fff;
    color: #FD7E14;
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Tours Grid */
.tours-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.tour-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.tour-image {
    height: 220px;
    position: relative;
}

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

.tour-content {
    padding: 20px;
}

.tour-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.tour-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    color: #FD7E14;
    margin-right: 10px;
}

.review-count {
    color: #777;
    font-size: 0.9rem;
}

.tour-description {
    margin-bottom: 15px;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.tour-price {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.tour-link {
    padding: 8px 20px;
    background-color: #FFF;
    color: #FD7E14;
    border: 1px solid #FD7E14;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.tour-link:hover {
    background-color: #FD7E14;
    color: white;
}

/* Tour Detail Page */
.tour-detail {
    padding: 60px 0;
}

.tour-header {
    margin-bottom: 40px;
}

.tour-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tour-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tour-meta > div {
    margin-right: 25px;
    display: flex;
    align-items: center;
}

.tour-meta i {
    margin-right: 8px;
    color: #FD7E14;
}

.tour-gallery {
    margin-bottom: 40px;
}

.main-image {
    height: 450px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

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

.thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumbnail {
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail.active, .thumbnail:hover {
    opacity: 1;
}

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

.tour-tabs {
    margin-bottom: 40px;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.tab-button {
    padding: 15px 30px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button.active, .tab-button:hover {
    color: #FD7E14;
    border-bottom-color: #FD7E14;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Itinerary Styles */
.itinerary-list {
    margin-bottom: 30px;
}

.itinerary-day {
    margin-bottom: 25px;
}

.day-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.day-number {
    width: 40px;
    height: 40px;
    background-color: #FD7E14;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
}

.day-title {
    font-size: 1.3rem;
    font-weight: 500;
}

.day-activities {
    padding-left: 55px;
}

.day-activities li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.day-activities li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #FD7E14;
}

/* Booking Section */
.booking-section {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

.booking-section h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.book-now-btn {
    padding: 12px 30px;
    background-color: #FD7E14;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.book-now-btn:hover {
    background-color: #e26b07;
}

/* Responsive */
@media (max-width: 992px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thumbnail {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .main-image {
        height: 350px;
    }
    
    .tab-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-image {
        height: 300px;
    }
    
    .tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    
    .tour-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tour-meta > div {
        margin-bottom: 10px;
    }
}

/* PesaPal Styles */
.payment-section {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.payment-options {
    margin-top: 20px;
}

.payment-option {
    margin-bottom: 10px;
}

.pesapal-button {
    display: inline-block;
    background-color: #167c95;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.pesapal-button:hover {
    background-color: #0e5a6b;
}

/* Reviews Styles */
.reviews-section {
    margin-top: 40px;
}

.review-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details h4 {
    margin-bottom: 5px;
}

.reviewer-rating {
    color: #FD7E14;
}

/* Package Includes Section */
.package-includes {
    margin-top: 30px;
}

.package-includes h3 {
    margin-bottom: 20px;
}

.includes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.includes-item {
    display: flex;
    align-items: center;
}

.includes-item i {
    color: #28a745;
    margin-right: 10px;
}

/* Tour Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.pricing-table th, .pricing-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

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

.pricing-table .price {
    font-weight: bold;
    color: #FD7E14;
}
