@charset "utf-8";
/* CSS Document 

Tooplate 2148 Bistro Elegance

https://www.tooplate.com/view/2148-bistro-elegance

*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Kanit', sans-serif;
	line-height: 1.6;
	color: #333;
	background: #fff;
	overflow-x: hidden;
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	padding: 1rem 0;
	transition: all 0.3s ease;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2rem;
}

.logo {
	font-size: 1.8rem;
	font-weight: bold;
	color: #333;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all 0.3s ease;
}

.logo:hover {
	transform: translateY(-2px);
}

.logo-img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.logo:hover .logo-img {
	transform: rotate(-10deg) scale(1.1);
}

.logo svg {
	transition: transform 0.3s ease;
}

.logo:hover svg {
	transform: rotate(-10deg) scale(1.1);
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-links a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
	padding: 8px 16px;
	border-radius: 4px;
	position: relative;
}

.nav-links a:hover,
.nav-links a.active {
	color: #27ae60;
	border: 2px solid #27ae60;
}

.order-online-nav {
	background: #27ae60 !important;
	color: white !important;
	border: 2px solid #27ae60 !important;
}

.order-online-nav:hover {
	background: #229954 !important;
	border: 2px solid #229954 !important;
	transform: translateY(-2px);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.menu-toggle span {
	width: 25px;
	height: 3px;
	background: #333;
	margin: 3px 0;
	transition: 0.3s;
}

/* Hero Section with Diagonal Grid */
.hero {
	height: 100vh;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.diagonal-grid {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}

.soft-block {
	position: absolute;
	height: 800px;
	background: #f0f0f0;
	transform: rotate(45deg);
	animation: moveBackForth 20s ease-in-out infinite;
	border-radius: 5px;
	opacity: 0.4;
}

@keyframes moveBackForth {

	0%,
	100% {
		transform: translateX(-50px) rotate(45deg);
	}

	50% {
		transform: translateX(50px) rotate(45deg);
	}
}

.static-decoration {
	position: absolute;
	top: 0;
	right: 0;
	width: 400px;
	height: 400px;
	pointer-events: none;
	z-index: 1;
}

.bottom-right-decoration {
	position: absolute;
	bottom: 80px;
	right: 0;
	width: 300px;
	height: 200px;
	pointer-events: none;
	z-index: 1;
}

.static-block {
	position: absolute;
	background: linear-gradient(45deg, #f0f0f0, #e5e5e5, #f5f5f5);
	transform: rotate(45deg);
	border-radius: 3px;
	opacity: 0.6;
}

.static-block-outline {
	position: absolute;
	background: transparent;
	border: 2px solid #e0e0e0;
	transform: rotate(45deg);
	border-radius: 3px;
	opacity: 0.6;
}

.red-block {
	position: absolute;
	background: #27ae60;
	transform: rotate(45deg);
	border-radius: 4px;
	opacity: 0.7;
}

.red-block-outline {
	position: absolute;
	background: transparent;
	border: 2px solid #27ae60;
	transform: rotate(45deg);
	border-radius: 4px;
	opacity: 0.7;
}

.hero-content {
	text-align: center;
	z-index: 2;
	max-width: 800px;
	padding: 0 2rem;
	margin-top: 100px;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1rem;
	animation: fadeInUp 1s ease;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: #666;
	animation: fadeInUp 1s ease 0.3s both;
	position: relative;
	min-height: 2em;
	display: flex;
	justify-content: center;
	align-items: center;
}

.text-option {
	position: absolute;
	width: 100%;
	text-align: center;
	left: 0;
	right: 0;
	opacity: 0;
	animation: textCycle 12s ease-in-out infinite;
	white-space: normal;
	padding: 0 20px;
}

.text-option:nth-child(1) {
	animation-delay: 0s;
}

.text-option:nth-child(2) {
	animation-delay: 4s;
}

.text-option:nth-child(3) {
	animation-delay: 8s;
}

@keyframes textCycle {

	0%,
	100% {
		opacity: 0;
		transform: translateY(20px) scale(0.95);
	}

	8%,
	25% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}

	33% {
		opacity: 0;
		transform: translateY(-20px) scale(0.95);
	}
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	animation: fadeInUp 1s ease 0.6s both;
}

.order-btn {
	background: #27ae60;
}

.order-btn:hover {
	background: #229954;
	box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.reserve-btn {
	background: #27ae60;
}

.reserve-btn:hover {
	background: #229954;
	box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.cta-btn {
	background: #27ae60;
	color: white;
	padding: 1rem 2rem;
	border: none;
	border-radius: 50px;
	font-size: 1.1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	animation: fadeInUp 1s ease 0.6s both;
	text-decoration: none;
	display: inline-block;
}

.cta-btn:hover {
	background: #229954;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Section Styles */
section {
	padding: 5rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

h2 {
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 3rem;
	color: #333;
	position: relative;
}

h2::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: #e0e0e0;
	border-radius: 2px;
}

/* Menu Section */
.menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.menu-item {
	background: #f8f9fa;
	padding: 2rem;
	border-radius: 15px;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.menu-item-image {
	width: 100%;
	height: 200px;
	border-radius: 10px;
	margin-bottom: 1.5rem;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.menu-item-image:hover {
	transform: scale(1.05);
}

.menu-item-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.menu-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.1), transparent);
	transition: left 0.5s ease;
}

.menu-item:hover::before {
	left: 100%;
}

.menu-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.menu-item h3 {
	color: #333;
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.menu-item p {
	color: #666;
	margin-bottom: 1rem;
}

.price {
	font-size: 1.2rem;
	font-weight: bold;
	color: #27ae60;
	margin-top: auto;
	margin-bottom: 1rem;
}

.ingredients-btn {
	background: none;
	border: 2px solid #27ae60;
	color: #27ae60;
	padding: 0.5rem 1rem;
	border-radius: 25px;
	cursor: pointer;