* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1b1f2a;
}

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
    background-color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand { font-size: 1.8rem; font-weight: 700; color: #000; }
.navbar-brand span { color: #1e8449; }

/* ── Hero ───────────────────────────────────────────────── */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYwMCIgaGVpZ2h0PSI4MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJnIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdHlsZT0ic3RvcC1jb2xvcjojYzQ4YTQ2O3N0b3Atb3BhY2l0eToxIiAvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3R5bGU9InN0b3AtY29sb3I6IzhhNjM0NTtzdG9wLW9wYWNpdHk6MSIgLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB3aWR0aD0iMTYwMCIgaGVpZ2h0PSI4MDAiIGZpbGw9InVybCgjZykiLz48L3N2Zz4=');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    opacity: 0.9;
}

/* ── Search box ─────────────────────────────────────────── */
.search-container {
    background: white;
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    max-width: 680px;
    margin: 0 auto;
    gap: 10px;
}

.search-container form {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.search-input-wrap {
    flex: 1;
    min-width: 0;
}

.search-input-wrap label {
    font-size: 0.72rem;
    color: #64748b;
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.search-input-wrap input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: #1b1f2a;
}

.search-btn {
    background-color: #009688;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s;
    flex-shrink: 0;
}
.search-btn:hover { background-color: #00796b; }

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    color: #1b1f2a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 4px;
}

.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.autocomplete-item:hover { background: #f4f6fb; }
.autocomplete-item i { color: #3b82f6; }

/* Carousel dots */
.carousel-dots { text-align: center; margin-top: 28px; }
.carousel-dots span {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.45);
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
}
.carousel-dots span.active { background-color: white; width: 20px; border-radius: 4px; }

/* ── Section title ──────────────────────────────────────── */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: #1b1f2a;
}

/* ── Top Destinations ───────────────────────────────────── */
.top-destinations-section {
    padding: 64px 0 40px;
    background-color: white;
}

.destination-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 180px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.destination-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.destination-card img { width: 100%; height: 100%; object-fit: cover; }

.destination-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.72));
    padding: 36px 14px 14px;
}
.destination-overlay h3 {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

/* ── Flexible ───────────────────────────────────────────── */
.flexible-section {
    padding: 56px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f4f8 100%);
}

/* ── Attractions ────────────────────────────────────────── */
.attractions-section {
    padding: 64px 0;
    background-color: white;
}

.attraction-item {
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    transition: background-color 0.2s, transform 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}
.attraction-item:hover {
    background-color: #f8faff;
    border-color: #e2e8f0;
    transform: translateX(4px);
}

.attraction-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.attraction-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1b1f2a;
}

.attraction-item p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Top Tours ──────────────────────────────────────────── */
.top-tours-section {
    padding: 64px 0 80px;
    background-color: #f4f6fb;
}

.tour-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    transition: box-shadow 0.25s, transform 0.25s;
    cursor: pointer;
    height: 100%;
    background: white;
}
.tour-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    transform: translateY(-5px);
}

.tour-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.tour-image img { width: 100%; height: 100%; object-fit: cover; }

.badge-tag {
    position: absolute;
    top: 10px; left: 10px;
    background: #ef4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
}

.wishlist-btn {
    position: absolute;
    top: 10px; right: 10px;
    background: white;
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.wishlist-btn:hover { background: #fee2e2; }
.wishlist-btn i { font-size: 1rem; color: #ef4444; }

.tour-content { padding: 16px; }

.tour-location { font-size: 0.82rem; color: #64748b; margin-bottom: 4px; }
.tour-location i { color: #3b82f6; }

.tour-rating { font-size: 0.82rem; color: #475569; margin-bottom: 10px; }
.tour-rating i { color: #ffa41c; }

.tour-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #1b1f2a;
    min-height: 52px;
}

.tour-price { font-size: 0.875rem; color: #64748b; margin-bottom: 4px; }
.tour-price strong { font-size: 1.2rem; color: #1b1f2a; }

.tour-note { font-size: 0.75rem; color: #94a3b8; margin: 0; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .section-title { font-size: 1.9rem; margin-bottom: 36px; }
    .destination-card { height: 155px; }
}

@media (max-width: 768px) {
    .navbar { padding: 0.875rem 1rem; }
    .navbar-brand { font-size: 1.5rem; }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }

    .search-container {
        border-radius: 16px;
        padding: 14px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .search-container form {
        flex-direction: column;
        gap: 0;
    }

    .search-input-wrap {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .search-btn {
        width: 100%;
        border-radius: 12px;
        height: 46px;
    }
    }

    .section-title { font-size: 1.7rem; margin-bottom: 28px; }

    .destination-card { height: 130px; }
    .destination-overlay h3 { font-size: 1rem; }

    .attraction-item img { width: 64px; height: 64px; }
    .attraction-item h4 { font-size: 0.95rem; }

    .top-tours-section .col-lg-3 { width: 50%; }
    .tour-title { min-height: unset; }

    .top-destinations-section { padding: 44px 0 28px; }
    .flexible-section { padding: 40px 0; }
    .attractions-section { padding: 44px 0; }
    .top-tours-section { padding: 44px 0 60px; }

@media (max-width: 480px) {
    .hero-section { height: 60vh; min-height: 420px; }
    .hero-content h1 { font-size: 1.8rem; }

    .destination-card { height: 110px; }
    .destination-overlay h3 { font-size: 0.875rem; }

    .top-tours-section .col-lg-3 { width: 100%; }

    .attraction-item img { width: 54px; height: 54px; }
    .section-title { font-size: 1.5rem; }
    .navbar-brand { font-size: 1.3rem; }
}