/* CSS Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-items {
    padding: 20px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-item i {
    width: 20px;
    color: #0071c2;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
}

/* Reset và Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #003580;
    color: white;
}

.header-top {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo svg {
    height: 32px;
    width: auto;
}

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

.currency-selector,
.flag-icon,
.notification-icon,
.help-icon {
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
}

.currency-selector:hover,
.flag-icon:hover,
.notification-icon:hover,
.help-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-list-property,
.btn-register,
.btn-login {
    padding: 8px 16px;
    border: 1px solid white;
    background: transparent;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.btn-list-property:hover,
.btn-register:hover,
.btn-login:hover {
    background: white;
    color: #003580;
}

.btn-register,
.btn-login {
    background: #0071c2;
    border-color: #0071c2;
}

.btn-register:hover,
.btn-login:hover {
    background: #005a9e;
    border-color: #005a9e;
    color: white;
}

.header-nav {
    padding: 12px 0;
    background: #00487c;
}

.nav-items {
    display: flex;
    gap: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    border: 2px solid white;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.nav-item i {
    font-size: 16px;
}

/* Mobile Header */
.mobile-header {
    display: none;
    background: #003580;
    color: white;
    padding: 15px 0;
}

.mobile-header-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mobile-logo svg {
    height: 30px;
    width: auto;
}

.mobile-actions {
    display: flex;
    gap: 20px;
    font-size: 18px;
}

.mobile-nav-tabs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-tabs::-webkit-scrollbar {
    display: none;
}

.mobile-tab {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.mobile-tab.active {
    border: 2px solid white;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.mobile-tab i {
    font-size: 14px;
}



/* Search Section */
.search-section {
    background: #003580;
    color: white;
    padding: 50px 0 40px;
}

.search-content h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.search-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 400;
}

.search-form {
    display: flex;
    background: #ffb700;
    border-radius: 8px;
    padding: 6px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.search-field {
    flex: 1;
    padding: 20px 22px;
    border-right: 1px solid #e0e0e0;
    position: relative;
    background: white;
    border-radius: 6px;
    margin-right: 8px;
}

.search-field:last-child {
    border-right: none;
    margin-right: 0;
}

.search-field label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.2;
}

.search-field input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.search-field .fa-times {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 14px;
}

.search-field .fa-calendar-alt,
.search-field .fa-chevron-down {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 14px;
}

.search-field.dates,
.search-field.guests {
    cursor: pointer;
    position: relative;
}

.search-field.dates:hover,
.search-field.guests:hover {
    background-color: #f8f9fa;
}

.search-btn {
    background: #0071c2;
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 130px;
    margin-left: 8px;
}

.search-btn:hover {
    background: #005a9e;
}

.search-options {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 400;
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0071c2;
}

/* Mobile Search Section */
.mobile-search-section {
    display: none;
    background: #003580;
    color: white;
    padding: 30px 0;
}

.mobile-search-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    box-sizing: border-box;
}

.mobile-search-content h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    color: white;
}

.mobile-search-form {
    background: #ffb700;
    border-radius: 8px;
    padding: 10px;
    color: #333;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-search-field {
    position: relative;
    margin-bottom: 15px;
    background: white;
    border-radius: 6px;
    padding: 4px;
}

.mobile-search-field i.fa-search {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 2;
}

.mobile-search-field input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background: white;
    outline: none;
}

.mobile-search-field .fa-times {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    z-index: 2;
}

.mobile-date-fields {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-date-field {
    flex: 1;
    background: white;
    border-radius: 6px;
    padding: 4px;
}

.mobile-date-field label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-date-field input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    background: white;
    outline: none;
}

.mobile-guests-field {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 6px;
}

.guest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.guest-item span:first-child {
    font-size: 0.8rem;
    color: #666;
}

.guest-item span:last-child {
    font-weight: 600;
    font-size: 1.1rem;
}

.mobile-search-btn {
    width: 100%;
    background: #0071c2;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mobile-search-btn:hover {
    background: #005a9e;
}


/* Hotel Recommendation Section */
.hotel-recommendation {
    padding: 50px 0;
    background: white;
}

.hotel-recommendation h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

.hotel-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 450px;
}

.hotel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.hotel-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.favorite-icon:hover {
    background: #ff6b6b;
    color: white;
}

.favorite-icon i {
    font-size: 12px;
    color: #333;
}

.favorite-icon:hover i {
    color: white;
}

.hotel-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hotel-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #333;
    font-weight: 600;
}

.hotel-location {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-score {
    background: #0071c2;
    color: white;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.rating-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.rating-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.rating-count {
    font-size: 0.75rem;
    color: #666;
}

/* Deals Section */
.deals-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.deals-section h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.deals-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.5;
}

.deals-carousel {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    transition: transform 0.5s ease;
    overflow: hidden;
    width: 200%; /* 2 slides */
}

.deals-carousel .deal-card {
    flex: 0 0 calc(25% - 15px); /* 4 cards total, each takes 25% */
    min-width: 0;
}

.deal-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.deal-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    color: white;
    padding: 20px 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.deal-category {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    font-weight: 500;
}

.deal-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.2;
}

.deal-overlay p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    margin-bottom: 12px;
}

.deal-btn {
    background: #0071c2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.deal-btn:hover {
    background: #005a9e;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: #0071c2;
}

/* Mobile Responsive for Deals Section */
@media screen and (max-width: 768px) {
    .deals-section {
        padding: 40px 0;
    }
    
    .deals-section h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .deals-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .deals-carousel {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .deals-carousel .deal-card {
        flex: 0 0 calc(50% - 7.5px);
    }
    
    .deal-image {
        height: 180px;
    }
    
    .deal-overlay {
        padding: 15px 15px 12px;
    }
    
    .deal-category {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
    
    .deal-overlay h3 {
        font-size: 1rem;
        margin-bottom: 4px;
        line-height: 1.1;
    }
    
    .deal-overlay p {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .deal-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 3px;
    }
    
    .carousel-dots {
        gap: 6px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
}

/* Accommodation Types */
.accommodation-types {
    padding: 60px 0;
    background: #f8f9fa;
}

.accommodation-types h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.types-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
}

.type-item {
    flex-shrink: 0;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.type-item:hover {
    transform: translateY(-5px);
}

.type-item img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.type-item span {
    display: block;
    font-weight: 600;
    color: #333;
}

/* Trending Destinations */
.trending-destinations {
    padding: 60px 0;
}

.trending-destinations h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.destination-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: scale(1.05);
}

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

.destination-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    font-size: 1.2rem;
}

/* Explore Vietnam */
.explore-vietnam {
    padding: 60px 0;
    background: #f8f9fa;
}

.explore-vietnam h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.vietnam-destinations {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
}

.vietnam-item {
    flex-shrink: 0;
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.vietnam-item:hover {
    transform: translateY(-5px);
}

.vietnam-item img {
    width: 200px;
    height: 120px;
    object-fit: cover;
}

.vietnam-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vietnam-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.vietnam-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Plan Easily */
.plan-easily {
    padding: 60px 0;
}

.plan-easily h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.plan-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.plan-tab {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-tab.active,
.plan-tab:hover {
    background: #0071c2;
    color: white;
    border-color: #0071c2;
}

.plan-destinations {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
}

.plan-item {
    flex-shrink: 0;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.plan-item:hover {
    transform: translateY(-5px);
}

.plan-item img {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.plan-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.plan-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Unique Accommodations */
.unique-accommodations {
    padding: 60px 0;
    background: #f8f9fa;
}

.unique-accommodations h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

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

.accommodation-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.accommodation-card:hover {
    transform: translateY(-5px);
}

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

.accommodation-info {
    padding: 20px;
}

.accommodation-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.stars {
    color: #ffc107;
    font-size: 1rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

.accommodation-info p {
    color: #666;
    margin-bottom: 15px;
}

.price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0071c2;
}

/* Weekend Deals */
.weekend-deals {
    padding: 60px 0;
}

.weekend-deals h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

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

.weekend-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.weekend-card:hover {
    transform: translateY(-5px);
}

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

.weekend-info {
    padding: 20px;
}

.weekend-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.weekend-info .rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.weekend-info p {
    color: #666;
    margin-bottom: 15px;
}

.weekend-info .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0071c2;
}

/* Genius Section */
.genius-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.genius-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.genius-text h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.genius-text p {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.genius-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-genius-login,
.btn-genius-register {
    padding: 12px 24px;
    border: 1px solid #0071c2;
    background: white;
    color: #0071c2;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-genius-login:hover,
.btn-genius-register:hover {
    background: #0071c2;
    color: white;
}

.genius-image {
    flex-shrink: 0;
}

.genius-box {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0071c2, #005a9e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 113, 194, 0.3);
}

/* Vacation Rentals */
.vacation-rentals {
    padding: 60px 0;
    background: linear-gradient(135deg, #0071c2, #005a9e);
    color: white;
    text-align: center;
}

.vacation-content h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.vacation-btn {
    background: white;
    color: #0071c2;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.vacation-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Popular Destinations */
.popular-destinations {
    padding: 60px 0;
    background: #f8f9fa;
}

.popular-destinations h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.destination-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.dest-tab {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.dest-tab.active,
.dest-tab:hover {
    background: #0071c2;
    color: white;
    border-color: #0071c2;
}

.destinations-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.dest-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
}

.dest-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.dest-links a {
    color: #0071c2;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s;
}

.dest-links a:hover {
    color: #005a9e;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 60px 0 20px;
    border-top: 1px solid #e0e0e0;
}

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

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

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

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

.footer-section a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #0071c2;
}

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

.currency-footer {
    font-weight: 600;
    color: #333;
}

.footer-copyright p {
    color: #666;
    margin-bottom: 10px;
}

.partner-logos {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #999;
}

/* Mobile App Section */
.mobile-app-section {
    display: none;
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.app-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.app-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.app-text p {
    color: #666;
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.app-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.app-btn i {
    font-size: 1.5rem;
    color: #333;
}

.app-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-btn span {
    font-size: 0.8rem;
    color: #666;
}

.app-btn strong {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .search-section {
        display: none;
    }
    
    .mobile-search-section {
        display: block;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .mobile-search-content {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-header-content {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-search-form {
        width: 100%;
        box-sizing: border-box;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hotel-card {
        flex-direction: column;
        max-width: 100%;
    }
    
    .hotel-image {
        width: 100%;
        height: 200px;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .accommodations-grid {
        grid-template-columns: 1fr;
    }
    
    .weekend-grid {
        grid-template-columns: 1fr;
    }
    
    .genius-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .destinations-list {
        grid-template-columns: 1fr;
    }
    
    .dest-links {
        grid-template-columns: 1fr;
    }
    
    .mobile-app-section {
        display: block;
    }
    
    .app-content {
        flex-direction: column;
        text-align: center;
    }
    
    .app-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .app-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .search-content h1 {
        font-size: 2rem;
    }
    
    .mobile-search-content h2 {
        font-size: 1.3rem;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .vietnam-destinations {
        flex-direction: column;
    }
    
    .vietnam-item {
        flex-direction: column;
    }
    
    .vietnam-item img {
        width: 100%;
        height: 150px;
    }
    
    .plan-destinations {
        flex-direction: column;
    }
    
    .plan-item img {
        width: 100%;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #0071c2;
    outline-offset: 2px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.close-modal:hover {
    color: #333;
    background: #f0f0f0;
}

.modal-body {
    padding: 20px;
}

/* Date Picker Dropdown */
.date-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
}

.date-picker-dropdown.active {
    display: block;
}

.date-picker-modal {
    width: 100%;
    max-width: 400px;
    margin: 5px 0 0 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

/* Desktop specific styling - both check-in and check-out are blue */
.calendar-day.check-in {
    background: #0071c2;
    color: white;
    font-weight: 600;
}

.calendar-day.check-out {
    background: #0071c2;
    color: white;
    font-weight: 600;
}

.calendar-day.in-range {
    background: #e3f2fd;
    color: #1976d2;
}

.calendar-day.hover-range {
    background: #f0f8ff;
    color: #1976d2;
}

.date-picker-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #0071c2;
    border-bottom-color: #0071c2;
}

.calendar-container {
    margin-bottom: 20px;
}

.month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.nav-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    color: #333;
}

.nav-btn:hover {
    background: #e9ecef;
}

#currentMonth {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.calendar-day {
    background: white;
    color: #000000;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.calendar-day:hover {
    background: #f8f9fa;
}

.calendar-day.selected {
    background: #0071c2;
    color: white;
}

.calendar-day.in-range {
    background: #0071c273;
    color: #000000;
}

.calendar-day.other-month {
    color: #ccc;
}

.calendar-day.today {
    background: #ffc107;
    color: #333;
    font-weight: 600;
}

.calendar-day-header {
    background: #f8f9fa;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: #666;
}

.flexibility-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.flex-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.flex-btn.active,
.flex-btn:hover {
    background: #0071c2;
    color: white;
    border-color: #0071c2;
}

.date-summary {
    margin: 20px 0;
    text-align: center;
}

.date-summary p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.done-btn {
    width: 100%;
    background: #0071c2;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.done-btn:hover {
    background: #0056b3;
}

/* Guest Selector Dropdown */
.guest-selector-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
}

.guest-selector-dropdown.active {
    display: block;
}

.guest-selector-dropdown .modal-content {
    width: 100%;
    max-width: 400px;
    margin: 5px 0 0 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    border: 1px solid #e0e0e0;
}

/* Mobile Styles for Dropdowns */
@media screen and (max-width: 768px) {
    .date-picker-dropdown {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        display: flex;
        align-items: flex-end;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .date-picker-dropdown.active {
        opacity: 1;
        visibility: visible;
    }
    
    .date-picker-dropdown .modal-content {
        width: 100%;
        max-width: none;
        margin: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        border-radius: 20px 20px 0 0;
        border: none;
        background: white;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        max-height: 85vh;
        overflow-y: auto;
        position: relative;
    }
    
    .date-picker-dropdown.active .modal-content {
        transform: translateY(0);
    }
    
    /* Add drag handle */
    .date-picker-dropdown .modal-content::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #ddd;
        border-radius: 2px;
        z-index: 1;
    }
    
    .guest-selector-dropdown {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        display: flex;
        align-items: flex-end;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .guest-selector-dropdown.active {
        opacity: 1;
        visibility: visible;
    }
    
    .guest-selector-dropdown .modal-content {
        width: 100%;
        max-width: none;
        margin: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        border-radius: 20px 20px 0 0;
        border: none;
        background: white;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        max-height: 85vh;
        overflow-y: auto;
        position: relative;
    }
    
    .guest-selector-dropdown.active .modal-content {
        transform: translateY(0);
    }
    
    /* Add drag handle for guest selector */
    .guest-selector-dropdown .modal-content::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #ddd;
        border-radius: 2px;
        z-index: 1;
    }
    
.mobile-date-field,
.mobile-guests-field {
    cursor: pointer;
    position: relative;
}

.mobile-date-field:hover,
.mobile-guests-field:hover {
    background: #f8f9fa;
}

.mobile-date-field label {
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 0.8rem;
    color: #666;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-date-field input {
    padding-top: 20px;
    padding-bottom: 8px;
    color: #999;
    font-size: 0.9rem;
}

.mobile-date-field input:not(:placeholder-shown) {
    color: #333;
}
    
    /* Adjust header padding to account for the drag handle */
    .date-picker-dropdown .modal-header,
    .guest-selector-dropdown .modal-header {
        padding-top: 30px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
    }
    
    .date-picker-dropdown .modal-body,
    .guest-selector-dropdown .modal-body {
        padding: 20px;
    }
    
    /* Mobile Calendar Day Styling */
    .date-picker-dropdown .calendar-day {
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
    }
    
    /* Mobile specific styling - both check-in and check-out are blue */
    .date-picker-dropdown .calendar-day.check-in {
        background: #0071c2;
        color: white;
        font-weight: 600;
    }
    
    .date-picker-dropdown .calendar-day.check-out {
        background: #0071c2;
        color: white;
        font-weight: 600;
    }
    
    .date-picker-dropdown .calendar-day.in-range {
        background: #e3f2fd;
        color: #1976d2;
    }
    
    .date-picker-dropdown .calendar-day.hover-range {
        background: #f0f8ff;
        color: #1976d2;
    }
}

/* Guest Selector Modal */
.guest-selector-modal {
    width: 350px;
    max-width: 90vw;
}

.guest-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.option-label {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.option-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    overflow: hidden;
}

.control-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #0071c2;
    font-weight: 600;
    transition: all 0.3s;
}

.control-btn:hover {
    background: #e9ecef;
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.count-display {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    min-width: 50px;
    text-align: center;
    padding: 0 10px;
    background: white;
}

.pet-option {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.pet-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.toggle-switch {
    position: relative;
}

.toggle-switch input {
    display: none;
}

.toggle-label {
    display: block;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.toggle-label::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.toggle-switch input:checked + .toggle-label {
    background: #0071c2;
}

.toggle-switch input:checked + .toggle-label::after {
    transform: translateX(26px);
}

.pet-info {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.pet-link {
    color: #0071c2;
    text-decoration: none;
}

.pet-link:hover {
    text-decoration: underline;
}

.apply-btn {
    width: 100%;
    background: white;
    color: #0071c2;
    border: 2px solid #0071c2;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.apply-btn:hover {
    background: #0071c2;
    color: white;
}

.done-btn {
    width: 100%;
    background: #0071c2;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.done-btn:hover {
    background: #0056b3;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
