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

body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #000000;
    background-color: #f9f9f9;
}

/* ===== HEADER ===== */
.header {
    background-color: #DDEEFF;
    padding: 12px 60px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Header top row */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.logo img {
    height: 36px;
    object-fit: contain;
}

.tagline {
    font-size: 13px;
    color: #7ABEFA;
    font-style: italic;
    white-space: nowrap;
}

/* Search bar */
.search-bar {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 8px 20px;
    width: 40%;
    gap: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.search-bar .search-icon {
    color: #7ABEFA;
    font-size: 14px;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #000000;
    background: transparent;
}

/* Auth buttons */
.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn-login {
    background-color: #7ABEFA;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 8px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-login:hover {
    opacity: 0.85;
}

.btn-register {
    background-color: #ffffff;
    color: #7ABEFA;
    border: 1.5px solid #7ABEFA;
    border-radius: 50px;
    padding: 8px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-register:hover {
    background-color: #7ABEFA;
    color: #ffffff;
}

/* ===== HEADER ĐÃ ĐĂNG NHẬP ===== */
.auth-buttons.hidden {
    display: none;
}

.user-nav {
    display: none;
    align-items: center;
    gap: 24px;
}

.user-nav.show {
    display: flex;
}

.user-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #000000;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.user-nav-item:hover {
    color: #7ABEFA;
}

.user-avatar-wrap {
    position: relative;
}

.user-avatar-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #7ABEFA;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.user-avatar-btn:hover {
    background: #4fa8e8;
}

/* Dropdown menu */
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.07);
    flex-direction: column;
    gap: 2px;
    z-index: 200;
    min-width: 210px;
}

.user-dropdown.open {
    display: flex;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #222222;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.user-dropdown-item i {
    font-size: 18px;
    color: #555555;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.user-dropdown-item:hover {
    background: #f5f5f5;
}

.user-logout {
    color: #e74c3c;
}

.user-logout i {
    color: #e74c3c;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 16px 75px;
    border-top: 1px solid rgba(122, 190, 250, 0.3);
}

.header-nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #000000;
    font-size: 15px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}

.header-nav a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: filter 0.2s;
    filter: brightness(0);
}

.header-nav a:hover,
.header-nav a.active {
    color: #7ABEFA;
}

.header-nav a:hover img,
.header-nav a.active img {
    filter: invert(67%) sepia(55%) saturate(500%) hue-rotate(185deg) brightness(105%);
}

/* ===== SEARCH OVERLAY ===== */
.srch-panel {
    display: none;
    position: absolute;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
    z-index: 500;
    max-height: 72vh;
    overflow-y: auto;
}
.srch-panel.open { display: block; }

.srch-section {
    padding: 18px 20px;
}
.srch-section + .srch-section {
    border-top: 1px solid #f0f0f0;
}
.srch-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Tags */
.srch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.srch-tag {
    padding: 6px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}
.srch-tag:hover {
    border-color: #7ABEFA;
    color: #7ABEFA;
    background: #DDEEFF;
}

/* Trending grid */
.srch-trend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.srch-trend-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.srch-trend-card:hover { border-color: #7ABEFA; }

.srch-trend-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.srch-trend-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.srch-trend-name {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
}
.srch-trend-cats {
    font-size: 11px;
    color: #999999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Search results */
.srch-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    text-decoration: none;
    color: #333333;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
}
.srch-result-item:last-child { border-bottom: none; }
.srch-result-item:hover { background: #f9fbff; }

.srch-result-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.srch-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.srch-result-title {
    font-size: 14px;
    color: #000000;
    line-height: 1.4;
}
.srch-highlight {
    color: #7ABEFA;
    font-weight: 700;
}
.srch-result-loc {
    font-size: 12px;
    color: #999999;
}
.srch-result-loc i { color: #7ABEFA; }

.srch-result-price {
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    white-space: nowrap;
}
.srch-no-result {
    padding: 32px 20px;
    text-align: center;
    color: #aaaaaa;
    font-size: 14px;
}

/* ===== SLIDER ===== */
.slider {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.slider-track {
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 350px;
    object-fit: cover; /* khi .slide là <img> trực tiếp */
}

.slide.active {
    display: block;
}

/* khi .slide là <a> hoặc <div> bọc bên ngoài <img> */
a.slide, div.slide {
    text-decoration: none;
}

a.slide img, div.slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.75);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

.slider-btn.prev {
    left: 16px;
}

.slider-btn.next {
    right: 16px;
}

/* ===== BẠN MUỐN ĐI ĐÂU ===== */
.destination-section {
    padding: 20px 135px 40px;
}

.destination-list {
    display: flex;
    gap: 12px;
}

.dest-card {
    position: relative;
    flex: 1;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dest-name {
    position: absolute;
    bottom: 8px;
    left: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

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

.dest-card.selected {
    border-color: #7ABEFA;
}

/* ===== HOẠT ĐỘNG & KHÁCH SẠN ===== */
.card-section {
    padding: 20px 135px 40px;
}

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

.product-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    cursor: pointer;
    transition: box-shadow 0.2s;
    background: #ffffff;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

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

.card-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-title {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.card-price {
    font-size: 13px;
    color: #000000;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #000000;
}

.card-rating .fa-star {
    color: #F5A623;
    font-size: 13px;
}

.review-count {
    font-weight: 400;
    color: #666666;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666666;
}

.card-location .fa-location-dot {
    color: #7ABEFA;
    font-size: 12px;
}

/* ===== TOUR ƯU ĐÃI ===== */
.tour-section {
    padding: 20px 135px 40px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.tour-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tour-carousel {
    flex: 1;
    overflow: hidden;
}

.tour-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s ease;
}

.tour-card {
    height: 180px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

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

.tour-btn {
    background-color: #ffffff;
    border: 1.5px solid #dddddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 15px;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.tour-btn:hover {
    background-color: #7ABEFA;
    border-color: #7ABEFA;
    color: #ffffff;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid #e8e8e8;
    margin-top: 20px;
    padding: 40px 135px;
}

.footer-inner {
    display: flex;
    gap: 40px;
}

.footer-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 13px;
    color: #444444;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #7ABEFA;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border: 1.5px solid #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #000000;
    transition: all 0.2s;
}

.social-icon:hover {
    border-color: #7ABEFA;
    color: #7ABEFA;
}

