/**
 * Custom CSS for Thu Đoàn – Cho Thuê Ô Tô Tự Lái Hà Giang
 * Core Palette: Royal Blue (#1A66FF) & Dark Charcoal (#1A1B1E / #2B2D31)
 */

:root {
	--td-primary: #1A66FF;
	--td-primary-hover: #1554C0;
	--td-primary-light: #EFF6FF;
	--td-charcoal: #2B2D31;
	--td-dark: #1A1B1E;
	--td-gray-bg: #F8F9FA;
	--td-border: #E5E7EB;
	--td-text: #374151;
	--td-text-muted: #6B7280;
	--td-radius: 12px;
	--td-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	--td-shadow-hover: 0 12px 30px rgba(26, 102, 255, 0.14);
	--td-transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base enhancements */
body {
	font-family: 'Be Vietnam Pro', sans-serif;
	color: var(--td-text);
	background-color: #ffffff;
	-webkit-font-smoothing: antialiased;
}

/* ============================================================
   1. GLOBAL BUTTON SYSTEM (Polished, Consistent, Premium)
   ============================================================ */

/* Base Button Reset & Standard */
.button,
button,
input[type="submit"],
.btn {
	font-family: 'Be Vietnam Pro', sans-serif !important;
	font-weight: 700 !important;
	letter-spacing: 0.3px !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	transition: var(--td-transition) !important;
	border: none !important;
	box-sizing: border-box !important;
	line-height: 1.2 !important;
	margin: 0 !important;
}

/* Primary Button (Solid Royal Blue) */
.button.primary,
button.button.primary,
.is-primary,
.btn-primary {
	background-color: #1A66FF !important;
	background-image: none !important;
	border: 2px solid #1A66FF !important;
	color: #ffffff !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 14px rgba(26, 102, 255, 0.3) !important;
}

.button.primary:hover,
button.button.primary:hover,
.is-primary:hover,
.btn-primary:hover {
	background-color: #1554C0 !important;
	border-color: #1554C0 !important;
	color: #ffffff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 22px rgba(26, 102, 255, 0.45) !important;
}

/* Outline Button (Border Orange, Transparent BG) */
.button.outline,
.is-outline {
	background-color: transparent !important;
	background-image: none !important;
	border: 2px solid #1A66FF !important;
	color: #1A66FF !important;
	border-radius: 50px !important;
	font-weight: 700 !important;
}

.button.outline:hover,
.is-outline:hover {
	background-color: #1A66FF !important;
	border-color: #1A66FF !important;
	color: #ffffff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 18px rgba(26, 102, 255, 0.35) !important;
}

/* White Button (Clean White Pill with dark text) */
.button.white,
.is-white {
	background-color: #ffffff !important;
	background-image: none !important;
	border: 2px solid #ffffff !important;
	color: #1A1B1E !important;
	border-radius: 50px !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.button.white:hover,
.is-white:hover {
	background-color: #F8F9FA !important;
	border-color: #F8F9FA !important;
	color: #1A66FF !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22) !important;
}

/* Round Pill modifier */
.button.round,
.is-round {
	border-radius: 50px !important;
}

/* Large Button Size */
.button.size-large,
.button.is-large {
	padding: 13px 30px !important;
	font-size: 15px !important;
	height: 48px !important;
}

/* Medium Button Size */
.button.size-medium,
.button.is-medium {
	padding: 10px 24px !important;
	font-size: 14px !important;
	height: 42px !important;
}

/* ============================================================
   2. HERO BANNER BUTTONS (Fix Screenshot 1)
   ============================================================ */
.thudoan-hero-actions {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: center;
	margin-top: 15px;
}

.thudoan-hero-actions .btn-hero-phone,
.thudoan-hero-actions .button.btn-hero-phone,
.thudoan-hero-actions .button.primary {
	background: #1A66FF !important;
	background-image: none !important;
	color: #ffffff !important;
	border: 2px solid #1A66FF !important;
	border-radius: 50px !important;
	padding: 13px 32px !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	height: 48px !important;
	box-shadow: 0 8px 24px rgba(26, 102, 255, 0.45) !important;
	animation: none !important;
}

.thudoan-hero-actions .btn-hero-phone:hover,
.thudoan-hero-actions .button.btn-hero-phone:hover,
.thudoan-hero-actions .button.primary:hover {
	background: #1554C0 !important;
	border-color: #1554C0 !important;
	transform: translateY(-3px) scale(1.02) !important;
	box-shadow: 0 12px 28px rgba(26, 102, 255, 0.55) !important;
}

.thudoan-hero-actions .btn-hero-zalo,
.thudoan-hero-actions .button.btn-hero-zalo,
.thudoan-hero-actions .button.white {
	background: #ffffff !important;
	background-image: none !important;
	color: #1A1B1E !important;
	border: 2px solid #ffffff !important;
	border-radius: 50px !important;
	padding: 13px 32px !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	height: 48px !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

.thudoan-hero-actions .btn-hero-zalo:hover,
.thudoan-hero-actions .button.btn-hero-zalo:hover,
.thudoan-hero-actions .button.white:hover {
	background: #0068FF !important;
	border-color: #0068FF !important;
	color: #ffffff !important;
	transform: translateY(-3px) scale(1.02) !important;
	box-shadow: 0 12px 28px rgba(0, 104, 255, 0.45) !important;
}

/* ============================================================
   3. CTA BANNER BUTTONS (Fix Screenshot 4: High Contrast on Orange BG)
   ============================================================ */
.thudoan-cta-actions {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: flex-end;
}

@media (max-width: 768px) {
	.thudoan-cta-actions {
		justify-content: flex-start;
		margin-top: 15px;
		flex-wrap: wrap;
	}
}

/* Button 1: Solid White with Orange Text */
.thudoan-cta-actions .btn-cta-phone {
	background: #ffffff !important;
	color: #1A66FF !important;
	border: 2px solid #ffffff !important;
	border-radius: 50px !important;
	padding: 12px 28px !important;
	font-size: 14.5px !important;
	font-weight: 800 !important;
	height: 46px !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.thudoan-cta-actions .btn-cta-phone:hover {
	background: #F8F9FA !important;
	color: #1554C0 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;
}

/* Button 2: Zalo Blue for high contrast */
.thudoan-cta-actions .btn-cta-zalo {
	background: #0068FF !important;
	color: #ffffff !important;
	border: 2px solid #0068FF !important;
	border-radius: 50px !important;
	padding: 12px 28px !important;
	font-size: 14.5px !important;
	font-weight: 800 !important;
	height: 46px !important;
	box-shadow: 0 6px 20px rgba(0, 104, 255, 0.4) !important;
}

.thudoan-cta-actions .btn-cta-zalo:hover {
	background: #0052CC !important;
	border-color: #0052CC !important;
	color: #ffffff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px rgba(0, 104, 255, 0.55) !important;
}

/* ============================================================
   4. HEADER & NAVIGATION STYLES
   ============================================================ */
.header-main {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-button .button {
	background-color: #1A66FF !important;
	border: 2px solid #1A66FF !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 13.5px !important;
	border-radius: 30px !important;
	padding: 7px 20px !important;
	transition: var(--td-transition);
	box-shadow: 0 4px 14px rgba(26, 102, 255, 0.35) !important;
	height: 38px !important;
}

.header-button .button:hover {
	background-color: #1554C0 !important;
	border-color: #1554C0 !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(26, 102, 255, 0.45) !important;
}

.nav > li > a {
	font-weight: 600;
	letter-spacing: 0.2px;
	transition: var(--td-transition);
}

.nav > li:hover > a,
.nav > li.active > a {
	color: var(--td-primary) !important;
}

/* ============================================================
   5. ICON BOXES (Why Choose Us)
   ============================================================ */
.icon-box {
	background: #ffffff;
	border-radius: var(--td-radius);
	padding: 26px 20px;
	border: 1px solid var(--td-border);
	transition: var(--td-transition);
	height: 100%;
	display: flex;
	flex-direction: column;
	text-align: center;
}

.icon-box:hover {
	transform: translateY(-5px);
	box-shadow: var(--td-shadow-hover);
	border-color: var(--td-primary);
}

.icon-box .icon-box-img i {
	color: var(--td-primary);
	font-size: 36px;
	display: inline-block;
	margin-bottom: 12px;
	transition: var(--td-transition);
}

.icon-box:hover .icon-box-img i {
	transform: scale(1.12);
}

.icon-box .icon-box-text h3 {
	font-size: 17px;
	font-weight: 700;
	color: var(--td-charcoal);
	margin-bottom: 8px;
}

.icon-box .icon-box-text p {
	font-size: 13.5px;
	color: var(--td-text-muted);
	margin-bottom: 0;
	line-height: 1.6;
}

/* ============================================================
   6. SECTION HEADINGS & DIVIDERS
   ============================================================ */
.section-title-center {
	text-align: center;
	margin-bottom: 35px;
}

.section-title-center h2 {
	font-size: 26px;
	font-weight: 800;
	color: var(--td-charcoal);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	display: inline-block;
	padding-bottom: 12px;
	margin: 0;
}

.section-title-center h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 55px;
	height: 3.5px;
	background: var(--td-primary);
	border-radius: 2px;
}

.section-subtitle {
	font-size: 14.5px;
	color: var(--td-text-muted);
	max-width: 650px;
	margin: 10px auto 0;
	line-height: 1.6;
}

/* ============================================================
   7. STATS COUNTER BOX
   ============================================================ */
.thudoan-counter-box {
	background: linear-gradient(135deg, #FFF6F2 0%, #FFFFFF 100%);
	border: 1px solid #FFE4D9;
	border-radius: var(--td-radius);
	padding: 24px 16px;
	text-align: center;
	transition: var(--td-transition);
}

.thudoan-counter-box:hover {
	transform: translateY(-4px);
	box-shadow: var(--td-shadow);
	border-color: var(--td-primary);
}

.thudoan-counter-number {
	font-size: 32px;
	font-weight: 900;
	color: var(--td-primary);
	line-height: 1;
	margin-bottom: 8px;
}

.thudoan-counter-label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--td-charcoal);
}

/* ============================================================
   8. CONTACT INFO LIST
   ============================================================ */
.contact-info-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.contact-info-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 16px;
	font-size: 14.5px;
	color: var(--td-charcoal);
}

.contact-info-list li i {
	font-size: 18px;
	color: var(--td-primary);
	background: var(--td-primary-light);
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	flex-shrink: 0;
}

/* ============================================================
   9. FOOTER STYLING
   ============================================================ */
.footer-wrapper {
	background-color: var(--td-charcoal) !important;
	color: #D1D5DB;
}

.footer-wrapper h3,
.footer-wrapper .widget-title {
	color: #ffffff !important;
	font-weight: 700;
	border-bottom: 2px solid var(--td-primary);
	padding-bottom: 8px;
	display: inline-block;
}

.footer-wrapper a {
	color: #D1D5DB !important;
	transition: var(--td-transition);
}

.footer-wrapper a:hover {
	color: var(--td-primary) !important;
	padding-left: 4px;
}

.absolute-footer {
	background-color: var(--td-dark) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   10. BLOG / POST CARDS (Clean single layer handled in category-archive-custom.css)
   ============================================================ */
.col.post-item,
.post-item {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

.col.post-item .col-inner {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}

/* ============================================================
   11. FORM ENHANCEMENTS (CF7)
   ============================================================ */
.thudoan-form-wrapper input[type="text"],
.thudoan-form-wrapper input[type="tel"],
.thudoan-form-wrapper input[type="email"],
.thudoan-form-wrapper select,
.thudoan-form-wrapper textarea {
	border-radius: 8px !important;
	border: 1px solid #D1D5DB !important;
	padding: 10px 14px !important;
	font-size: 14px !important;
	width: 100% !important;
	background: #F9FAFB !important;
	transition: border-color 0.2s ease !important;
	box-shadow: none !important;
}

.thudoan-form-wrapper input:focus,
.thudoan-form-wrapper select:focus,
.thudoan-form-wrapper textarea:focus {
	border-color: #1A66FF !important;
	background: #ffffff !important;
	outline: none !important;
}

.thudoan-form-wrapper .wpcf7-submit {
	background: #1A66FF !important;
	color: #ffffff !important;
	height: 48px !important;
	border-radius: 8px !important;
	font-size: 14.5px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	width: 100% !important;
	cursor: pointer !important;
	box-shadow: 0 4px 15px rgba(26, 102, 255, 0.35) !important;
	transition: all 0.2s ease !important;
}

.thudoan-form-wrapper .wpcf7-submit:hover {
	background: #1554C0 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 22px rgba(26, 102, 255, 0.45) !important;
}

.thudoan-hero-actions br, .thudoan-cta-actions br { display: none !important; }
