/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Arial", sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #fff8f0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Navigation */
.navbar {
	background-color: #ff6b6b;
	padding: 1rem 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-logo .logo-image {
	height: 50px;
	width: auto;
}

.nav-logo .logo-link {
	display: block;
	text-decoration: none;
}

.navbar.pop-out {
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	max-width: 1200px;
	width: calc(100% - 40px);
	border-radius: 50px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-link {
	color: white;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-link:hover {
	color: #ffe66d;
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.bar {
	width: 25px;
	height: 3px;
	background-color: white;
	margin: 3px 0;
	transition: 0.3s;
}

/* Hero Section */
.hero {
	background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
	color: white;
	text-align: center;
	padding: 6rem 2rem 4rem;
	margin-top: 70px; /* Space for navbar overlay */
}

.hero-content h2 {
	font-size: 3rem;
	margin-bottom: 1rem;
	font-weight: bold;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.cta-button {
	display: inline-block;
	background-color: #ffe66d;
	color: #333;
	padding: 12px 30px;
	text-decoration: none;
	border-radius: 25px;
	font-weight: bold;
	transition: transform 0.3s ease;
}

.cta-button:hover {
	transform: translateY(-2px);
}

/* Featured Section */
.featured {
	padding: 4rem 0;
	background-color: white;
}

.featured h3 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: #ff6b6b;
}

.donut-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.donut-card {
	background: white;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.3s ease;
}

.donut-card:hover {
	transform: translateY(-5px);
}

.donut-image.placeholder {
	font-size: 4rem;
	margin-bottom: 1rem;
}

.donut-card h4 {
	color: #ff6b6b;
	margin-bottom: 0.5rem;
	font-size: 1.3rem;
}

.donut-card p {
	color: #666;
	margin-bottom: 1rem;
}

.price {
	font-size: 1.2rem;
	font-weight: bold;
	color: #ff8e53;
}

/* About Section */
.about {
	padding: 4rem 0;
	background-color: #fff0e0;
	text-align: center;
}

.about h3 {
	font-size: 2.5rem;
	color: #ff6b6b;
	margin-bottom: 2rem;
}

.about p {
	font-size: 1.1rem;
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.8;
}

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

.footer-language-switcher {
	margin-top: 1rem;
}

.footer .language-switcher {
	justify-content: center;
	margin-left: 0;
}

/* Language Switcher */
.language-switcher {
	display: flex;
	gap: 0.5rem;
	margin-left: 1rem;
}

/* Navbar Language Switcher */
.language-switcher-nav .language-switcher {
	margin-left: 0;
	align-items: center;
}

.language-switcher-nav .language-switcher button {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	padding: 0.3rem 0.6rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: bold;
	transition: all 0.3s ease;
}

.language-switcher-nav .language-switcher button:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-1px);
}

.language-switcher-nav .language-switcher button.active {
	background: #ffe66d;
	color: #333;
	border-color: #ffe66d;
}

.language-switcher button {
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 0.3rem 0.6rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: bold;
	transition: all 0.3s ease;
}

.language-switcher button:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-1px);
}

.language-switcher button.active {
	background: #ffe66d;
	color: #333;
	border-color: #ffe66d;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		left: -100%;
		top: 70px;
		flex-direction: column;
		background-color: #ff6b6b;
		width: 100%;
		text-align: center;
		transition: 0.3s;
		box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
		padding: 2rem 0;
		z-index: 999;
	}

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

	.language-switcher {
		margin-left: 0;
		justify-content: center;
		margin-top: 1rem;
	}

	.language-switcher-nav .language-switcher {
		justify-content: center;
		margin: 1rem 0;
	}

	.language-switcher-nav .language-switcher button {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}

	.language-switcher button {
		padding: 0.5rem 1rem;
		font-size: 0.9rem;
	}

	.hero-content h2 {
		font-size: 2rem;
	}

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

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

/* Menu Page Styles */
.menu-hero {
	background: linear-gradient(135deg, #ff8e53 0%, #ffe66d 100%);
	color: white;
	text-align: center;
	padding: 3rem 2rem;
	margin-top: 70px; /* Space for navbar overlay */
}

.menu-categories {
	padding: 3rem 0;
	background-color: white;
}

.category {
	margin-bottom: 4rem;
}

.category h3 {
	color: #ff6b6b;
	font-size: 2rem;
	margin-bottom: 2rem;
	text-align: center;
	border-bottom: 3px solid #ffe66d;
	padding-bottom: 0.5rem;
	display: inline-block;
}

.menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 350px));
	gap: 2rem;
	margin-top: 2rem;
	justify-content: start;
}

.menu-item {
	background: #fff8f0;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.menu-item:hover {
	transform: translateY(-5px);
}

.menu-image {
	font-size: 3rem;
	text-align: center;
	margin-bottom: 1rem;
}

.menu-item h4 {
	color: #ff6b6b;
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
}

.menu-description {
	color: #666;
	margin-bottom: 1rem;
	line-height: 1.6;
}

.menu-price {
	font-size: 1.3rem;
	font-weight: bold;
	color: #ff8e53;
	text-align: right;
}

.allergens {
	font-size: 0.9rem;
	color: #888;
}

/* Combined Flip Card Styles */
.card {
	perspective: 1000px;
	height: 300px;
	position: relative;
	width: 350px;
	transition: transform 0.6s;
	transform-style: preserve-3d;
	margin: 0 auto;
	padding: 0 16px 0 16px;
}

.card.flipped {
	transform: rotateY(180deg);
}

.card-front,
.card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.card-front .image {
	position: relative;
}

.card-front .content {
	background: #fff8f0;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	margin-top: -40px; /* Increased overlap */
	z-index: 1;
	position: relative;
}

.card-back {
	transform: rotateY(180deg);
	background: #fff8f0;
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.menu-image {
	text-align: center;
	margin-bottom: 1rem;
}

.menu-image img {
	max-width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 10px;
	transform: translateY(20px); /* Push image down to overlap content */
}

.info-button,
.close-button {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 50%;
	transition: background-color 0.3s ease;
}

.info-button:hover,
.close-button:hover {
	background-color: rgba(255, 107, 107, 0.1);
}

.menu-item:hover {
	transform: none; /* Disable hover transform for flip cards */
}

/* Contact Page Styles */
.contact-hero {
	background: linear-gradient(135deg, #ffe66d 0%, #4ecdc4 100%);
	color: white;
	text-align: center;
	padding: 3rem 2rem;
	margin-top: 70px; /* Space for navbar overlay */
}

.contact-info {
	padding: 4rem 0;
	background-color: white;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	margin-top: 2rem;
}

.info-card {
	background: #fff8f0;
	padding: 2.5rem;
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.info-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	color: #ff6b6b;
}

.info-card h3 {
	color: #ff6b6b;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.hours-list {
	list-style: none;
	padding: 0;
}

.hours-list li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
}

.hours-list li:last-child {
	border-bottom: none;
}

.hours-list .day {
	font-weight: bold;
	color: #333;
}

.hours-list .time {
	color: #666;
}

.contact-details {
	font-size: 1.1rem;
	line-height: 1.8;
}

.contact-details a {
	color: #ff6b6b;
	text-decoration: none;
}

.contact-details a:hover {
	text-decoration: underline;
}

.map-container {
	margin-top: 2rem;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
	background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.2rem;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

.social-link {
	display: inline-block;
	padding: 0.8rem;
	background-color: #ff6b6b;
	color: white;
	border-radius: 50%;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.social-link:hover {
	transform: translateY(-3px);
}

@media (max-width: 480px) {
	.nav-logo .logo-image {
		height: 40px;
	}

	.hero {
		padding: 2rem 1rem;
	}

	.hero-content h2 {
		font-size: 1.8rem;
	}
}
