/* CSS Reset and Variables */
:root {
	--primary-color: #fdf5f6; /* Light soft pink background */
	--accent-color: #e5989b; /* Elegant pink accent */
	--text-color: #555555;
	--heading-color: #333333;
	--white: #ffffff;
	--transition: all 0.3s ease-in-out;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Montserrat", sans-serif;
	color: var(--text-color);
	background-color: var(--white);
	line-height: 1.6;
	overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
	font-family: "Cormorant Garamond", serif;
	color: var(--heading-color);
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

/* Typography & General Settings */
h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.subtitle {
	font-size: 1rem;
	margin-bottom: 2rem;
	color: #888;
}

/* Button Styling */
.btn {
	display: inline-block;
	padding: 12px 30px;
	background-color: var(--accent-color);
	color: var(--white);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.9rem;
	border-radius: 30px;
	transition: var(--transition);
	border: 1px solid var(--accent-color);
}

.btn:hover {
	background-color: transparent;
	color: var(--accent-color);
}

/* Navigation Bar */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 5%;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(5px);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
	font-size: 1.8rem;
	font-weight: 600;
	color: var(--accent-color);
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 30px;
}

.nav-links li a {
	text-decoration: none;
	color: var(--heading-color);
	font-size: 0.95rem;
	font-weight: 500;
	transition: var(--transition);
}

.nav-links li a:hover {
	color: var(--accent-color);
}

/* Hamburger Menu */
.hamburger {
	display: none;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background-color: var(--heading-color);
	transition: var(--transition);
}

/* Hero Section */
.hero {
	height: 100vh;
	background:
		linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
		url("image/hero.jpg") center/cover;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-top: 60px; /* Offset for fixed navbar */
}

.hero-content h1 {
	font-size: 4rem;
	margin-bottom: 10px;
	animation: fadeInDown 1s ease-out;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	color: var(--heading-color);
	animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-content .btn {
	animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Sections General */
section {
	padding: 80px 0;
}

.about {
	background-color: var(--primary-color);
}

.about-content p {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.1rem;
}

/* Menu Section */
.menu {
	background-color: var(--white);
}

.menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	max-width: 900px;
	margin: 0 auto;
}

.menu-grid img {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
	cursor: pointer;
	transition: var(--transition);
}

.menu-grid img:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery {
	background-color: var(--primary-color);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.gallery-grid img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 10px;
	transition: var(--transition);
}

.gallery-grid img:hover {
	transform: scale(1.03);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
	background-color: #f8f8f8;
	padding: 50px 0 20px;
	color: var(--text-color);
}

.footer h3 {
	font-size: 1.8rem;
	margin-bottom: 15px;
	color: var(--accent-color);
}

.footer p {
	margin-bottom: 5px;
}

.copyright {
	margin-top: 30px;
	font-size: 0.8rem;
	color: #999;
}

/* Back to Top Button */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background-color: var(--accent-color);
	color: white;
	border: none;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
	z-index: 999;
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background-color: var(--heading-color);
	transform: translateY(-3px);
}

/* Image Modal (Lightbox) */
.modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(5px);
}

.modal-content {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 90vh;
	margin-top: 5vh;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
	animation: zoomIn 0.3s ease;
}

.close-modal {
	position: absolute;
	top: 20px;
	right: 35px;
	color: var(--text-color);
	font-size: 40px;
	font-weight: 300;
	cursor: pointer;
	transition: var(--transition);
}

.close-modal:hover {
	color: var(--accent-color);
}

/* Animations */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes zoomIn {
	from {
		transform: scale(0.8);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

/* Scroll Reveal Classes */
.section-reveal {
	opacity: 0;
	transform: translateY(40px);
	transition:
		opacity 0.8s ease,
		transform 0.8s ease;
}

.section-reveal.active {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive Design (Mobile) */
@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}

	.nav-links {
		position: absolute;
		top: 70px;
		left: -100%;
		flex-direction: column;
		background-color: var(--white);
		width: 100%;
		text-align: center;
		padding: 20px 0;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		transition: 0.4s ease-in-out;
	}

	.nav-links.active {
		left: 0;
	}

	.nav-links li {
		margin: 15px 0;
	}

	.hamburger.active span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}
	.hamburger.active span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	h1 {
		font-size: 2.8rem !important;
	}

	.hero-content p {
		font-size: 1rem;
	}
}
