@charset "utf-8";
/* Biến màu sắc */
:root {
	--primary-color: #252669;
	--secondary-color: #c9a547;
	--accent-color: #ef4444;
	--light-color: #f8f9fa;
	--dark-color: #1e293b;
	--text-color: #1a1a1a;
}

/* Reset và base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: var(--text-color);
	line-height: 1.6;
	background: #fff;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Top Bar */
.top-bar {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
	color: white;
	padding: 12px 0;
	font-size: 14px;
}

.top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.top-bar a {
	color: white;
	text-decoration: none;
	margin-left: 15px;
	transition: color 0.3s;
}

.top-bar a:hover {
	color: var(--secondary-color);
}

.top-bar i {
	margin-right: 5px;
}

/* Header */
.main-header {
	background: white;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo img {
	max-width: 180px;
	height: auto;
}

/* Navigation */
#mainNav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

#mainNav > ul > li {
	position: relative;
	margin: 0 15px;
}

#mainNav > ul > li > a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
	padding: 15px 0;
	display: flex;
	align-items: center;
	transition: all 0.3s;
	white-space: nowrap;
}

#mainNav > ul > li > a:hover {
	color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
	position: relative;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	min-width: 250px;
	max-height: 400px;
	overflow-y: auto;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 1000;
	padding: 8px 0;
	border: 1px solid #f0f0f0;
}

.dropdown-menu {
	display: block !important;
	flex-direction: column !important;
}

.dropdown-menu li {
	margin: 0;
	width: 100%;
	display: block;
}

.dropdown-menu a {
	display: block;
	padding: 12px 20px;
	color: #333;
	text-decoration: none;
	transition: all 0.3s ease;
	border-bottom: 1px solid #f8f9fa;
	font-weight: 500;
	font-size: 14px;
	width: 100%;
	white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu a:hover {
	background: var(--light-color);
	color: var(--secondary-color);
	padding-left: 25px;
}

.dropdown-menu li:last-child a {
	border-bottom: none;
}

.header-actions button {
	background: linear-gradient(135deg, var(--secondary-color) 0%, #f4e5c2 50%, var(--secondary-color) 100%);
	color: var(--primary-color);
	border: none;
	padding: 10px 20px;
	border-radius: 30px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 6px 20px rgba(201, 165, 71, 0.3);
}

.header-actions button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(201, 165, 71, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary-color);
	cursor: pointer;
}

/* Hero Section */
.hero {
	position: relative;
	height: 700px;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.75)),
				url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=1600') center/cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
}

.hero-content {
	max-width: 1200px;
	padding: 0 20px;
}

.hero-content h1 {
	font-size: 50px;
	margin-bottom: 15px;
	text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
	font-weight: 900;
	line-height: 1.2;
}

.hero-content .gold-text {
	color: #f4e5c2;
	text-shadow: 0 0 30px rgba(244, 229, 194, 0.5);
}

.hero-content p {
	font-size: 24px;
	margin-bottom: 24px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Search Box */
.search-box {
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	padding: 40px;
	border-radius: 20px;
	box-shadow: 0 15px 60px rgba(0,0,0,0.3);
	max-width: 1100px;
	margin: 0 auto;
}

.search-tabs {
	display: flex;
	gap: 15px;
	margin-bottom: 30px;
	justify-content: center;
	flex-wrap: wrap;
}

.search-tab {
	padding: 14px 35px;
	background: #f8f9fa;
	border: 2px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	font-weight: 700;
	color: var(--primary-color);
	transition: all 0.3s;
	font-size: 15px;
}

.search-tab.active {
	background: linear-gradient(135deg, var(--secondary-color) 0%, #f4e5c2 50%, var(--secondary-color) 100%);
	color: var(--primary-color);
	border-color: var(--secondary-color);
}

.search-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	align-items: end;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	color: var(--primary-color);
	font-weight: 700;
	margin-bottom: 10px;
	font-size: 14px;
}

.form-group select,
.form-group input {
	padding: 14px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	font-size: 15px;
	transition: all 0.3s;
}

.form-group select:focus,
.form-group input:focus {
	outline: none;
	border-color: var(--secondary-color);
	box-shadow: 0 0 0 3px rgba(201, 165, 71, 0.1);
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
	color: white;
	border: none;
	padding: 14px 30px;
	border-radius: 10px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(15, 23, 42, 0.3);
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 cột trên desktop */
    gap: 20px;
    text-align: center;
}

.stat-item {
    position: relative;
    padding: 20px;
}

.stat-item i {
    font-size: 52px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f4e5c2 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* Trên tablet */
@media (max-width: 1024px) {
    .stats {
        padding: 50px 0;
    }
    
    .stats-grid {
        gap: 15px;
    }
    
    .stat-item i {
        font-size: 42px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .stat-item p {
        font-size: 14px;
    }
}

/* Trên mobile - 2 hàng (3 + 2) với căn giữa chính xác */
@media (max-width: 768px) {
    .stats {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: auto auto; /* 2 hàng */
        gap: 15px;
    }
    
    /* Hàng 1: 3 items */
    .stats-grid .stat-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    .stats-grid .stat-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    .stats-grid .stat-item:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
    }
    
    /* Hàng 2: 2 items căn giữa */
    .stats-grid .stat-item:nth-child(4) {
        grid-column: 1 / 3; /* Chiếm cột 1-2 */
        grid-row: 2;
        justify-self: center;
    }
    .stats-grid .stat-item:nth-child(5) {
        grid-column: 2 / 4; /* Chiếm cột 2-3 */
        grid-row: 2;
        justify-self: center;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-item i {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .stat-item h3 {
        font-size: 28px;
        margin-bottom: 5px;
    }
    
    .stat-item p {
        font-size: 12px;
    }
}



/* Trên mobile nhỏ */
@media (max-width: 480px) {
    .stats-grid {
        gap: 10px;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .stat-item i {
        font-size: 28px;
    }
    
    .stat-item h3 {
        font-size: 24px;
    }
    
    .stat-item p {
        font-size: 11px;
    }
}




/* Quick Links */
.quick-links {
	background: white;
	padding: 30px 0;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quick-links-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}

.quick-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 30px;
	background: #f8f9fa;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s;
	border: 2px solid transparent;
}

.quick-link:hover {
	background: #fff;
	border-color: var(--secondary-color);
	transform: translateY(-3px);
}

.quick-link i {
	font-size: 24px;
	color: var(--secondary-color);
}
.quick-link a {
	color: var(--secondary-color);
	text-decoration:none;
}

.quick-link span {
	font-weight: 600;
	color: var(--primary-color);
}

/* Flash Sale */
.flash-sale {
	background: linear-gradient(135deg, var(--accent-color) 0%, #dc2626 100%);
	color: white;
	padding: 50px 0;
	position: relative;
	overflow: hidden;
}

.flash-sale-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.flash-sale-title {
	display: flex;
	align-items: center;
	gap: 20px;
}

.flash-sale-title i {
	font-size: 48px;
	animation: pulse 1s infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

.flash-sale-title h2 {
	font-size: 42px;
	font-weight: 900;
}

.countdown {
	display: flex;
	gap: 15px;
}

.countdown-item {
	background: rgba(0, 0, 0, 0.3);
	padding: 15px 20px;
	border-radius: 10px;
	text-align: center;
}

.countdown-number {
	font-size: 32px;
	font-weight: 900;
	display: block;
}

.countdown-label {
	font-size: 12px;
	opacity: 0.9;
}

/* Section Title */
.section-title {
	text-align: center;
	margin-bottom: 60px;
}

.section-title h2 {
	font-size: 48px;
	color: var(--primary-color);
	margin-bottom: 15px;
	font-weight: 900;
}

.section-title p {
	font-size: 20px;
	color: #666;
}

/* Tour Grid */
.tour-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 25px;
}

.tour-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
	transition: all 0.3s;
	cursor: pointer;
}

.tour-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.tour-image {
	height: 200px;
	overflow: hidden;
	position: relative;
}

.tour-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.tour-card:hover .tour-image img {
	transform: scale(1.1);
}

.tour-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--accent-color);
	color: white;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
}

.discount-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--secondary-color);
	color: var(--primary-color);
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
}

.tour-info {
	padding: 20px;
}

.tour-info h4 {
	font-size: 16px;
	color: var(--primary-color);
	margin-bottom: 12px;
	font-weight: 700;
	line-height: 1.4;
	min-height: 44px;
}

.tour-details {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 15px;
	font-size: 13px;
	color: #666;
}

.tour-details span i {
	color: var(--secondary-color);
	margin-right: 8px;
	width: 16px;
}

.tour-price {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
}

.price-container {
	display: flex;
	flex-direction: column;
}

.price {
	font-size: 22px;
	color: var(--accent-color);
	font-weight: 900;
}

.old-price {
	text-decoration: line-through;
	color: #999;
	font-size: 13px;
}

.btn-book {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
	color: white;
	padding: 10px 18px;
	border: none;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 13px;
}

.btn-book:hover {
	transform: scale(1.05);
}

/* Destinations Section */
.destinations {
	padding: 90px 0;
	background: white;
}

.dest-mega-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
}

.dest-card {
	position: relative;
	height: 320px;
	border-radius: 18px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.4s;
	box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.dest-card:hover {
	transform: translateY(-12px) scale(1.02);
	box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.dest-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.dest-card:hover img {
	transform: scale(1.15);
}

.dest-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
	color: white;
	padding: 30px;
}

.dest-overlay h3 {
	font-size: 28px;
	margin-bottom: 10px;
	font-weight: 900;
}

.dest-overlay p {
	font-size: 14px;
	margin-bottom: 12px;
	opacity: 0.9;
}

.tour-count {
	display: inline-block;
	background: var(--secondary-color);
	color: var(--primary-color);
	padding: 8px 18px;
	border-radius: 20px;
	font-weight: 700;
	font-size: 13px;
}

/* Tour Sections */
.china-tours, .japan-tours {
	padding: 60px 0;
	background: #f8f9fa;
}

.korea-tours, .europe-tours {
	padding: 60px 0;
	background: white;
}

.view-all-btn {
	text-align: center;
	margin-top: 50px;
}

.btn-view-all {
	background: linear-gradient(135deg, var(--secondary-color) 0%, #f4e5c2 50%, var(--secondary-color) 100%);
	color: var(--primary-color);
	padding: 18px 60px;
	border: none;
	border-radius: 30px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 17px;
	box-shadow: 0 8px 25px rgba(201, 165, 71, 0.3);
}

.btn-view-all:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(201, 165, 71, 0.4);
}

.btn-search-again {
	background: linear-gradient(135deg, var(--secondary-color) 0%, #f4e5c2 50%, var(--secondary-color) 100%);
	color: var(--primary-color);
	padding:5px 30px 5px 30px;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 8px 25px rgba(201, 165, 71, 0.3);
}

.btn-search-again:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(201, 165, 71, 0.4);
}



/* Footer */
.footer {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
	color: white;
	padding: 36px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 16px;
}

.footer-section h3 {
	color: var(--secondary-color);
	margin-bottom: 25px;
	font-size: 22px;
	font-weight: 700;
}

.footer-section p {
	line-height: 1.8;
	color: #aaa;
	margin-bottom: 20px;
	font-size: 15px;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 14px;
}

.footer-section a {
	color: #aaa;
	text-decoration: none;
	transition: all 0.3s;
	font-size: 15px;
}

.footer-section a:hover {
	color: var(--secondary-color);
	padding-left: 5px;
}

.social-links {
	display: flex;
	gap: 15px;
	margin-top: 25px;
}

.social-links a {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
	background: var(--secondary-color);
	color: var(--primary-color);
	transform: translateY(-3px);
	padding-left: 0;
}

.footer-bottom {
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	color: #777;
}

.trust-badges {
	display: flex;
	justify-content: center;
	gap: 35px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.trust-badge {
	background: rgba(255, 255, 255, 0.03);
	padding: 18px 18px;
	border-radius: 10px;
	font-size: 14px;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badge i {
	color: var(--secondary-color);
	margin-right: 10px;
	font-size: 18px;
}

/* =========================== */
/* MOBILE RESPONSIVE STYLES */
/* =========================== */

@media (max-width: 768px) {
    /* Top Bar ẩn trên mobile */
    .top-bar {
        display: none;
    }
	
	.footer-bottom {
		font-size:12px;
	}
    
    /* Header layout mobile */
    .header-content {
        position: relative;
        padding: 10px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 60px;
    }
    
    /* Logo căn giữa */
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1001;
    }
    
    .logo img {
        width: 140px !important;
        height: auto;
    }
    
    /* Mobile menu toggle - bên trái */
    .mobile-menu-toggle {
        display: flex;
        order: 1;
        margin-right: auto;
        z-index: 1002;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        padding: 8px;
        align-items: center;
        justify-content: center;
    }
    
    /* Nút tư vấn - bên phải */
    .header-actions {
        order: 3;
        margin-left: auto;
        z-index: 1002;
    }
    
    .header-actions button {
        padding: 8px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    /* Navigation mobile - full screen */
    #mainNav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 999;
        overflow-y: auto;
        padding: 80px 20px 20px;
        transition: all 0.3s ease;
    }
    
    #mainNav.active {
        display: block;
    }
    
    #mainNav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        margin: 0;
    }
    
    #mainNav > ul > li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
        list-style: none;
    }
    
    #mainNav > ul > li > a {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        color: var(--primary-color);
        font-weight: 600;
        transition: all 0.3s;
    }
    
    #mainNav > ul > li > a:hover {
        color: var(--secondary-color);
        background: #f8f9fa;
    }
	
	
	   
    /* Dropdown trên mobile */
.dropdown > a {
    position: relative;
}

.dropdown > a::after {
    content: "\f0d7"; /* fa-caret-down */
    font-family: "Font Awesome 6 Free";
    margin-left: 8px;
    font-size: 16px;
    transition: transform 0.3s ease;
    display: inline-block;
	color:#CCC;
}

.dropdown.active > a::after {
    content: "\f0d8"; /* fa-caret-up */
    transform: rotate(0deg);
}
    
    /* Ẩn dropdown mặc định, chỉ hiện khi active */
    .dropdown-menu {
        display: none !important;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0;
        border: none;
        border-radius: 0;
        max-height: none;
        padding: 0;
        width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        display: block !important;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 500px;
        }
    }
    
    .dropdown-menu li {
        margin: 0;
        list-style: none;
    }
    
    .dropdown-menu a {
        padding: 12px 20px 12px 40px;
        border-bottom: 1px solid #e8e8e8;
        font-size: 14px;
        display: block;
        text-decoration: none;
        color: #333;
        transition: all 0.3s;
    }
    
    .dropdown-menu a:hover {
        background: var(--secondary-color);
        color: white;
        padding-left: 45px;
    }
    
    /* Các responsive styles khác */
    .hero {
        height: 500px;
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .search-box {
        padding: 20px 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .quick-links-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tour-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .dest-mega-grid {
        grid-template-columns: 1fr;
    }
    
    /* Fix cho menu không bị che */
    .main-header {
        position: relative;
        z-index: 1000;
    }
	
}

/* Desktop styles - đảm bảo dropdown hoạt động đúng */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    #mainNav {
        display: block !important;
        position: static;
        background: transparent;
        padding: 0;
    }
    
    #mainNav ul {
        flex-direction: row;
    }
    
    .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown > a::after {
        display: none;
    }
    
    /* Đảm bảo dropdown desktop hoạt động tốt */
    .dropdown {
        position: relative;
    }
    
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 250px;
        max-height: 400px;
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-radius: 8px;
        transition: all 0.3s ease;
        z-index: 1000;
        padding: 8px 0;
        border: 1px solid #f0f0f0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-links-container {
        grid-template-columns: 1fr;
    }
    
    .tour-grid {
        grid-template-columns: 1fr;
    }
}

/* Tours Page Specific Styles */
.page-hero {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    font-weight: 900;
}

.page-hero p {
    font-size: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.5;
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-row {
    display: flex;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-group select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(201, 165, 71, 0.1);
}

.btn-filter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.3);
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-section h3 i {
    color: var(--secondary-color);
}

.destination-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.destination-list li {
    margin-bottom: 8px;
}

.destination-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.destination-list a:hover {
    background: var(--light-color);
    color: var(--secondary-color);
}

.destination-list li.active a {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.destination-count {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.destination-list li.active .destination-count {
    background: white;
    color: var(--primary-color);
}

/* Tours Container */
.tours-container {
    flex: 1;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Tour Card for Tours Page */
.tours-grid .tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.tours-grid .tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tours-grid .tour-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.tours-grid .tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.tours-grid .tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.tours-grid .tour-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.tours-grid .tour-badge.sale {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.tours-grid .tour-badge:not(.sale) {
    background: var(--accent-color);
}

.tours-grid .tour-info {
    padding: 20px;
}

.tours-grid .tour-title {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.tours-grid .tour-title a {
    color: inherit;
    text-decoration: none;
}

.tours-grid .tour-title a:hover {
    color: var(--secondary-color);
}

.tours-grid .tour-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.tours-grid .tour-details div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tours-grid .tour-details i {
    color: var(--secondary-color);
    width: 16px;
}

.tours-grid .tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.tours-grid .tour-price-2 {
    font-size: 20px;
    color: var(--accent-color);
    font-weight: 900;
}

.tours-grid .btn-book {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}

.tours-grid .btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 50px 0 30px;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.page-link:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.page-link.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design for Tours Page */
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
    
    .tours-container {
        order: 1;
    }
    
    .tours-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 300px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero p {
        font-size: 16px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-details {
        grid-template-columns: 1fr;
    }
	.btn-book {
		padding: 10px 10px;
	}
	
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 28px;
    }
    
    .tour-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .btn-book {
        width: 100%;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =========================== */
/* SEARCH FORM STYLES */
/* =========================== */

/* Search Form Layout */
.search-form {
    display: grid;
    gap: 15px;
    align-items: end;
}

.search-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.search-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    height: auto;
    width: auto;
    background: none;
    border: none;
    border-radius: 0;
    justify-content: flex-start;
}

.search-form .form-group label span {
    display: inline;
}

.search-form .form-group select,
.search-form .form-group input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.4; /* Fix lỗi chữ bị mất */
    min-height: 48px; /* Đảm bảo chiều cao tối thiểu */
}

.search-form .form-group select:focus,
.search-form .form-group input[type="date"]:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 165, 71, 0.1);
}

/* Style cho nút tìm kiếm */
.search-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px; /* Đồng nhất chiều cao */
}

.search-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

/* Desktop large layout */
@media (min-width: 1024px) {
    .search-form {
        grid-template-columns: 1fr 1fr 1fr 1fr auto;
    }
}

/* Tablet layout */
@media (min-width: 769px) and (max-width: 1023px) {
    .search-form {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Search Form Styles */
@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .search-form .form-group {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        min-height: 48px;
    }
    
    .search-form .form-group label {
        position: relative;
        margin-bottom: 0;
        width: 40px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        border: 2px solid #e0e0e0;
        border-right: none;
        border-radius: 8px 0 0 8px;
        color: #666;
        flex-shrink: 0;
    }
    
    .search-form .form-group label i {
        font-size: 16px;
        margin-right: 0;
    }
    
    /* Ẩn text trong label, chỉ giữ icon */
    .search-form .form-group label span {
        display: none;
    }
    
    .search-form .form-group select,
    .search-form .form-group input[type="date"] {
        flex: 1;
        border-radius: 0 8px 8px 0;
        border: 2px solid #e0e0e0;
        border-left: none;
        height: 48px;
        font-size: 16px; /* Tránh zoom trên iOS */
        line-height: 1.5; /* Đảm bảo chữ không bị cắt */
        padding: 12px 15px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    /* Fix riêng cho select box trên mobile */
    .search-form .form-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 12px;
        padding-right: 40px;
    }
    
    /* Fix cho input date trên mobile */
    .search-form .form-group input[type="date"] {
        min-height: 48px;
        line-height: 1.5;
    }
    
    /* Đảm bảo nút tìm kiếm cũng có chiều cao đồng nhất */
    .search-form .btn-primary {
        height: 48px;
        font-size: 16px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 48px;
    }
    
    /* Fix placeholder và option text */
    .search-form .form-group select option {
        line-height: 1.5;
        padding: 8px;
    }
    
    .search-form .form-group input[type="date"]::placeholder {
        line-height: 1.5;
    }
}


/* =========================== */
/* TABLET RESPONSIVE STYLES */
/* =========================== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Ẩn menu Trang chủ và Về Perfect Tours */
    #mainNav > ul > li:first-child,
    #mainNav > ul > li:last-child {
        display: none;
    }
    
    /* Biến logo thành clickable navigation */
    .logo {
        cursor: pointer;
    }
    
    .logo a {
        display: block;
        text-decoration: none;
    }
    
    /* Tối ưu khoảng cách giữa các menu item */
    #mainNav > ul > li {
        margin: 0 10px;
    }
    
    #mainNav > ul > li > a {
        font-size: 14px;
        padding: 12px 0;
        white-space: nowrap;
    }
    
    /* Thu nhỏ logo */
    .logo img {
        width: 140px !important;
        transition: transform 0.3s ease;
    }
    
    .logo:hover img {
        transform: scale(1.05);
    }
    
    /* Thu nhỏ nút tư vấn */
    .header-actions button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* Giảm padding container */
    .header-content {
        padding: 10px 0;
    }
    
    /* Navigation bình thường - không scroll */
    #mainNav {
        margin: 0 15px;
        flex: 1;
    }
    
    #mainNav ul {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
    }
}

/* Small tablets - tối ưu thêm */
@media (min-width: 769px) and (max-width: 900px) {
    #mainNav > ul > li {
        margin: 0 8px;
    }
    
    #mainNav > ul > li > a {
        font-size: 13px;
        padding: 10px 0;
    }
    
    .logo img {
        width: 120px !important;
    }
    
    .header-actions button {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Very small tablets - tối ưu cực đại */
@media (min-width: 769px) and (max-width: 820px) {
    #mainNav > ul > li {
        margin: 0 6px;
    }
    
    #mainNav > ul > li > a {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .logo img {
        width: 110px !important;
    }
    
    .header-actions button {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* popup contact khi bấm vào số điện thoại*/
/* Popup Contact Options */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.popup-content h4 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.3rem;
}

.popup-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
	gap: 0.8rem;
	width:50%;
	margin:auto;
}

.contact-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.call-btn {
    background: #4CAF50;
    color: white;
}

.call-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.zalo-btn {
    background: #0068FF;
    color: white;
}

.zalo-btn:hover {
    background: #0055d4;
    transform: translateY(-2px);
}

.cancel-btn {
    background: #f1f1f1;
    color: #333;
    margin-top: 0.5rem;
}

.cancel-btn:hover {
    background: #e0e0e0;
}

/* Phone number button styles */
.contact-phone {
    font-size:inherit;
	font-family: inherit;
	transition: all 0.3s ease;
	background: none;
	border: none;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.contact-phone:hover {
    color: #e74c3c !important;
}

/* Popup Quảng Cáo Tour */
.tour-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.tour-popup .popup-content {
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.5s ease;
    display: flex;
    flex-direction: column;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.tour-popup .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.tour-popup .popup-close:hover {
    background: rgba(220, 38, 38, 0.9);
}

.tour-popup .popup-image {
    width: 100%;
    max-height: 55vh;
    overflow: hidden;
    flex-shrink: 1;
}

.tour-popup .popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-popup .popup-info {
    padding: 16px 20px;
    text-align: center;
    flex-shrink: 0;
}

.tour-popup .popup-info h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.tour-popup .popup-info p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.popup-price .price {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 900;
    display: block;
    margin-bottom: 12px;
}

.btn-popup-book {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white !important;
    text-decoration: none;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.btn-popup-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

/* Carousel slides */
.popup-carousel { position: relative; width: 100%; overflow: hidden; }
.tour-popup .popup-slide { display: none !important; }
.tour-popup .popup-slide.active { display: block !important; }

/* Discount badge on popup image */
.popup-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 4px;
}

/* Old price strikethrough */
.popup-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 8px;
}

/* Prev / Next buttons */
.popup-nav {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-nav:hover { background: rgba(0,0,0,0.7); }
.popup-prev { left: 6px; }
.popup-next { right: 6px; }

/* Dots indicator */
.popup-dots {
    text-align: center;
    padding: 8px 0 12px;
}
.popup-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.popup-dot.active { background: var(--primary-color); }

/* Responsive popup cho mobile */
@media (max-width: 768px) {
    .tour-popup .popup-content {
        max-width: 360px;
    }
    .tour-popup .popup-image {
        max-height: 45vh;
    }
}

@media (max-width: 480px) {
    .tour-popup .popup-content {
        max-width: 300px;
    }
    .tour-popup .popup-image {
        max-height: 40vh;
    }
    .tour-popup .popup-info {
        padding: 12px 15px;
    }
}