/* ------------------------------
   Dreamstour Custom Overrides
--------------------------------*/

/* Global Typography */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #222;
}

/* Tour Detail Hero Section */
.tour-hero {
    background: #f5f5f5;
    padding: 40px 0 20px;
    border-bottom: 1px solid #ddd;
}
.tour-hero h1 {
    font-size: 28px;
    font-weight: 700;
}
.tour-hero .tour-meta {
    color: #666;
    font-size: 14px;
}

/* Tabs Styling */
.nav-tabs {
    border-bottom: 1px solid #ddd;
}
.nav-tabs .nav-link {
    color: #555;
    background: #f9f9f9;
    margin-right: 3px;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 0;
    border: 1px solid #ddd;
    border-bottom: none;
}
.nav-tabs .nav-link.active {
    background: #fff;
    color: #0d6efd;
    font-weight: 600;
    border-color: #ddd #ddd #fff;
}
.tab-content {
    border: 1px solid #ddd;
    padding: 25px;
    background: #fff;
}

/* Itinerary Days */
.itinerary-day {
    margin-bottom: 25px;
}
.itinerary-day h6 {
    font-weight: 600;
    color: #0d6efd;
}
.itinerary-day p {
    margin-bottom: 0;
}

/* Sidebar Booking Card */
.theiaStickySidebar .card {
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    border: none;
}
.theiaStickySidebar .card-header {
    font-weight: 600;
    font-size: 16px;
}
.card-body .btn {
    font-weight: 500;
}

/* Booking Form */
#booking .form-label {
    font-weight: 500;
    font-size: 14px;
}
#booking input, #booking textarea, #booking select {
    border-radius: 0.375rem;
    font-size: 14px;
}
#booking button.btn {
    font-size: 15px;
    font-weight: 500;
}

/* Related Tours */
.related-tours .card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}
.related-tours .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.related-tours .card-title {
    font-size: 15px;
    font-weight: 600;
}
.related-tours .card-text {
    font-size: 13px;
    color: #666;
}

/* Responsive Fixes */
@media (max-width: 767px) {
    .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    .tab-content {
        padding: 15px;
    }
    .tour-hero h1 {
        font-size: 22px;
    }
}

/* ============================
   Dreamstour Tour Listing (Grid)
============================ */
.page-title {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}
.page-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

/* Hero Search Section */
.hero-search-bar .card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.hero-search-bar input, 
.hero-search-bar select {
    height: 45px;
    font-size: 14px;
}
.hero-search-bar .btn-danger {
    background: #dc3545;
    border-color: #dc3545;
}
.hero-search-bar .btn-danger:hover {
    background: #b52a37;
}

/* Category Icons */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 10px;
}
.category-tabs .category-item {
    text-align: center;
    width: 110px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.category-tabs .category-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.category-tabs i {
    font-size: 20px;
    color: #dc3545;
    margin-bottom: 6px;
}
.category-tabs .category-item div {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

/* Tour Cards */
.tour-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    background: #fff;
}
.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.tour-card img {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.tour-card h5 {
    font-size: 17px;
    font-weight: 600;
    color: #111;
}
.tour-card .card-body {
    padding: 15px 18px;
}
.tour-card .text-muted.small i {
    color: #dc3545;
}

/* Trending Badge */
.badge.bg-info {
    background: linear-gradient(135deg, #00b4d8, #0096c7);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Filter & Sort Bar */
.section-padding .form-label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.form-select, .form-control {
    border-radius: 8px;
}

/* Pagination */
.pagination {
    justify-content: center;
}
.page-link {
    border-radius: 50% !important;
    width: 38px;
    height: 38px;
    text-align: center;
    line-height: 38px;
    font-weight: 500;
    color: #dc3545;
}
.page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

/* Responsive Grid */
@media (max-width: 767px) {
    .tour-card img {
        height: 180px;
    }
    .hero-search-bar .card {
        padding: 15px;
    }
}
