:root {
    --primary: #ff5722;
    --primary-hover: #f4511e;
    --secondary: #008489;
    --dark: #111111;
    --text-main: #222222;
    --text-muted: #999999;
    --bg-light: #f7f9fa;
    --white: #ffffff;
    --glass-bg: #ffffff;
    --glass-border: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 36px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.2s ease-in-out;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--white);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

.header.scrolled .logo, 
.header.scrolled .nav-menu a, 
.header.scrolled .phone-link {
    color: var(--dark);
}

.header.scrolled .btn-outline {
    border-color: var(--dark);
    color: var(--dark);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.logo i {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

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

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone-link {
    color: var(--white);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: #feeb22;
    color: #000;
}

.btn-primary:hover {
    background-color: #f0de1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 235, 34, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--white);
    color: var(--white);
}

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

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d1ff00;
    background-image: url('https://images.unsplash.com/photo-1499793983690-e29da59ef1c2?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(209,255,0,0.7) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--white);
    max-width: 900px;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-content p {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 48px;
    opacity: 0.9;
}

/* Search Widget */
.search-container {
    max-width: 900px;
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: -1px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: transparent;
    color: var(--dark);
    border: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn i {
    width: 18px;
    height: 18px;
    color: var(--dark);
}

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

.tab-btn.active i {
    color: var(--primary);
}

.search-widget.new-style {
    background: var(--white);
    border-radius: 0 8px 8px 8px;
    padding: 0;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-lg);
    height: 60px;
}

.search-widget.new-style .search-field {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background-color: var(--white);
    transition: background-color 0.2s;
    cursor: pointer;
    position: relative;
}

.search-widget.new-style .search-field:hover {
    background-color: #f9f9f9;
}

.search-widget.new-style .destination-field {
    flex: 2;
}

.search-widget.new-style .select-field {
    flex: 1;
    justify-content: space-between;
}

.search-widget.new-style .search-field input {
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    width: 100%;
    outline: none;
    cursor: pointer;
}

.search-widget.new-style .destination-field input {
    font-weight: 500;
}

.search-widget.new-style .search-field input::placeholder {
    color: #a0a0a0;
    font-weight: 400;
}

.chevron {
    width: 16px;
    height: 16px;
    color: #a0a0a0;
    flex-shrink: 0;
}

.search-widget.new-style .divider {
    width: 1px;
    height: 40px;
    background-color: #e5e5e5;
}

.search-widget.new-style .search-btn {
    height: 100%;
    padding: 0 40px;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    white-space: nowrap;
    border: none;
}

/* Hot Tours */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
}

.view-all i {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.view-all:hover i {
    transform: translateX(4px);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tour-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tour-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.tour-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}

.favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.favorite-btn i, .favorite-btn svg {
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn:hover i, .favorite-btn:hover svg {
    color: #ff3366;
    fill: rgba(255, 51, 102, 0.2);
}

.favorite-btn.active i, .favorite-btn.active svg {
    color: #ff3366;
    fill: #ff3366;
}

.tour-content {
    padding: 24px;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.country {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    width: 14px;
    height: 14px;
    color: #e0e0e0;
}

.stars i.filled {
    color: #ffb400;
    fill: #ffb400;
}

.hotel-name {
    font-size: 20px;
    margin-bottom: 16px;
}

.tour-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.tour-details span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-main);
}

.tour-details i {
    width: 18px;
    height: 18px;
    color: var(--secondary);
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.price {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.new-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

/* Destinations */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.dest-card {
    position: relative;
    height: 280px;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.dest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    transition: var(--transition);
}

.dest-card:hover .dest-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%);
}

.dest-card h3, .dest-card span {
    position: relative;
    z-index: 2;
}

.dest-card h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 4px;
}

.dest-card span {
    font-weight: 500;
}

.dest-card:hover {
    transform: scale(1.02);
}

/* Features */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(0, 132, 137, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-wrapper i {
    width: 32px;
    height: 32px;
    color: var(--secondary);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Footer */
.footer {
    background-color: var(--white);
    color: var(--dark);
    padding: 80px 0 24px;
    border-top: 1px solid #eaeaea;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 16px;
    display: inline-flex;
}
.footer-logo img {
    filter: none; /* Make sure it's the original logo (black text) */
}

.footer-desc {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-col h4 {
    color: var(--dark);
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
}
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0 24px;
    color: var(--white);
}

.socials {
    display: flex;
    gap: 16px;
}

.socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.socials a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #eaeaea;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .search-widget {
        flex-direction: column;
        align-items: stretch;
    }
    
    .divider {
        width: 100%;
        height: 1px;
    }
    
    .tour-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu, .phone-link {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .tour-grid, .destinations-grid, .features-grid, .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Autocomplete Dropdown */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    list-style: none;
    margin-top: 1px;
    display: none;
}

.autocomplete-list.active {
    display: block;
}

.autocomplete-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: #f9f9f9;
}

.autocomplete-item .country-name {
    font-weight: 500;
    color: var(--dark);
}

/* NEW LEVEL.TRAVEL STYLE CSS */
.hero-level {
    position: relative;
    width: 100%;
    min-height: auto;
    padding-bottom: 40px;
    background-color: #f15a25;
    padding-top: 40px;
    display: flex;
}

.hero-level-title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    color: #000;
    margin-bottom: 16px;
}

.hero-level-sub {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 30px;
    line-height: 1.5;
    backdrop-filter: blur(4px);
}

.search-container-level {
    width: 100%;
    max-width: 900px;
}

.search-tabs-level {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.tab-btn-level {
    background: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tab-btn-level.active {
    background: #fff;
}

.tab-btn-level i {
    width: 18px;
    height: 18px;
}

.search-widget-level {
    display: flex;
    background: #fff;
    border-radius: 8px;
    height: 64px;
    align-items: stretch;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.search-field-level {
    display: flex;
    align-items: center;
    position: relative;
    border-right: 1px solid #eaeaea;
    background: transparent;
}

.search-field-level.destination {
    flex: 2;
    padding: 0 20px;
    gap: 12px;
}

.search-field-level.destination input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    background: transparent;
}

.search-field-level.destination input::placeholder {
    color: #999;
}

.search-field-level.tourists {
    padding: 0 20px;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #000;
}

.search-field-level.city-from {
    padding: 0 20px;
    border-right: none;
}

.search-field-level.city-from input {
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
}

.search-btn-level {
    background-color: #feeb22;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    border: none;
    padding: 0 40px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-btn-level:hover {
    background-color: #f0de1a;
}

.hero-level-qr {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.hero-level-qr .qr-img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
}

/* Adjust old styles to prevent conflicts */
body .header.scrolled {
    background-color: var(--white) !important;
}
body .header.scrolled .logo img {
    filter: none !important;
}
body .header.scrolled .header-actions a i {
    stroke: black !important;
}

.autocomplete-item .visa-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    background-color: #e3f2fd;
    color: #1976d2;
}

.autocomplete-item .visa-badge.visa-free {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.autocomplete-item .visa-badge.visa-on-arrival {
    background-color: #fff3e0;
    color: #f57c00;
}

.autocomplete-item .visa-badge.visa-required {
    background-color: #ffebee;
    color: #c62828;
}

.autocomplete-item .visa-badge.visa-schengen {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.search-field.destination-field {
    position: relative;
    overflow: visible;
}

/* Tours Layout (Sidebar + Grid) */
.tours-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* Sidebar Filters */
.sidebar-filters {
    background: transparent;
}

.filter-box {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-box h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--dark);
}

.filter-input, .filter-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.filter-input:focus, .filter-select:focus {
    border-color: var(--primary);
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-sep {
    color: var(--text-muted);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-main);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Horizontal Tour Cards */
.tour-list-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tour-card-hz {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: var(--transition);
    height: auto;
    min-height: 280px;
}

.tour-card-hz:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.tour-img-hz {
    width: 320px;
    min-width: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cashback-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.cashback-badge i {
    width: 14px;
    height: 14px;
    color: #1e88e5;
}

.rating-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #cddc39;
    color: var(--dark);
    padding: 6px 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.rating-score {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.rating-reviews {
    display: block;
    font-size: 11px;
    font-weight: 500;
}

.tour-content-hz {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.tour-header-hz {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.tour-location-hz {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.stars-hz {
    display: flex;
    gap: 2px;
}

.stars-hz i {
    width: 16px;
    height: 16px;
    color: #ff5722;
    fill: #ff5722;
}

.tour-location-hz span {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 500;
}

.hotel-title-hz {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.favorite-btn-hz {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.favorite-btn-hz i, .favorite-btn-hz svg {
    width: 24px;
    height: 24px;
    color: #e0e0e0;
    fill: #e0e0e0;
    transition: var(--transition);
}

.favorite-btn-hz:hover i, .favorite-btn-hz:hover svg {
    color: #ff3366;
    fill: rgba(255, 51, 102, 0.2);
}

.favorite-btn-hz.active i, .favorite-btn-hz.active svg {
    color: #ff3366;
    fill: #ff3366;
}

.tour-features-hz {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.feature-hz {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.feature-hz i {
    width: 22px;
    height: 22px;
    color: var(--dark);
}

.feature-hz span {
    font-size: 12px;
    line-height: 1.2;
    color: var(--text-main);
}

.tour-tags-hz {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.tag-hz {
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-hz i {
    width: 14px;
    height: 14px;
}

.tour-footer-hz {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.price-info-hz {
    display: flex;
    flex-direction: column;
}

.price-hz {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 4px;
}

.dates-hz {
    font-size: 14px;
    color: var(--text-main);
}

.btn-hz {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 8px;
}

.tour-alternatives-hz {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px 16px;
}

.alt-title {
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.alt-dates-row {
    display: flex;
    justify-content: space-between;
}

.alt-date {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0e0e0;
    padding: 0 12px;
}

.alt-date:first-child {
    padding-left: 0;
}

.alt-date:last-child {
    border-right: none;
    padding-right: 0;
}

.alt-price {
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
}

.alt-day {
    font-size: 13px;
    color: var(--text-main);
}

@media (max-width: 1024px) {
    .mobile-filters-btn {
        display: flex !important;
        align-items: center;
        gap: 8px;
        width: 100%;
        justify-content: center;
        margin-bottom: 20px;
    }
    .sidebar-filters {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: #fff;
        z-index: 10000;
        padding: 24px;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 2px 0 12px rgba(0,0,0,0.1);
        margin: 0;
        border-radius: 0;
    }
    .sidebar-filters.open {
        left: 0;
    }
    .sidebar-filters-header {
        display: flex !important;
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
    }
    .sidebar-overlay.open {
        display: block;
    }
    .tours-layout {
        grid-template-columns: 1fr;
    }
    .tour-card-hz {
        flex-direction: column;
    }
    .tour-img-hz {
        width: 100%;
        height: 240px;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .tour-list-horizontal {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .tour-list-horizontal > .month-tabs {
        grid-column: 1 / -1;
    }
    .tour-card-hz {
        border-radius: 12px;
    }
    .tour-img-hz {
        height: 140px;
        min-width: 0;
    }
    .tour-content-hz {
        padding: 10px;
        gap: 8px;
    }
    .tour-header-hz {
        margin-bottom: 0;
    }
    .hotel-title-hz {
        font-size: 13px;
        line-height: 1.3;
        margin-top: 4px;
        word-break: break-word;
    }
    .tour-location-hz {
        margin-bottom: 2px;
    }
    .tour-location-hz span {
        font-size: 10px;
    }
    .stars-hz i {
        width: 10px;
        height: 10px;
    }
    .favorite-btn-hz {
        padding: 4px;
    }
    .favorite-btn-hz i, .favorite-btn-hz svg {
        width: 16px;
        height: 16px;
    }
    .tour-features-hz {
        display: none; /* Hide features to save space */
    }
    .tour-tags-hz {
        display: none; /* Hide tags to save space */
    }
    .tour-footer-hz {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding-bottom: 0;
        margin-bottom: 0;
        border-top: none;
        padding-top: 4px;
    }
    .price-info-hz {
        align-items: flex-start;
    }
    .price-hz {
        font-size: 16px;
        margin-bottom: 2px;
    }
    .price-hz span {
        font-size: 10px !important;
    }
    .dates-hz {
        font-size: 10px;
    }
    .btn-hz {
        width: 100%;
        padding: 8px;
        font-size: 12px;
        border-radius: 6px;
    }
    .cashback-badge {
        font-size: 10px;
        padding: 4px 8px;
        top: 8px;
        left: 8px;
    }
    .cashback-badge i {
        width: 10px;
        height: 10px;
    }
    .rating-badge {
        top: 8px;
        right: 8px;
        padding: 4px 6px;
    }
    .rating-score {
        font-size: 12px;
    }
}

/* Carousel Styles */
.tour-carousel-section {
    padding: 40px 0;
    overflow: hidden;
}

.tour-carousel-section h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    position: relative;
    min-width: 280px;
    width: 280px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.carousel-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
    color: #333;
    transition: background 0.3s, color 0.3s;
}

.hero-search-tabs .search-tab.active {
    background: #FFEA00;
    color: #111;
}

/* Breadcrumbs */
.breadcrumbs-wrapper {
    margin-bottom: 20px;
    font-size: 13px;
    color: #888;
}
.breadcrumbs-wrapper ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.breadcrumbs-wrapper li {
    display: flex;
    align-items: center;
    gap: 6px;
}
.breadcrumbs-wrapper li::after {
    content: '/';
    color: #ccc;
}
.breadcrumbs-wrapper li:last-child::after {
    display: none;
}
.breadcrumbs-wrapper a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs-wrapper a:hover {
    color: var(--primary);
}
.breadcrumbs-wrapper li:last-child span {
    color: #888;
}

.carousel-arrow:hover {
    background: #000;
    color: #fff;
}

.carousel-arrow.left {
    left: -20px;
}

.carousel-arrow.right {
    right: -20px;
}

@media (max-width: 768px) {
    .carousel-arrow {
        display: none; /* Hide arrows on mobile devices */
    }
}

.carousel-card-link {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.carousel-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.carousel-rating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #cddc39;
    color: var(--dark);
    font-weight: 800;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

.carousel-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.carousel-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.carousel-stars {
    display: flex;
}

.carousel-stars i {
    width: 14px;
    height: 14px;
    color: #ff5722;
    fill: #ff5722;
}

.carousel-location span {
    font-size: 12px;
    color: var(--text-muted);
}

.carousel-hotel {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-dates {
    font-size: 13px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    margin-top: auto;
}

.carousel-dates i {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.carousel-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

/* Popular Countries Circular List */
.popular-countries-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    scrollbar-width: none;
}
.popular-countries-list::-webkit-scrollbar {
    display: none;
}
.country-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    text-decoration: none;
}
.country-circle-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}
.country-circle:hover .country-circle-img {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.country-circle-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

@media (max-width: 1024px) {
    .search-widget-level {
        flex-direction: column;
        height: auto;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .search-field-level, 
    .search-field-level.destination, 
    .search-field-level.tourists, 
    .search-field-level.city-from {
        flex: none !important;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eaeaea;
        height: 60px;
        min-height: 60px;
        padding: 0 16px;
        display: flex;
        align-items: center;
    }
    
    .search-field-level input {
        height: 100%;
        margin: 0;
        padding: 0;
        line-height: normal;
    }
    
    .search-btn-level {
        flex: none !important;
        width: 100%;
        border-radius: 0;
        height: 60px;
        min-height: 60px;
    }
}

/* Tourists Dropdown */
.tourists-wrapper {
    position: relative;
    cursor: pointer;
}
.tourists-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 16px;
    width: 280px;
    z-index: 1000;
    cursor: default;
}
.tourists-dropdown.active {
    display: block;
}
.tourist-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.counter-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f2f2f2;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #000;
}
.counter-btn:hover {
    background: #e5e5e5;
}
.counter-value-text {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}
.add-child-btn {
    color: #ff5722;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    padding: 8px 0;
}
.add-child-btn:hover {
    opacity: 0.8;
}
.add-child-btn i {
    margin-right: 6px;
}

/* Responsive Header */
.header-inner {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin: 0 auto;
}
.header-logo-img {
    height: 32px;
    display: block;
}
.header-actions {
    display: flex;
    gap: 24px;
    font-size: 12px;
    font-weight: 600;
}
.header-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #000;
    text-decoration: none;
}
.header-link i {
    width: 24px;
    height: 24px;
}
.header-badge {
    position: absolute;
    top: -5px;
    right: 5px;
    background: white;
    color: black;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 1px solid #000;
}
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .header-logo-img {
        height: 24px; /* Make logo slightly smaller to save vertical space */
        margin-bottom: 2px;
    }
    .header-actions {
        display: none !important;
    }
    .header-link {
        gap: 0px;
    }
    .header-link i {
        width: 20px;
        height: 20px;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 80px;
}
.page-link {
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid #ddd;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
}
.page-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.page-link:hover:not(.active) {
    background: #f5f5f5;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 9999;
    justify-content: space-around;
    padding: 10px 0 25px 0; /* padding for bottom safe area */
    border-top: 1px solid #eaeaea;
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 11px;
    font-weight: 500;
    flex: 1;
    transition: color 0.2s;
}
.mobile-bottom-nav .nav-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s;
}
.mobile-bottom-nav .nav-item.active {
    color: var(--primary);
    font-weight: 700;
}
.mobile-bottom-nav .nav-item.active img {
    opacity: 1;
    /* Approximate #1e88e5 color filter for black icons */
    filter: invert(49%) sepia(83%) saturate(1476%) hue-rotate(185deg) brightness(97%) contrast(93%);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 80px !important;
    }
    .footer {
        display: none !important;
    }
}

/* Header styles for solid and transparent states */
.header-solid {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.header-transparent {
    position: fixed;
    top: 0;
    background: transparent;
    box-shadow: none;
}
.header-transparent .header-logo-img {
    filter: brightness(0); /* Black logo on main page */
}
.header-transparent.scrolled {
    background: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
