/*
Theme Name: Nhà hàng
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

body.home {
	background: radial-gradient(circle at 10% -20%, #ffe6c4 0%, #fff7ee 44%, #ffffff 100%);
}

body.home #main {
	padding-bottom: 38px;
}

/* Slider/banner cũ */
body.home .text-box-banner {
	backdrop-filter: blur(2px);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 16px;
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
}

body.home .text-box-banner h3,
body.home .text-box-banner h4 {
	margin-bottom: 8px;
	text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

body.home .text-box-banner .button {
	background: linear-gradient(135deg, #f7a72f, #e4511e);
	border: none;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.02em;
	border-radius: 999px;
	padding-left: 22px;
	padding-right: 22px;
	box-shadow: 0 10px 24px rgba(228, 81, 30, 0.34);
}

/* Section chính của homepage cũ */
body.home .thuc-don-section {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 236, 0.9));
	border-radius: 28px;
	box-shadow: 0 20px 54px rgba(111, 52, 23, 0.12);
	padding-top: 36px !important;
	padding-bottom: 40px !important;
	margin-top: 24px;
	border: 1px solid rgba(179, 88, 35, 0.14);
}

body.home .thuc-don-section h1,
body.home .thuc-don-section h2 {
	line-height: 1.25;
	letter-spacing: -0.01em;
}

/* Tab sản phẩm */
body.home .tab-thuc-don {
	margin-top: 22px;
}

body.home .tab-thuc-don .nav {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

body.home .tab-thuc-don .nav > li > a {
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(180, 90, 37, 0.22);
	padding: 8px 16px;
	color: #7b3b1f;
	font-weight: 600;
	transition: all 0.2s ease;
}

body.home .tab-thuc-don .nav > li.active > a,
body.home .tab-thuc-don .nav > li > a:hover {
	background: linear-gradient(135deg, #e86028, #c5461a);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 8px 20px rgba(197, 70, 26, 0.28);
}

/* Card post trong blog_posts shortcode */
body.home .mon-an .box {
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(120, 56, 26, 0.12);
	box-shadow: 0 12px 28px rgba(77, 38, 19, 0.1);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	height: 100%;
}

body.home .mon-an .box:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 32px rgba(77, 38, 19, 0.16);
}

body.home .mon-an .box-image img {
	transition: transform 0.35s ease;
}

body.home .mon-an .box:hover .box-image img {
	transform: scale(1.04);
}

body.home .mon-an .box-text {
	padding: 14px 14px 16px;
}

body.home .mon-an .box-text .post-title,
body.home .mon-an .box-text .post-title a {
	font-size: 18px;
	line-height: 1.4;
	color: #2b201a;
}

/* Banner grid */
body.home .banner-thuc-don {
	margin-top: 28px;
}

body.home .banner-thuc-don .img {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(76, 34, 16, 0.2);
}

body.home .banner-thuc-don .img img {
	transition: transform 0.35s ease;
}

body.home .banner-thuc-don .img:hover img {
	transform: scale(1.03);
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	body.home .text-box-banner {
		padding: 12px !important;
	}

	body.home .text-box-banner h3 {
		font-size: 1.2rem;
	}

	body.home .thuc-don-section {
		border-radius: 18px;
		padding-top: 22px !important;
		padding-bottom: 22px !important;
	}

	body.home .tab-thuc-don .nav > li > a {
		padding: 8px 14px;
		font-size: 13px;
	}
}
