@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: 'Arial', 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 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: #e74c3c;
	border: 2px solid #e74c3c;
}

.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: #e74c3c;
	transform: rotate(45deg);
	border-radius: 4px;
	opacity: 0.7;
}

.red-block-outline {
	position: absolute;
	background: transparent;
	border: 2px solid #e74c3c;
	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);
	}
}

.cta-btn {
	background: #e74c3c;
	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: #c0392b;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(231, 76, 60, 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(231, 76, 60, 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: #e74c3c;
	margin-top: auto;
	margin-bottom: 1rem;
}

.ingredients-btn {
	background: none;
	border: 2px solid #e74c3c;
	color: #e74c3c;
	padding: 0.5rem 1rem;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 1rem;
}

.ingredients-btn:hover {
	background: #e74c3c;
	color: white;
}

/* Ingredients Modal */
.modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	animation: fadeIn 0.3s ease;
}

.modal-content {
	background: white;
	margin: 10% auto;
	padding: 2rem;
	border-radius: 15px;
	width: 90%;
	max-width: 500px;
	position: relative;
	animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes slideIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.close {
	position: absolute;
	right: 1rem;
	top: 1rem;
	font-size: 2rem;
	cursor: pointer;
	color: #999;
}

.close:hover {
	color: #333;
}

.ingredient-list {
	list-style: none;
	margin-top: 1rem;
}

.ingredient-list li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
}

.allergen {
	color: #e74c3c;
	font-weight: bold;
}

/* Reservation Section */
.reservation {
	background: #f8f9fa;
	border-radius: 20px;
	padding: 3rem;
	margin: 3rem 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.reservation-left {
	width: 100%;
}

.reservation-right {
	width: 100%;
	height: 100%;
	min-height: 500px;
	position: relative;
	border-radius: 15px;
	overflow: hidden;
}

.reservation-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
}

.reservation-form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group.full-width {
	grid-column: 1 / -1;
}

.form-group label {
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 1rem;
	border: 2px solid #eee;
	border-radius: 10px;
	font-size: 1rem;
	font-family: 'Arial', sans-serif;
	transition: border-color 0.3s ease;
	resize: vertical;
}

.form-group textarea {
	min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #e74c3c;
}

.submit-btn {
	grid-column: 1 / -1;
	background: #e74c3c;
	color: white;
	padding: 1rem 2rem;
	border: none;
	border-radius: 10px;
	font-size: 1.1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	justify-self: start;
}

.submit-btn:hover {
	background: #c0392b;
	transform: translateY(-2px);
}

/* Footer */
footer {
	background: #333;
	color: white;
	text-align: center;
	padding: 3rem 2rem;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.footer-section h3 {
	margin-bottom: 1rem;
	color: #e74c3c;
}

.footer-section p,
.footer-section a {
	color: #ccc;
	text-decoration: none;
	line-height: 1.8;
}

.footer-section a:hover {
	color: #e74c3c;
}

.footer-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 1rem;
}

.footer-links a {
	color: #ccc;
	text-decoration: none;
	padding: 0 10px;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: #e74c3c;
}

.footer-links span {
	color: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.nav-links {
		position: fixed;
		top: 70px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 70px);
		background: white;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		padding-top: 2rem;
		transition: left 0.3s ease;
	}

	.nav-links.active {
		left: 0;
	}

	.menu-toggle {
		display: flex;
	}

	.hero-content {
		margin-top: 80px;
		margin-bottom: 80px;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero p {
		font-size: 1rem;
	}

	h2 {
		font-size: 2rem;
	}

	section {
		padding: 3rem 1rem;
	}

	.reservation {
		padding: 2rem 1rem;
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.reservation-right {
		min-height: 300px;
	}

	.modal-content {
		width: 95%;
		margin: 20% auto;
	}
}

@media (max-width: 480px) {
	.hero-content {
		margin-top: 80px;
		margin-bottom: 80px;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.menu-grid {
		grid-template-columns: 1fr;
	}

	.reservation-form {
		grid-template-columns: 1fr;
	}
}