:root {
    /* Brand Colors - Enhanced */
    --color-primary: #2c8776;
    --color-primary-hover: #247563;
    --color-primary-light: #a7d9cf;
    --color-secondary: #0f172a;
    --color-secondary-light: #1e293b;
    --color-accent: #0ea5e9;
    --color-accent-hover: #0284c7;

    /* Neutral Palette */
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    --color-bg-body: #f8fafc;
    --color-bg-surface: #ffffff;
    --color-warning: #fbbf24;
    --color-success: #10b981;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2c8776 0%, #247563 100%);
    --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);

    /* Spacing & Layout */
    --container-width: 1280px;
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;

    /* Shadows - Enhanced */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(44, 135, 118, 0.3);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text-main);
    background: var(--color-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==================== HEADER ==================== */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.header-top {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-bar-wrapper {
    flex: 1;
    max-width: 600px;
}

.search-form {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 999px;
    padding: 0.25rem 0.25rem 0.25rem 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-form:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1), var(--shadow-md);
    transform: translateY(-1px);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.search-input::placeholder {
    color: var(--color-text-muted);
}

.search-btn {
    background: var(--gradient-accent);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.user-tools {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
}

.tool-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--color-secondary);
    transition: var(--transition);
}

.tool-item:hover {
    background: var(--color-bg-body);
    color: var(--color-primary);
}

.tool-item:hover i {
    color: var(--color-primary);
    transform: scale(1.1);
}

.header-bottom {
    border-top: 1px solid var(--color-border-light);
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.5), transparent);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    height: 50px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

/* ==================== FILTER SECTION ==================== */
.filter-section {
    padding: 2.5rem 0;
    background: linear-gradient(to bottom, white, var(--color-bg-body));
}

.chips-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.chips-container::-webkit-scrollbar {
    height: 6px;
}

.chips-container::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

.chip {
    padding: 0.65rem 1.5rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 999px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-main);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.chip.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.results-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.results-header select {
    padding: 0.65rem 1.25rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background: white;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    transition: var(--transition);
}

.results-header select:hover {
    border-color: var(--color-accent);
}

.pt-10 {
    padding-top: 2rem;
}

/* ==================== TOUR CARDS ==================== */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 4rem;
}

.tour-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-card:hover .card-image {
    transform: scale(1.1);
}

.card-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: var(--transition);
}

.tour-card:hover .card-image-wrapper::after {
    opacity: 0.3;
}

.fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 2;
}

.fav-btn:hover {
    background: white;
    color: #ef4444;
    transform: scale(1.1);
}

.popular-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--color-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.card-title:hover {
    color: var(--color-primary);
}

.card-features {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.card-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-features i {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border-light);
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.rating i {
    color: grey font-size: 1rem;
}

.rating-count {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.8rem;
}

.price-wrapper {
    text-align: right;
}

.old-price {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-bottom: 0.15rem;
}

.current-price {
    font-size: 1.35rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== BOTTOM INFO ==================== */
.bottom-info {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--color-bg-body), white);
    border-top: 1px solid var(--color-border-light);
}

.bottom-info h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bottom-info>.container>p {
    max-width: 700px;
    margin: 0 auto 4rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.info-column {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: var(--transition);
}

.info-column:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.info-column h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--color-secondary);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.info-list li {
    margin-bottom: 0.65rem;
}

.info-list a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.info-list a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .tour-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        height: auto;
        padding: 1.5rem 0;
        gap: 1rem;
    }

    .search-bar-wrapper {
        width: 100%;
        order: 2;
    }

    .user-tools {
        width: 100%;
        justify-content: space-around;
        order: 3;
    }

    .logo {
        order: 1;
    }

    .nav-menu {
        overflow-x: auto;
        gap: 1.5rem;
    }

    .tour-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tour-card {
    animation: fadeInUp 0.5s ease-out;
}

.tour-card:nth-child(1) {
    animation-delay: 0.05s;
}

.tour-card:nth-child(2) {
    animation-delay: 0.1s;
}

.tour-card:nth-child(3) {
    animation-delay: 0.15s;
}

.tour-card:nth-child(4) {
    animation-delay: 0.2s;
}