@import url('https://fonts.googleapis.com/css2?family=Playball&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
	--brand-green: #fff8f2; /* light warm background */
	--brand-red:   #ce0000; /* user requested red */
	--brand-yellow: #f2b705; /* mustard yellow for CTAs */
	--brand-gold:  #eab75a; /* softer gold */
	--black:       #222222;
	--white:       #ffffff;
	--text-color:  #333333;
	--max-width:   1200px;
	--header-height: 72px;
	--welcome-bg: url("../images/Hero-image.jpg");
}

body {
	margin: 0;
	padding: 0;
	color: var(--text-color);
	font-size: 14px;
	line-height: 22px;
	font-family: 'Poppins', sans-serif;
	background-color: var(--brand-green);
	overflow-x: hidden;
	padding-top: var(--header-height);
}

p {
	color: var(--text-color);
}

p:last-child {
	margin-bottom: 0px;
}

button:focus,
button:active {
	box-shadow: none !important;
}

/* Navbar / Header */
header {
	background: transparent;
	border-bottom: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background-color 240ms ease, border-bottom 240ms ease, box-shadow 240ms ease, padding 240ms ease;
}

header.scrolled {
	background-color: rgba(255,255,255,0.96);
	border-bottom: 1px solid rgba(0,0,0,0.06);
	box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

header.scrolled .navbar {
	padding: 0.25rem 0;
}

header.scrolled .navbar .navbar-brand img {
	height: 42px;
}

.navbar {
	padding: 0.7rem 0;
}

.navbar .navbar-brand img {
	height: 50px;
	width: auto;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.navbar .navbar-brand img:hover {
	transform: scale(1.1);
}

@media (max-width: 768px) {
	.navbar .navbar-brand img {
		height: 40px;
	}
}

.navbar-nav .nav-link {
	color: var(--text-color);
	font-weight: 500;
	padding: 0.5rem 0.9rem;
	letter-spacing: 0.3px;
	font-family: 'Poppins', sans-serif;
	transition: transform 0.2s ease, color 0.2s ease;
}

.navbar-nav .nav-link:hover {
	transform: scale(1.05);
	color: var(--brand-red);
}

.navbar-toggler {
	border-color: var(--brand-red) !important;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' fill='%23333333' class='bi bi-list' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991px) {
	#mainNav {
		background: rgba(255, 255, 255, 0.97);
		padding: 12px;
		border-radius: 8px;
		position: absolute;
		left: 12px;
		right: 12px;
		top: calc(var(--header-height) + 8px);
		z-index: 10001;
	}

	/* Ensure the collapsed Bootstrap nav is hidden by default on mobile */
	#mainNav.collapse { display: none !important; }
	#mainNav.collapse.show { display: block !important; }
}

.order-now-top {
	background: var(--brand-red);
	color: var(--white);
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 700;
	border: none;
	text-decoration: none;
	font-family: 'Poppins', sans-serif;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-now-top:hover {
	background: var(--brand-gold);
	color: var(--text-color);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Top-nav Order Now pill to match offers/menu buttons */
.navbar .order-now-top,
.order-now-top {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255,80,80,1), var(--brand-red));
	color: var(--white) !important;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(206,0,0,0.12);
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.navbar .order-now-top:hover,
.order-now-top:hover {
	background: var(--brand-gold) !important;
	color: var(--text-color) !important;
	transform: translateY(-2px);
	box-shadow: 0 18px 36px rgba(206,0,0,0.14);
}

.social-icons {
	display: none !important;
}

.section {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* Welcome / Hero */
#welcome {
	background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), var(--welcome-bg);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 140px 20px;
	text-align: center;
	overflow: hidden;
	position: relative;
	max-width: none;
	margin: 0;
}

#welcome .container {
	padding: 120px 20px;
	max-width: var(--max-width);
}

.hero-ctas {
	display: inline-flex;
	gap: 12px;
	justify-content: center;
	align-items: center;
}

#welcome h1 {
	color: var(--brand-red);
	font-size: clamp(2.0rem, 4.2vw, 3.4rem);
	text-transform: uppercase;
	font-weight: 700;
	position: relative;
	animation: parallaxText 20s linear infinite alternate;
	text-shadow: 0 1px 6px rgba(255,255,255,0.08);
}

#welcome p {
	color: var(--brand-red);
	margin-top: 18px;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 1s forwards 0.3s;
	text-shadow: 0 1px 6px rgba(255,255,255,0.08);
}

.welcome-order {
	display: block;
	margin-top: 22px;
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--brand-red);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 1s forwards 0.6s;
	text-decoration: none;
	position: relative;
	z-index: 2;
}

.welcome-order:hover {
	color: var(--white);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* About */
#about {
	background: #fff7ee;
	color: var(--text-color);
	padding: 70px 20px;
	text-align: center;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 1s forwards 0.9s;
}

#about h2 {
	color: var(--brand-red) !important;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	margin-bottom: 22px;
	text-transform: uppercase;
	font-weight: 700;
}

#about .about-text {
	max-width: 920px;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.8;
}

/* Offers */
#offers {
	background: var(--brand-green);
	color: var(--text-color);
	padding: 70px 20px;
	text-align: center;
	opacity: 0;
	transform: translateY(40px);
	animation: fadeInUp 1s forwards 1.2s;
}

#offers h2 {
	color: var(--brand-red) !important;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	margin-bottom: 10px;
	text-transform: uppercase;
	font-weight: 700;
}

#offers p {
	font-size: 1.05rem;
	margin: 8px 0 0;
	color: var(--text-color);
}

#offers .btn-order {
	margin-top: 20px;
	display: inline-block;
	background: var(--brand-red);
	color: var(--white);
	border: none;
	padding: 12px 26px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

#offers .btn-order:hover {
	background: var(--brand-gold);
	color: var(--text-color);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Offers card look: white card with a thin red bar at the top and subtle hover zoom */
#offers .section {
	background: #ffffff;
	border-radius: 12px;
	padding: 44px 28px;
	max-width: 760px;
	margin: 12px auto;
	position: relative;
	box-shadow: 0 8px 30px rgba(0,0,0,0.06);
	overflow: hidden;
	transition: transform 220ms ease, box-shadow 220ms ease;
}

#offers .section::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 20px;
	right: 20px;
	height: 6px;
	background: var(--brand-red);
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(206,0,0,0.12);
}

/* very small zoom on hover */
#offers:hover .section {
	transform: scale(1.01);
	box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* make ORDER NOW a pill button matching the design */
#offers .btn-order {
	border-radius: 28px;
	padding: 12px 36px;
	background: linear-gradient(180deg, rgba(255,80,80,1), var(--brand-red));
	box-shadow: 0 18px 36px rgba(206,0,0,0.12);
	font-weight: 700;
}

#offers .btn-order:hover {
	box-shadow: 0 22px 46px rgba(206,0,0,0.14);
}

/* Footer */
footer {
	background: #000000; /* user requested */
	color: var(--white); /* make footer text white */
	padding: 60px 20px;
}

/* Keep footer headings red as requested */
footer h5 {
	color: var(--brand-red) !important;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 14px;
}

.phone-link {
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
}

.phone-link:hover {
	color: var(--brand-gold);
}

.footer-social a {
	color: var(--white);
	margin-right: 12px;
	font-size: 1.4rem;
	transition: transform 0.3s ease, color 0.3s ease;
	text-decoration: none;
}

.footer-social a:hover {
	transform: scale(1.2) rotate(10deg);
	color: var(--brand-gold);
}

/* Ensure plain footer paragraphs and address lines are white */
footer p,
footer .col-lg-4 p,
footer address,
footer .widget-contact,
footer .widget-contact p {
	color: var(--white) !important;
}

/* Floating Call Button */
.call-now {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-red);
    color: var(--white);
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(206,0,0,0.18);
    
    /* Animation */
    animation: fastShakePulse 2s ease-in-out infinite;
    
    /* MOBILE FIXES START HERE */
    will-change: transform;          /* Tells mobile browsers to prepare for movement */
    -webkit-backface-visibility: hidden; /* Fixes flickering on iPhones */
    transform: translateZ(0);       /* Forces the phone's GPU to handle the animation */
    /* MOBILE FIXES END HERE */

    transition: transform 0.2s ease;
}

@keyframes fastShakePulse {
    0%, 60% { transform: scale(1) rotate(0deg); }
    65% { transform: scale(1.1) rotate(5deg); }
    70% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
    80% { transform: scale(1.1) rotate(-5deg); }
    85% { transform: scale(1.1) rotate(5deg); }
    90% { transform: scale(1.1) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Stops shaking when you hover so it's easier to click */
.call-now:hover {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* Mobile sticky Offers button visible only on small screens */
.mobile-offers {
	display: none; /* hidden by default */
	position: fixed;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1300;
	background: var(--brand-red);
	color: var(--white);
	padding: 10px 16px;
	border-radius: 0 8px 8px 0;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 26px rgba(206,0,0,0.14);
}

.mobile-offers:hover {
	background: var(--brand-gold);
	color: var(--text-color);
	transform: translateY(-50%);
}

@media (max-width: 767px) {
	.mobile-offers { display: inline-block; }
	/* Adjust hero CTAs on mobile to stack nicely */
	.hero-ctas { flex-direction: column; gap: 10px; }
	.hero-ctas .order-now-top { width: 220px; max-width: 86vw; }
}

/* Mobile-specific nav link colour (show white links inside mobile menu) */
@media (max-width: 991px) {
	#mainNav .nav-link {
		/*color: #ffffff !important;*/
	}
	/* ensure nav-item hover remains visible on dark background */
	#mainNav .nav-link:hover { color: var(--brand-gold) !important; }
}

/* Make the mobile-offers vertical and read bottom-to-top */
.mobile-offers {
	display: none; /* hidden by default; shown in mobile media query above */
	position: fixed;
	left: 8px;
	top: 50%;
	transform: translateY(-50%) rotate(180deg); /* rotate so text reads bottom->top */
	z-index: 1300;
	background: var(--brand-red);
	color: var(--white);
	height: 240px;
	width: 44px;
	padding: 8px 6px;
	border-radius: 0 8px 8px 0;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 26px rgba(206,0,0,0.14);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	writing-mode: vertical-rl;
	text-orientation: mixed;
}
.scroll-text {
    white-space: nowrap !important;
    display: block;
    width: 100%;
	text-align: center;    /* Centers the text string within that width */
    line-height: 32px;     /* Adjust this to match your font height for perfect centering */
    margin: 0 auto;
}

.mobile-offers:hover {
	background: var(--brand-gold);
	color: var(--text-color);
	transform: translateY(-50%) rotate(180deg);
}

@keyframes pulseEnhanced {
	0% { box-shadow: 0 0 0 0 rgba(206,0,0,0.24); }
	50% { box-shadow: 0 0 28px 12px rgba(206,0,0,0.18); }
	100% { box-shadow: 0 0 0 0 rgba(206,0,0,0.0); }
}

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

@keyframes parallaxText {
	0% { transform: translateX(0); }
	50% { transform: translateX(5%); }
	100% { transform: translateX(0); }
}

html {
	scroll-behavior: smooth;
}

body::before {
	content: '';
	position: fixed;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 70%);
	animation: rotateBg 60s linear infinite;
	pointer-events: none;
	z-index: 0;
}

@keyframes rotateBg {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Menu page scoped styles */
.menu-page {
	--brand-green: #1E3D2D;
	--brand-gold: #C0A020;
	--black: #000000;
	--white: #ffffff;
	margin: 0;
	background-color: var(--black);
	color: var(--white);
	font-family: 'Cormorant Garamond', serif;
	text-align: center;
	padding: 60px 20px;
}

.menu-page h1 {
	color: var(--brand-gold);
	text-transform: uppercase;
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 10px;
	font-weight: 700;
}

.menu-page p {
	color: var(--white);
	font-size: 1.1rem;
	margin-bottom: 40px;
}

.menu-page .button-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 40px;
}

.menu-page .btn {
	display: inline-block;
	padding: 12px 36px;
	border-radius: 28px;
	font-weight: 700;
	text-decoration: none;
	color: var(--white);
	background: linear-gradient(180deg, rgba(255,80,80,1), var(--brand-red));
	transition: all 0.25s ease;
	letter-spacing: 0.5px;
	box-shadow: 0 18px 36px rgba(206,0,0,0.12);
}

.menu-page .btn:hover {
	background: var(--brand-gold);
	color: var(--text-color);
	box-shadow: 0 22px 46px rgba(206,0,0,0.14);
}

.menu-page .menu-section {
	max-width: 900px;
	margin: 0 auto;
}

.menu-page .menu-section img {
	width: 100%;
	height: auto;
	border: 3px solid var(--brand-gold);
	border-radius: 10px;
	margin-bottom: 30px;
	box-shadow: 0 0 10px rgba(192,160,32,0.4);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-page .menu-section img:hover {
	transform: scale(1.02);
	box-shadow: 0 0 20px rgba(192,160,32,0.7);
}

/* Mobile fallback */
@media (max-width: 767px) {
	#welcome {
		background-attachment: scroll;
		padding: 100px 18px;
	}
	:root {
		--header-height: 64px;
	}
	body {
		padding-top: var(--header-height);
	}
}
