/* Global Styles */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #2d3436;
    --light-color: #f9f9f9;
    --text-color: #2d3436;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Footer Styles */
.footer {
    margin-top: auto;
    background-color: var(--dark-color);
    padding: 80px 0 40px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
}

/* Button Styles */
.btn {
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff5252;
    border-color: #ff5252;
    transform: translateY(-2px);
}

/* Form Styles */
.form-control {
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Alert Styles */
.alert {
    border-radius: 4px;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .footer {
        text-align: center;
    }
    
    .social-links {
        margin: 1rem 0;
    }

    .hero-section {
        padding: 100px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .header {
        padding-top: 0 !important;
    }
} 

/* Header Styles */
.header {
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    .header {
        padding-top: 0 !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Trip Cards */
.trip-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.trip-card:hover {
    transform: translateY(-5px);
}

.trip-card img {
    height: 250px;
    object-fit: cover;
}

.trip-card .card-body {
    padding: 1.5rem;
}

.trip-card .card-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.trip-card .price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
} 

/* --- Enhanced Filter Widget --- */
.filter-widget {
    border-radius: var(--border-radius);
    background: var(--light-color);
    border: 1px solid #e0e0e0;
}
.filter-widget .input-group-text {
    background: #f1f3f4;
    border: none;
    color: var(--primary-color);
}
.filter-widget .btn-primary {
    min-width: 110px;
}
.filter-widget .btn-outline-secondary {
    min-width: 110px;
}

/* --- Enhanced Trip Card --- */
.trip-card .badge.bg-danger {
    font-size: 0.9rem;
    padding: 0.5em 1em;
    z-index: 2;
}
.trip-card .fa-heart {
    transition: color 0.2s;
    cursor: pointer;
}
.trip-card .fa-heart:hover {
    color: #ff6b6b;
}
.trip-card .text-success {
    font-size: 1rem;
}
.trip-card .text-decoration-line-through {
    font-size: 1rem;
}
.trip-card .btn-sm {
    padding: 0.3rem 0.9rem;
    font-size: 0.95rem;
}
.trip-card .btn-primary.disabled,
.trip-card .btn-primary:disabled {
    background: #ccc;
    border-color: #ccc;
    pointer-events: none;
}

/* --- Enhanced Pagination --- */
.rounded-pagination .page-link {
    border-radius: 50% !important;
    margin: 0 0.15rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.rounded-pagination .page-item.active .page-link {
    background: var(--primary-color);
    color: #fff;
    border: none;
}
.rounded-pagination .page-link:focus {
    box-shadow: 0 0 0 0.15rem rgba(255,107,107,0.2);
} 

/* --- Gradient Border for Filter Widget --- */
.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-image-slice: 1;
}

/* --- Section Title --- */
.section-title, h2.fw-bold {
    font-size: 2.1rem;
    color: var(--primary-color);
    letter-spacing: -1px;
}

/* --- Sticky Pagination --- */
.sticky-pagination {
    position: sticky;
    bottom: 0;
    background: var(--light-color);
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.04);
    padding-bottom: 1rem;
}

/* --- No Results Icon --- */
.fa-search.text-secondary {
    opacity: 0.3;
}

/* --- Responsive Filter Widget --- */
@media (max-width: 768px) {
    .filter-widget .row.g-2 > [class^='col-'] {
        margin-bottom: 1rem;
    }
    .filter-widget .d-flex.gap-2.flex-column.flex-md-row {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    .sticky-pagination {
        padding-bottom: 2.5rem;
    }
}

/* --- Improved Spacing for Section Title and Filter --- */
.section-title, h2.fw-bold {
    margin-bottom: 0.5rem;
}
.filter-widget {
    margin-bottom: 2rem;
} 

/* --- Trip Details Hero Section --- */
.trip-hero {
    min-height: 350px;
    max-height: 500px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}
.trip-hero .hero-img {
    object-fit: cover;
    width: 100%;
    height: 350px;
    filter: brightness(0.85);
}
.hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    border-radius: var(--border-radius);
    pointer-events: none;
}
.hero-overlay h1, .hero-overlay .badge, .hero-overlay span, .hero-overlay a {
    pointer-events: auto;
}

/* --- Booking Sidebar --- */
.booking-sidebar {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background: #fff;
}
.booking-sidebar .btn-lg {
    font-size: 1.15rem;
    padding: 0.75rem 1.5rem;
}
.booking-sidebar ul.list-inline {
    font-size: 1rem;
    color: var(--dark-color);
}

/* --- Tabs --- */
.nav-tabs .nav-link {
    font-weight: 500;
    color: var(--primary-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.nav-tabs .nav-link.active {
    background: var(--primary-color);
    color: #fff;
    border: none;
}
.tab-content {
    padding-top: 1rem;
}

/* --- Responsive Adjustments for Details Page --- */
@media (max-width: 991px) {
    .trip-hero .hero-img {
        height: 220px;
    }
    .booking-sidebar {
        margin-top: 2rem;
    }
}
@media (max-width: 768px) {
    .trip-hero {
        min-height: 180px;
        max-height: 220px;
    }
    .trip-hero .hero-img {
        height: 180px;
    }
    .booking-sidebar {
        position: static !important;
        top: unset !important;
    }
} 

/* --- Home Page Hero Section --- */
.hero-section {
    min-height: 1000px;
    background: none;
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px 0;
}
.hero-bg {
    background: linear-gradient(120deg, rgba(0,0,0,0.5) 0%, rgba(46,204,113,0.2) 100%), url('../images/hero.gif') center/cover no-repeat;
    z-index: 1;
    opacity: 0.85;
}
.hero-section .container {
    z-index: 2;
}
.hero-section h1, .hero-section p {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-section .btn-primary {
    font-size: 1.25rem;
    padding: 0.75rem 2.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* --- Section Titles --- */
.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    border-left: 6px solid var(--primary-color);
    padding-left: 0.75rem;
    margin-bottom: 0.5rem;
}

/* --- Features & Testimonials --- */
.feature-box, .testimonial-card {
    border-radius: var(--border-radius);
    transition: box-shadow 0.3s, transform 0.3s;
    background: #fff;
}
.feature-box:hover, .testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-6px) scale(1.03);
}

.testimonials-section .card {
    border: none;
    background: #fff;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(90deg, var(--primary-color) 60%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.cta-section .btn-light {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.75rem 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* --- Responsive Adjustments for Home Page --- */
@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0 60px 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
}
@media (max-width: 768px) {
    .hero-section {
        min-height: 220px;
        padding: 60px 0 40px 0;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .cta-section {
        padding: 2rem 0;
    }
} 

/* --- Enhanced Trip Card for Consistency --- */
.trip-card {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: box-shadow 0.3s, transform 0.3s;
    background: #fff;
}
.trip-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-6px) scale(1.03);
}
.trip-card-img {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    object-fit: cover;
    height: 220px;
    width: 100%;
}
.trip-type-badge {
    font-size: 0.95rem;
    background: #4ecdc4 !important;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.5px;
}
@media (max-width: 991px) {
    .trip-card-img {
        height: 160px;
    }
}
@media (max-width: 768px) {
    .trip-card-img {
        height: 120px;
    }
}

/* --- Booking Form Enhancements --- */
.booking-card .card-header {
    border-bottom: none;
}

.booking-card .card-body {
    padding: 2.5rem;
}

.booking-card .border-end {
    border-color: #e9ecef !important;
}

.booking-card .form-label {
    font-weight: 600;
    color: #495057;
}

.booking-card .form-control-lg,
.booking-card .form-select-lg {
    padding: 0.8rem 1.2rem;
    font-size: 1.1rem;
}

.booking-card .btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1.15rem;
    font-weight: 600;
}

@media (max-width: 767px) {
    .booking-card .border-end {
        border-right: none !important;
        border-bottom: 1px solid #e9ecef !important;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .booking-card .col-md-7 {
        padding-left: 1rem !important;
    }
}
