/* --- CSS VARIABLES --- */
:root {
	--bg-base: #030305;
	--bg-surface: #0a0a0d;
	--silver-bright: #ffffff;
	--silver-main: #e0e6ed;
	--silver-muted: #8b95a1;
	--silver-dark: #2a2f35;
	--nav-bg: rgba(3, 3, 5, 0.85);
	--transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- RESET & BASE --- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Montserrat", sans-serif;
	background-color: var(--bg-base);
	color: var(--silver-main);
	line-height: 1.7;
	overflow-x: hidden;
	position: relative;
}

h1,
h2,
h3,
h4,
.logo-text {
	font-family: "Playfair Display", serif;
	font-weight: 400;
	color: var(--silver-bright);
}

a {
	text-decoration: none;
	color: var(--silver-main);
	transition: color 0.3s ease;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 5%;
}

.section {
	padding: 120px 0;
	position: relative;
	z-index: 2;
}

/* --- ADVANCED BACKGROUND: BLACK PEARL DUST & LUSTER --- */
.pearl-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	background-color: var(--bg-base);
}

/* SVG Noise Filter for "Dust" texture */
.pearl-background::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
	opacity: 0.03;
	animation: noisePan 30s linear infinite;
}

/* Iridescent Luster Orbs */
.luster-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	opacity: 0.15;
	animation: float 20s infinite ease-in-out alternate;
}
.orb-1 {
	width: 40vw;
	height: 40vw;
	background: radial-gradient(circle, #4a5568, transparent 70%);
	top: -10%;
	left: -10%;
}
.orb-2 {
	width: 50vw;
	height: 50vw;
	background: radial-gradient(circle, #2d3748, transparent 70%);
	bottom: -20%;
	right: -10%;
	animation-delay: -5s;
}

@keyframes noisePan {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(10%, 10%);
	}
}
@keyframes float {
	0% {
		transform: translate(0, 0) scale(1);
	}
	100% {
		transform: translate(5%, 5%) scale(1.1);
	}
}

/* --- SCROLL REVEAL ANIMATIONS (Triggered by JS) --- */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}
.delay-1 {
	transition-delay: 0.1s;
}
.delay-2 {
	transition-delay: 0.2s;
}
.delay-3 {
	transition-delay: 0.3s;
}

/* --- NAVBAR --- */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 25px 0;
	z-index: 1000;
	transition: all 0.4s ease;
	border-bottom: 1px solid transparent;
}
.navbar.scrolled {
	padding: 15px 0;
	background: var(--nav-bg);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Logo Configuration */
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}
.logo-text {
	font-size: 1.8rem;
	letter-spacing: 4px;
	text-transform: uppercase;
}
/* Hidden by default, un-comment HTML img tag to use */
.logo-img {
	display: none;
	height: 40px;
}

.nav-menu ul {
	list-style: none;
	display: flex;
	gap: 40px;
}
.nav-link {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	position: relative;
	padding-bottom: 5px;
}
.nav-link::after {
	content: "";
	position: absolute;
	width: 0;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: var(--silver-bright);
	transition: width 0.3s ease;
}
.nav-link:hover {
	color: var(--silver-bright);
}
.nav-link:hover::after {
	width: 100%;
}

.menu-toggle {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--silver-bright);
}

/* --- HERO SECTION --- */
.hero-section {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

/* High-end unspash placeholder */
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%; /* Extra height for parallax */
	background: url("https://images.unsplash.com/photo-1579871494447-9811cf80d66c?q=80&w=1920&auto=format&fit=crop")
		no-repeat center center;
	background-size: cover;
	z-index: -1;
	/* JS will handle parallax transform */
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(3, 3, 5, 0.4), rgba(3, 3, 5, 1));
	z-index: -1;
}

.hero-content {
	text-align: center;
	max-width: 800px;
	padding: 0 20px;
}
.hero-subtitle {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 8px;
	color: var(--silver-muted);
	margin-bottom: 20px;
	display: block;
}
.hero-content h1 {
	font-size: 5rem;
	line-height: 1.1;
	margin-bottom: 30px;
	letter-spacing: 2px;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.btn-outline {
	display: inline-block;
	padding: 15px 40px;
	border: 1px solid var(--silver-main);
	color: var(--silver-main);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 3px;
	transition: var(--transition-smooth);
	background: transparent;
}
.btn-outline:hover {
	background: var(--silver-bright);
	color: var(--bg-base);
	border-color: var(--silver-bright);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* --- SECTION HEADERS --- */
.section-header {
	text-align: center;
	margin-bottom: 80px;
}
.section-header h2 {
	font-size: 3rem;
	position: relative;
	display: inline-block;
	padding-bottom: 20px;
}
.section-header h2::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 1px;
	background: var(--silver-muted);
}

/* --- ABOUT US --- */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}
.about-img-wrapper {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.about-img-wrapper::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: inset 0 0 50px rgba(0, 0, 0, 0.5);
	pointer-events: none;
}
.about-img-wrapper img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 1.5s ease;
}
.about-img-wrapper:hover img {
	transform: scale(1.05);
}
.about-text h3 {
	font-size: 2.2rem;
	margin-bottom: 30px;
}
.about-text p {
	color: var(--silver-muted);
	margin-bottom: 20px;
	font-size: 1.05rem;
}

/* --- MENU SECTION --- */
.menu-section {
	background: linear-gradient(
		to bottom,
		transparent,
		var(--bg-surface),
		transparent
	);
}
.menu-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px 100px;
}
.menu-category h3 {
	font-size: 1.8rem;
	margin-bottom: 40px;
	color: var(--silver-bright);
	letter-spacing: 2px;
}
.menu-item {
	display: flex;
	flex-direction: column;
	margin-bottom: 30px;
}
.menu-item-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px;
	border-bottom: 1px dotted var(--silver-dark);
	padding-bottom: 5px;
}
.menu-item-name {
	font-family: "Playfair Display", serif;
	font-size: 1.3rem;
	color: var(--silver-main);
}
.menu-item-price {
	font-family: "Montserrat", sans-serif;
	font-size: 1.1rem;
	color: var(--silver-bright);
	font-weight: 500;
}
.menu-item-desc {
	font-size: 0.9rem;
	color: var(--silver-muted);
	font-style: italic;
}

/* --- GALLERY SECTION --- */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	aspect-ratio: 4/3;
	cursor: pointer;
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition-smooth);
	filter: grayscale(30%) brightness(0.8);
}
.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(3, 3, 5, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: var(--transition-smooth);
}
.gallery-overlay i {
	font-size: 2rem;
	color: var(--silver-bright);
	transform: scale(0.5);
	transition: var(--transition-smooth);
}
.gallery-item:hover img {
	transform: scale(1.08);
	filter: grayscale(0%) brightness(1);
}
.gallery-item:hover .gallery-overlay {
	opacity: 1;
}
.gallery-item:hover .gallery-overlay i {
	transform: scale(1);
}

/* --- FOOTER --- */
.footer {
	background-color: #010102;
	padding: 80px 0 40px;
	border-top: 1px solid var(--silver-dark);
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
	text-align: center;
	margin-bottom: 60px;
}
.footer-col h4 {
	font-size: 1.2rem;
	margin-bottom: 25px;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.footer-col p {
	color: var(--silver-muted);
	font-size: 0.95rem;
	margin-bottom: 10px;
}
.footer-socials {
	margin-top: 20px;
	display: flex;
	justify-content: center;
	gap: 20px;
}
.footer-socials a {
	color: var(--silver-muted);
	font-size: 1.2rem;
}
.footer-socials a:hover {
	color: var(--silver-bright);
	transform: translateY(-3px);
}
.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	color: #5a626b;
	font-size: 0.85rem;
}

/* --- SCROLL TO TOP --- */
#scrollTopBtn {
	position: fixed;
	bottom: 40px;
	right: 40px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--bg-surface);
	border: 1px solid var(--silver-dark);
	color: var(--silver-main);
	font-size: 1.2rem;
	cursor: pointer;
	z-index: 99;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.4s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}
#scrollTopBtn.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
#scrollTopBtn:hover {
	background: var(--silver-bright);
	color: var(--bg-base);
}

/* --- RESPONSIVE DESIGN --- */
@media screen and (max-width: 992px) {
	.hero-content h1 {
		font-size: 4rem;
	}
	.about-grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}
	.menu-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media screen and (max-width: 768px) {
	.hero-content h1 {
		font-size: 3rem;
	}
	.section {
		padding: 80px 0;
	}
	.menu-toggle {
		display: block;
	}

	.nav-menu {
		position: fixed;
		top: 0;
		left: -100%;
		width: 100vw;
		height: 100vh;
		background: var(--bg-base);
		display: flex;
		align-items: center;
		justify-content: center;
		transition: left 0.5s cubic-bezier(0.25, 1, 0.5, 1);
		z-index: -1; /* Behind navbar */
	}
	.nav-menu.active {
		left: 0;
	}
	.nav-menu ul {
		flex-direction: column;
		align-items: center;
		gap: 40px;
	}
	.nav-link {
		font-size: 1.2rem;
	}
	.gallery-grid {
		grid-template-columns: 1fr;
	}
	#scrollTopBtn {
		bottom: 20px;
		right: 20px;
	}
}

/* --- UPDATE TO FOOTER TO FIX VISIBILITY ISSUE --- */
.footer {
	background-color: #010102;
	padding: 80px 0 40px;
	border-top: 1px solid var(--silver-dark);
	/* Fix: Bring footer above the background animation */
	position: relative;
	z-index: 2;
}

/* --- NEW STYLES FOR ONLINE ORDER BUTTONS & LAYOUT --- */
.hero-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.btn-primary {
	display: inline-block;
	padding: 15px 40px;
	background: var(--silver-bright);
	color: var(--bg-base);
	border: 1px solid var(--silver-bright);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 3px;
	transition: var(--transition-smooth);
}

.btn-primary:hover {
	background: transparent;
	color: var(--silver-bright);
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.nav-btn-order {
	border: 1px solid var(--silver-muted);
	padding: 8px 15px;
	border-radius: 4px;
	transition: var(--transition-smooth);
}

.nav-btn-order:hover::after {
	display: none; /* Disable the underline effect for this specific button */
}

.nav-btn-order:hover {
	background: var(--silver-bright);
	color: var(--bg-base);
	border-color: var(--silver-bright);
}
