/* Landing and Tours Pages Responsive CSS */

/* ============================================
   Base Styles
   ============================================ */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
}

/* ============================================
   Navbar Responsive
   ============================================ */
.navbar-custom {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
    margin-right: 10px;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

/* All nav links have consistent styling */
.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Dropdown Menu Styles */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-top: 10px;
    padding: 8px 0;
}

.navbar-nav .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.navbar-nav .dropdown-item i {
    width: 20px;
}

.navbar-nav .dropdown-divider {
    margin: 8px 0;
}

/* ============================================
   Hero Section Responsive
   ============================================ */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../video/tour-bg.jpg') center/cover;
    height: 600px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn-custom {
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: white;
}

.btn-primary-custom:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: white;
}

.btn-secondary-custom {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-custom:hover {
    background: white;
    color: var(--dark-color);
}

/* ============================================
   Section Styles
   ============================================ */
.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
}

/* ============================================
   Tour Card Styles
   ============================================ */
.tour-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    margin-bottom: 20px;
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.tour-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.tour-card .card-body {
    padding: 20px;
}

.tour-card .badge {
    font-size: 0.85rem;
    padding: 8px 15px;
}

/* ============================================
   Feature Box Styles
   ============================================ */
.feature-box {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
}

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

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ============================================
   Page Header Styles
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0 40px;
    margin-top: 76px;
}

/* ============================================
   Filter Section Styles
   ============================================ */
.filter-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer .row {
    margin-bottom: 20px;
}

.footer h5 {
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

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

.footer a:hover {
    color: white;
}

/* ============================================
   Responsive Styles - Tablet (max-width: 992px)
   ============================================ */
@media all and (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .tour-card img {
        height: 220px;
    }

    .feature-box {
        padding: 30px 15px;
        margin-bottom: 20px;
    }

    .feature-box i {
        font-size: 2.5rem;
    }

    .page-header {
        padding: 60px 0 30px;
    }

    .filter-section {
        padding: 20px;
    }
}

/* ============================================
   Responsive Styles - Mobile (max-width: 768px)
   ============================================ */
@media all and (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        height: 450px;
        margin-top: 56px;
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-custom {
        padding: 12px 30px;
        font-size: 1rem;
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-content .mt-4 {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Section Title */
    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    /* Tour Cards */
    .tour-card {
        margin-bottom: 20px;
    }

    .tour-card img {
        height: 200px;
    }

    .tour-card .card-body {
        padding: 20px;
    }

    /* Feature Box */
    .feature-box {
        padding: 25px 15px;
        margin-bottom: 15px;
    }

    .feature-box i {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .feature-box h4 {
        font-size: 1.25rem;
    }

    /* Page Header */
    .page-header {
        padding: 50px 0 25px;
        margin-top: 56px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }

    /* Filter Section */
    .filter-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .filter-section .row {
        margin: 0;
    }

    .filter-section .col-md-4,
    .filter-section .col-md-3,
    .filter-section .col-md-2 {
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .filter-section label {
        font-size: 14px;
        margin-bottom: 5px;
    }

    /* Featured Tour Section */
    .featured-tour-section .row {
        flex-direction: column;
    }

    .featured-tour-card .col-md-5 {
        min-height: 250px;
    }

    .featured-tour-card .card-body {
        padding: 20px !important;
    }

    .featured-tour-card .row.g-3 {
        margin-bottom: 15px !important;
    }

    /* Footer */
    .footer {
        padding: 30px 0 15px;
        margin-top: 50px;
    }

    .footer .col-md-4 {
        margin-bottom: 25px;
        text-align: center;
    }

    .footer .d-flex.align-items-center {
        justify-content: center;
    }

    .footer .d-flex.align-items-center img {
        max-height: 30px;
        margin-right: 8px;
    }

    .footer h5 {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    /* Navbar */
    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-brand img {
        max-height: 30px;
        margin-right: 8px;
    }

    .navbar-nav {
        text-align: center;
        padding: 15px 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        text-align: center;
    }

    /* Dropdown on mobile */
    .navbar-nav .dropdown-menu {
        text-align: center;
        margin-top: 5px;
        box-shadow: none;
        border: 1px solid #e9ecef;
    }

    .navbar-nav .dropdown-item {
        padding: 12px 20px;
        text-align: center;
    }

    /* General Spacing */
    section {
        padding: 40px 0 !important;
    }

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

/* ============================================
   Responsive Styles - Small Mobile (max-width: 576px)
   ============================================ */
@media all and (max-width: 576px) {
    /* Hero Section */
    .hero-section {
        height: 400px;
        padding: 10px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Section Title */
    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    /* Tour Cards */
    .tour-card img {
        height: 180px;
    }

    .tour-card .card-body {
        padding: 15px;
    }

    .tour-card .card-title {
        font-size: 1.1rem;
    }

    .tour-card .badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    /* Feature Box */
    .feature-box {
        padding: 20px 10px;
    }

    .feature-box i {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }

    .feature-box h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .feature-box p {
        font-size: 0.9rem;
    }

    /* Page Header */
    .page-header {
        padding: 40px 0 20px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header .lead {
        font-size: 0.9rem;
    }

    /* Filter Section */
    .filter-section {
        padding: 12px;
    }

    .filter-section .col-md-4,
    .filter-section .col-md-3,
    .filter-section .col-md-2 {
        padding: 0 5px;
        margin-bottom: 12px;
    }

    /* Featured Tour */
    .featured-tour-section h2 {
        font-size: 1.5rem;
    }

    .featured-tour-section .badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .featured-tour-section .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 25px 0 10px;
    }

    .footer h5 {
        font-size: 1.1rem;
    }

    .footer p,
    .footer li {
        font-size: 0.9rem;
    }

    /* General */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    section {
        padding: 30px 0 !important;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .mb-3 {
        margin-bottom: 0.75rem !important;
    }

    .mt-4 {
        margin-top: 1rem !important;
    }
}

/* ============================================
   Responsive Styles - Extra Small Mobile (max-width: 480px)
   ============================================ */
@media all and (max-width: 480px) {
    .hero-section {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .section-title h2 {
        font-size: 1.25rem;
    }

    .tour-card .card-body {
        padding: 12px;
    }

    .feature-box {
        padding: 15px 8px;
    }

    .page-header h1 {
        font-size: 1.25rem;
    }

    .filter-section {
        padding: 10px;
    }
}

/* ============================================
   Utility Classes for Mobile
   ============================================ */
@media all and (max-width: 768px) {
    .mobile-no-padding {
        padding: 0 !important;
    }

    .mobile-no-margin {
        margin: 0 !important;
    }

    .mobile-padding-sm {
        padding: 10px !important;
    }

    .mobile-margin-sm {
        margin: 10px !important;
    }

    .mobile-text-center {
        text-align: center !important;
    }

    .mobile-full-width {
        width: 100% !important;
    }

    /* Button improvements */
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    /* Tour card improvements */
    .tour-card .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
    }

    .tour-card .text-end {
        text-align: left !important;
    }

    /* Pagination */
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }

    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

@media all and (max-width: 576px) {
    /* Button improvements */
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.875rem;
        padding: 8px 16px;
    }

    /* Tour card text */
    .tour-card .text-muted {
        font-size: 0.85rem;
    }

    .tour-card .fw-bold {
        font-size: 1rem;
    }

    /* Pagination */
    .pagination .page-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
    }
}
