/* ===========================
   SinhCafe Tourist - Custom CSS
   Matches original sinhcafetourist.vn layout
   =========================== */

/* === Reset & Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background-color: #eee; }
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.42857;
    background-color: #eee;
    -webkit-font-smoothing: antialiased;
}
a { color: #333; text-decoration: none; transition: all 0.3s; }
a:hover { color: #1e73be; text-decoration: none; }
img { max-width: 100%; height: auto; border-style: none; }

/* === Boxed Layout (original 1080px wraper) === */
.site-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}
body { width: 100%; }

/* === Header Top Bar === */
.header-top-bar {
    background-color: #005d65;
    color: #fff;
    font-size: 13px;
    padding: 6px 0;
}
.header-top-bar .site-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top-bar a { color: #fff; }
.header-top-bar a:hover { color: #ddd; }
.header-top-bar .top-left span { margin-right: 15px; }
.header-top-bar .top-left i { margin-right: 4px; }
.lang-switch { display: inline-block; margin-left: 8px; }
.lang-switch img { border-radius: 2px; vertical-align: middle; height: 14px; }

/* === Navigation Bar === */
.header-nav-bar {
    background-color: #1a60af;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-nav-bar .site-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img { max-height: 56px; width: auto; display: block; padding: 6px 0; }
.nav-menu-main {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.nav-menu-main li { position: relative; }
.nav-menu-main li a {
    display: block;
    padding: 12px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.3s;
}
.nav-menu-main li a:hover,
.nav-menu-main li.current-menu-item a,
.nav-menu-main li.active a {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.nav-menu-main li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #eaeaea;
    list-style: none;
    margin: 0;
    padding: 5px 0;
    z-index: 1001;
}
.nav-menu-main li:hover > ul { display: block; }
.nav-menu-main li ul li a {
    color: #333;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
}
.nav-menu-main li ul li a:hover {
    background: #f50b20;
    color: #fff;
}
.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* === Hero Banner === */
.hero-banner { margin-bottom: 0; }
.hero-slider { width: 100%; }
.banner-slide { position: relative; padding-top: 35%; overflow: hidden; }
.banner-slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.swiper-button-next, .swiper-button-prev { color: #fff !important; }
.swiper-pagination-bullet-active { background: #1e73be !important; }

/* === Search Section === */
.search-section {
    padding: 30px 0;
    background: #fff;
}
.search-box {
    max-width: 700px;
    margin: 0 auto;
}
.search-title {
    color: #008000;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}
.search-form-hero .input-group {
    border: 2px solid #1e73be;
    border-radius: 50px;
    overflow: hidden;
}
.search-form-hero .form-control {
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 50px 0 0 50px;
}
.search-form-hero .form-control:focus { box-shadow: none; }
.search-form-hero .btn-search {
    background: #1e73be;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 0 50px 50px 0;
}
.search-form-hero .btn-search:hover { background: #1565a8; }

/* === Image Center (NukeViet) === */
.image-center {
    text-align: center;
    margin: 0 auto 10px;
}
.image-center img {
    max-width: 100%;
    height: auto;
}

/* === Promotional Banner Grid === */
.promo-banner-section {
    padding: 0 0 10px;
}
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
}
.promo-col {
    display: flex;
    flex-direction: column;
}
.promo-col-left {
    gap: 15px;
}
.promo-col-right {
    gap: 15px;
}
.promo-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.promo-banner {
    display: block;
    position: relative;
    padding-top: 55%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-decoration: none;
}
.promo-grid-small .promo-banner {
    padding-top: 60%;
}
.promo-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    transition: background 0.3s;
}
.promo-banner:hover .promo-banner-overlay {
    background: rgba(0,0,0,0.55);
}
.promo-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    z-index: 2;
}
.promo-banner-content h2,
.promo-banner-content h3 {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    line-height: 1.3;
}
.promo-banner-content h2 { font-size: 22px; }
.promo-banner-content h3 { font-size: 16px; }
.promo-btn {
    display: inline-block;
    border: 2px solid #fff;
    color: #fff;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
}
.promo-banner:hover .promo-btn {
    background: #fff;
    color: #333;
}

/* === Tour Section === */
.tour-section {
    padding: 30px 0 10px;
}
.section-header { margin-bottom: 20px; }
.section-title {
    font-size: 28px;
    color: #008000;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

/* === Tour Card Grid === */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* === Tour Card === */
.tour-card {
    background: #fff;
    border: 1px solid #eaeaea;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}
.tour-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dd3333;
    color: #fff;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
}
.tour-card-image {
    position: relative;
    padding-top: 70%;
    overflow: hidden;
}
.tour-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.tour-card:hover .tour-card-image img { transform: scale(1.05); }
.tour-card-body {
    padding: 10px 12px;
    text-align: center;
}
.tour-card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    min-height: 36px;
    overflow: hidden;
}
.tour-card-title a { color: #333; }
.tour-card-title a:hover { color: #1e73be; }
.tour-card-price {
    margin-bottom: 10px;
}
.tour-card-price .amount {
    color: #dd3333;
    font-weight: 700;
    font-size: 14px;
}
.tour-card-price del .amount {
    color: #666;
    font-weight: 400;
    opacity: 0.6;
    font-size: 12px;
    text-decoration: line-through;
}
.tour-card-price ins { text-decoration: none; }
.btn-tour-view {
    background: #f50b20;
    color: #fff;
    border: none;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    display: block;
    text-align: center;
    transition: all 0.3s;
}
.btn-tour-view:hover {
    background: #d40a16;
    color: #fff;
}

/* === Tour Detail === */
.tour-detail-section { padding: 30px 0; }
.tour-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}
.tour-meta-info .meta-box {
    background: #f9f9f9;
    padding: 12px;
    text-align: center;
}
.meta-box i { font-size: 20px; color: #1e73be; display: block; margin-bottom: 5px; }
.meta-box .meta-label { display: block; font-size: 11px; color: #666; text-transform: uppercase; }
.meta-box .meta-value { display: block; font-size: 13px; font-weight: 700; color: #333; }
.tour-body { font-size: 16px; line-height: 1.8; }
.tour-body img { border-radius: 4px; margin: 10px 0; }

/* Price Box Sidebar */
.price-box {
    background: #fff;
    border: 2px solid #1e73be;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    margin-bottom: 20px;
}
.discount-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: #dd3333;
    color: #fff;
    padding: 5px 12px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 0 6px 0 6px;
}
.old-price { font-size: 14px; color: #666; }
.old-price del { color: #666; text-decoration: line-through; }
.current-price { font-size: 18px; margin: 5px 0 15px; }
.current-price strong { color: #dd3333; font-size: 22px; }
.btn-call { background: #008800; color: #fff; font-weight: 700; border: none; }
.btn-call:hover { background: #006600; color: #fff; }
.btn-zalo { background: #0068ff; color: #fff; font-weight: 700; border: none; }
.btn-zalo:hover { background: #0052cc; color: #fff; }

/* Related Tours */
.related-tours { margin-top: 20px; }
.related-tours .widget-title,
.category-list-title,
.tour-sidebar-widget .widget-title {
    background: #1e73be;
    color: #fff;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 10px;
}
.related-tour-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eaeaea;
}
.related-tour-img { width: 80px; min-width: 80px; height: 60px; overflow: hidden; border-radius: 4px; }
.related-tour-img img { width: 100%; height: 100%; object-fit: cover; }
.related-tour-info h6 { font-size: 13px; margin: 0 0 5px; }
.related-tour-info h6 a { color: #333; }
.related-tour-info .text-price { color: #dd3333; font-weight: 700; font-size: 13px; }

/* === Page Content === */
.page-content-section { padding: 30px 0; }
.page-title { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: #333; }
.page-content { font-size: 16px; line-height: 1.8; }
.page-content img { max-width: 100%; height: auto; }

/* === Archive === */
.tour-archive-section { padding: 30px 0; }
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li a {
    display: block;
    padding: 8px 12px;
    color: #333;
    border-bottom: 1px solid #eaeaea;
    transition: all 0.3s;
}
.category-list li a:hover,
.category-list li.active a { background: #1e73be; color: #fff; }
.category-list li a .count { float: right; font-size: 12px; color: #666; }
.category-list li.active a .count { color: rgba(255,255,255,0.7); }

/* Pagination */
.pagination-wrapper .nav-links { display: flex; justify-content: center; gap: 5px; }
.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #eaeaea;
    color: #333;
    border-radius: 4px;
    font-size: 14px;
}
.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover { background: #1e73be; color: #fff; border-color: #1e73be; }

/* === Testimonials === */
.testimonials-section { padding: 40px 0; background: #f9f9f9; }
.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    border: 3px solid #1e73be;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; margin-bottom: 5px; }
.testimonial-text { font-size: 14px; color: #666; font-style: italic; }

/* === Footer === */
.site-footer { margin-top: 30px; }
.footer-section { color: #fff; padding: 30px 0; }
.footer-section.footer-bg { background: #005f67; }
.footer-section.footer-bg-dark { background: #003d42; }
.footer-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #1e73be;
}
.footer-contact p { margin-bottom: 8px; font-size: 14px; }
.footer-contact i { width: 20px; margin-right: 8px; color: #1e73be; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { color: rgba(255,255,255,0.8); font-size: 14px; transition: all 0.3s; }
.footer-links li a:hover { color: #fff; padding-left: 5px; }
.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 14px;
    transition: all 0.3s;
}
.footer-social .social-icon:hover { background: #1e73be; color: #fff; }
.footer-copyright {
    padding: 15px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    text-align: center;
}

/* === Floating Buttons === */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}
.float-btn:hover { transform: scale(1.05); color: #fff; }
.phone-btn { background: #008800; }
.phone-btn:hover { background: #006600; }
.zalo-btn { background: #0068ff; }
.zalo-btn:hover { background: #0052cc; }
.float-label { white-space: nowrap; }

/* === Breadcrumb === */
.breadcrumb { margin: 0; background: transparent; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* === Responsive === */
@media (max-width: 1119px) {
    .site-wrap { max-width: 100%; }
}
@media (max-width: 991px) {
    .nav-menu-main { display: none; }
    .nav-mobile-toggle { display: block; }
    .tour-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .banner-slide { padding-top: 50%; }
    .tour-grid { grid-template-columns: repeat(2, 1fr); }
    .tour-card-title { font-size: 13px; min-height: auto; }
    .tour-card-body { padding: 8px 10px; }
    .tour-card-price .amount { font-size: 13px; }
    .btn-tour-view { padding: 5px 15px; font-size: 12px; }
    .nav-menu-main li a { padding: 10px 8px; font-size: 11px; }
    .floating-buttons { bottom: 15px; left: 10px; }
    .float-btn { padding: 8px 12px; font-size: 12px; }
    .search-title { font-size: 20px; }
    .promo-grid { grid-template-columns: 1fr; }
    .promo-banner { min-height: 180px; }
    .promo-grid-small .promo-banner { min-height: 140px; }
    .promo-banner-content h2 { font-size: 18px; }
    .promo-banner-content h3 { font-size: 14px; }
}
@media (max-width: 576px) {
    .tour-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
