/* Import Exact Fonts from React App */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* CSS Variables - Exact Match to React/Tailwind */
:root {
	--zuno-cream: #f4f2ee;
	--zuno-dark: #0e0f11;
	--zuno-bronze: #c50604;
	--zuno-text: #111216;
	--zuno-muted: #6f6f74;

	--font-heading: "Space Grotesk", system-ui, sans-serif;
	--font-sans: "Inter", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", monospace;

	--radius: 0.875rem; /* 14px */
}

/* Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	padding-top: 4rem;
	background-color: var(--zuno-cream);
	color: var(--zuno-text);
	font-family: var(--font-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 600;
	letter-spacing: -0.02em;
}

/* Typography Scale - EXACT Tailwind Match */
.heading-xl {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: -0.02em;
	font-size: 2.25rem; /* 36px - text-4xl */
}

@media (min-width: 640px) {
	.heading-xl {
		font-size: 3rem;
	} /* 48px - sm:text-5xl */
}

@media (min-width: 768px) {
	.heading-xl {
		font-size: 3.75rem;
	} /* 60px - md:text-6xl */
}

@media (min-width: 1024px) {
	.heading-xl {
		font-size: 4.5rem;
	} /* 72px - lg:text-7xl */
}

.heading-lg {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
	font-size: 1.875rem; /* 30px - text-3xl */
}

@media (min-width: 640px) {
	.heading-lg {
		font-size: 2.25rem;
	} /* 36px - sm:text-4xl */
}

@media (min-width: 768px) {
	.heading-lg {
		font-size: 3rem;
	} /* 48px - md:text-5xl */
}

.heading-md {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.25;
	font-size: 1.5rem; /* 24px - text-2xl */
}

@media (min-width: 640px) {
	.heading-md {
		font-size: 1.875rem;
	} /* 30px - sm:text-3xl */
}

@media (min-width: 768px) {
	.heading-md {
		font-size: 2.25rem;
	} /* 36px - md:text-4xl */
}

.body-lg {
	font-size: 1.125rem; /* 18px - text-lg */
	line-height: 1.75;
	color: var(--zuno-muted);
}

@media (min-width: 768px) {
	.body-lg {
		font-size: 1.25rem;
	} /* 20px - md:text-xl */
}

.body-md {
	font-size: 1rem; /* 16px - text-base */
	line-height: 1.75;
	color: var(--zuno-muted);
}

@media (min-width: 768px) {
	.body-md {
		font-size: 1.125rem;
	} /* 18px - md:text-lg */
}

.label-mono {
	font-family: var(--font-mono);
	font-size: 0.75rem; /* 12px - text-xs */
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 500;
	color: var(--zuno-muted);
}

/* Section Padding - Exact Tailwind */
.section-padding {
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 640px) {
	.section-padding {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.section-padding {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

@media (min-width: 1280px) {
	.section-padding {
		padding-left: 3rem;
		padding-right: 3rem;
	}
}

@media (min-width: 1536px) {
	.section-padding {
		padding-left: 4rem;
		padding-right: 4rem;
	}
}

/* Buttons - EXACT React Match */
.btn-primary,
.btn-zuno-bronze {
	background-color: var(--zuno-bronze);
	color: white;
	padding: 0.5rem 0.5rem;
	border-radius: 0.75rem; /* 12px - rounded-xl */
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.btn-primary:hover,
.btn-zuno-bronze:hover {
	background-color: #c50604; /* #9d7350 */
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(184, 138, 100, 0.25);
}

.btn-primary:active,
.btn-zuno-bronze:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(184, 138, 100, 0.2);
}

.btn-secondary {
	background-color: transparent;
	border: 1px solid rgba(17, 18, 22, 0.2);
	color: var(--zuno-text);
	padding: 0.75rem 1.5rem;
	border-radius: 0.75rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
	background-color: var(--zuno-bronze);
	/* border-color: rgba(17, 18, 22, 0.3); */
	/* transform: translateY(-1px); */
}

/* Black Button (for "Book at this location") */
.btn-dark,
.btn.btn-dark {
	background-color: #111216;
	color: white;
	padding: 0.5rem 1.5rem;
	border-radius: 0.75rem;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.btn-dark:hover,
.btn.btn-dark:hover {
	background-color: #2a2a2e;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(17, 18, 22, 0.25);
}

.btn-dark:active,
.btn.btn-dark:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(17, 18, 22, 0.2);
}

/* Text Link Buttons (Bronze with arrow) */
.btn-link {
	background: transparent;
	color: var(--zuno-bronze);
	border: none;
	padding: 0;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none;
}

.btn-link:hover {
	color: #9d7350;
	text-decoration: none;
	transform: translateX(2px);
}

.btn-link svg {
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-link:hover svg {
	transform: translateX(3px);
}

.btn-ghost {
	background: transparent;
	color: var(--zuno-text);
	border: none;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
}

.btn-ghost:hover {
	background-color: var(--zuno-bronze);
	color: white;
	border-radius: 0.75rem;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(184, 138, 100, 0.25);
}

/* Shadows */
.shadow-card {
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.shadow-badge {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.shadow-xl {
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Border Radius - Exact Tailwind */
.rounded-xl {
	border-radius: 0.75rem !important; /* 12px */
}

.rounded-2xl {
	border-radius: 1.75rem !important; /* 28px - EXACT */
}

.rounded-3xl {
	border-radius: 1.75rem !important; /* 28px */
}

.rounded-full {
	border-radius: 9999px !important;
}

/* Utilities */
.object-cover {
	object-fit: cover;
}

.backdrop-blur-md {
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.noise-overlay {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 50;
	opacity: 0.04;
	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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Animations */
@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

.animate-float {
	animation: float 3s ease-in-out infinite;
}

.card-hover,
.hover-translate-up {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover,
.hover-translate-up:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Location Card Specific */
.location-card:hover img,
.workspace-card:hover img {
	transform: scale(1.05);
}

/* Navigation Icon Hover (in location cards) */
.location-card a[title="Open in Google Maps"] {
	color: black;
}
.location-card a[title="Open in Google Maps"]:hover {
	background-color: var(--zuno-bronze) !important;
	color: white;
}

.location-card a[title="Open in Google Maps"]:hover svg {
	color: white;
	stroke: white;
}

.btn-book-location {
	transition: all 0.3s ease;
}

.btn-book-location:hover {
	background-color: var(--zuno-bronze) !important;
	color: white;
}

/* Transitions */
.transition-all {
	transition: all 0.3s ease;
}

.transition-colors {
	transition:
		color 0.3s ease,
		background-color 0.3s ease;
}

/* Text Colors */
.text-zuno-text {
	color: var(--zuno-text) !important;
}

.text-zuno-muted {
	color: var(--zuno-muted) !important;
}

.text-zuno-bronze {
	color: var(--zuno-bronze) !important;
}

.text-white {
	color: white !important;
}

/* Background Colors */
.bg-zuno-cream {
	background-color: var(--zuno-cream);
}

.bg-zuno-dark {
	background-color: var(--zuno-dark);
}

.bg-zuno-bronze {
	background-color: var(--zuno-bronze);
}

.bg-white {
	background-color: white;
}

.bg-zuno-cream-90 {
	background-color: rgba(244, 242, 238, 0.9);
}

/* Opacity Utilities */
.bg-opacity-90 {
	background-color: rgba(255, 255, 255, 0.9);
}

.bg-opacity-75 {
	background-color: rgba(255, 255, 255, 0.75);
}

.bg-opacity-10 {
	opacity: 0.1;
}

/* Gradients */
.bg-gradient-fade {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

/* Navigation */

/* Footer */
.social-icon-btn {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bg-white-10 {
	background-color: rgba(255, 255, 255, 0.1);
}

.text-white-60 {
	color: rgba(255, 255, 255, 0.6);
}

.text-white-40 {
	color: rgba(255, 255, 255, 0.4);
}

.hover-text-zuno-bronze:hover {
	color: var(--zuno-bronze) !important;
}

.border-white-10 {
	border-color: rgba(255, 255, 255, 0.1) !important;
}

.border-black-10 {
	border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Mobile Menu */
.navbar-toggler {
	border: none;
	background: transparent;
	padding: 0.5rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.navbar-toggler:focus {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(197, 6, 4, 0.25);
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17, 18, 22, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	width: 1.5em;
	height: 1.5em;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
}

.offcanvas-top {
	height: auto;
	min-height: 50vh;
}

/* Testimonials */
.testimonial-card blockquote {
	font-size: 1.1rem;
	line-height: 1.6;
}

/* Scroll Animations */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.6s ease-out,
		transform 0.6s ease-out;
}

.fade-in-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Modal Specific Styles */
.modal-content {
	border: 1px solid rgba(17, 18, 22, 0.1);
}

.form-control {
	background-color: white;
	border: 1px solid rgba(17, 18, 22, 0.1);
	border-radius: 0.75rem;
	padding: 0.625rem 1rem;
	font-size: 0.875rem;
	transition: all 0.2s ease;
}

.form-control:focus {
	border-color: var(--zuno-bronze);
	box-shadow: 0 0 0 3px rgba(184, 138, 100, 0.1);
	outline: none;
}

.form-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--zuno-text);
	margin-bottom: 0.5rem;
}

/* Input Icons */
.input-icon-left {
	padding-left: 2.5rem;
}

.input-icon-right {
	padding-right: 2.5rem;
}

/* Pricing Tabs (Bootstrap nav-pills override) */
.nav-pills {
	background-color: white;
	border-radius: 9999px;
	padding: 0.25rem;
	display: inline-flex;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-pills .nav-link {
	border-radius: 9999px;
	padding: 0.5rem 1.5rem;
	font-weight: 500;
	color: var(--zuno-muted);
	background-color: transparent;
	border: none;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}

.nav-pills .nav-link:hover {
	background-color: rgba(17, 18, 22, 0.05);
	color: var(--zuno-text);
}

.nav-pills .nav-link.active {
	background-color: var(--zuno-bronze);
	color: white;
	box-shadow: 0 2px 8px rgba(184, 138, 100, 0.3);
}

.nav-pills .nav-link.active:hover {
	background-color: #9d7350;
}

/* Optimized Scroll Animations */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
	.fade-in {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ===================================
   BOOKING FLOW STYLES
   =================================== */

/* Booking Step Transitions */
.booking-step {
	animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Location & Workspace Buttons */
.location-btn,
.workspace-btn {
	transition: all 0.3s ease;
	cursor: pointer;
}

.location-btn:hover,
.workspace-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-btn:active,
.workspace-btn:active {
	transform: translateY(0);
}

/* Time Slot Buttons */
.time-btn {
	transition: all 0.2s ease;
	cursor: pointer;
}

.time-btn:hover {
	transform: scale(1.05);
	border-color: var(--zuno-bronze) !important;
}

/* Step Indicator Animations */
.step-circle {
	transition: all 0.3s ease;
	position: relative;
}

.step-connector {
	transition: background-color 0.3s ease;
}

.step-check {
	stroke-width: 3;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.step-number {
	position: relative;
	z-index: 1;
}

/* Calendar Grid Styling */
#calendarGrid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.5rem;
}

#calendarGrid .col {
	width: 100%;
	padding: 0;
}

#calendarGrid button {
	width: 100%;
	min-height: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	padding: 0.5rem;
	transition: all 0.2s ease;
}

#calendarGrid button:not(:disabled):hover {
	transform: scale(1.05);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#calendarGrid button span {
	display: block;
	line-height: 1.2;
}

#calendarGrid button small {
	font-size: 0.625rem;
	opacity: 0.7;
	line-height: 1;
}

/* Guest Counter Buttons */
#decreaseGuests,
#increaseGuests {
	transition: all 0.2s ease;
}

#decreaseGuests:hover,
#increaseGuests:hover {
	background-color: var(--zuno-bronze) !important;
	color: white;
}

/* Booking Summary Animation */
#bookingSummary {
	animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Confirm Button */
#confirmBooking {
	transition: all 0.3s ease;
}

#confirmBooking:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(184, 138, 100, 0.3);
}

/* Back Button */
.back-btn {
	transition: all 0.2s ease;
	text-decoration: none !important;
}

.back-btn:hover {
	background-color: var(--zuno-cream) !important;
	border-radius: 0.5rem;
}

/* SweetAlert2 Custom Styling */
.swal2-popup {
	font-family: var(--font-sans) !important;
	border-radius: 1.5rem !important;
}

.swal2-title {
	font-family: var(--font-heading) !important;
	color: var(--zuno-text) !important;
}

.swal2-confirm {
	border-radius: 0.75rem !important;
	padding: 0.75rem 1.5rem !important;
	font-weight: 500 !important;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: 1050;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.whatsapp-btn {
	width: 3.5rem;
	height: 3.5rem;
	background-color: #25d366;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	animation: pulse-green 2s infinite;
}

.whatsapp-btn:hover {
	transform: scale(1.1);
	background-color: #20bd5a;
	box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
	color: white;
}

.whatsapp-tooltip {
	background-color: white;
	color: var(--zuno-text);
	padding: 0.5rem 1rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;

	/* Hidden by default */
	opacity: 0;
	visibility: hidden;
	transform: translateX(10px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Show on hover */
.floating-whatsapp:hover .whatsapp-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.whatsapp-tooltip::after {
	content: "";
	position: absolute;
	right: -6px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 0 6px 6px;
	border-color: transparent transparent transparent white;
}

@keyframes pulse-green {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}

@media (max-width: 768px) {
	.floating-whatsapp {
		bottom: 1.5rem;
		right: 1.5rem;
	}
	.whatsapp-btn {
		width: 3rem;
		height: 3rem;
	}
}
