/*
Theme Name: Layali Hookah
Theme URI: https://layalihookah.com
Author: MarketingEnds
Description: One-page block theme for Layali Hookah, premium shisha delivery and home setup in Dubai. Black and gold, Marcellus and Inter, floating WhatsApp button.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: layali
*/

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { -webkit-font-smoothing: antialiased; }
::selection { background: #E3B26B; color: #000; }

/* Eyebrow labels */
.is-style-eyebrow, .layali-eyebrow {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8125rem !important;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold) !important;
}

/* Header */
.layali-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(0, 0, 0, 0.82);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.admin-bar .layali-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .layali-header { top: 46px; } }
.layali-header .wp-block-navigation a:hover { color: var(--wp--preset--color--gold); }
.layali-header .layali-phone a { color: var(--wp--preset--color--gold); text-decoration: none; font-weight: 600; white-space: nowrap; }
.layali-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--black) !important; color: var(--wp--preset--color--sand) !important;
	padding: 2rem 1.5rem;
}
.layali-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.5rem; font-size: 1.25rem; }
@media (max-width: 600px) { .layali-header .layali-phone { display: none; } }

/* Hero */
.layali-hero h1 { max-width: 14ch; margin-left: auto !important; margin-right: auto !important; }
.layali-hero .layali-hero-emblem img { filter: drop-shadow(0 0 28px rgba(227, 178, 107, 0.25)); }

/* Outline button */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--sand);
	border: 1px solid rgba(244, 235, 221, 0.45);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--gold); color: var(--wp--preset--color--gold); background: transparent;
}
.wp-block-button__link { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }

/* Step and feature cards */
.layali-card {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	transition: border-color .25s ease, transform .25s ease;
	height: 100%;
}
.layali-card:hover { border-color: rgba(227, 178, 107, 0.55); transform: translateY(-2px); }
.layali-step-num {
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: 2.75rem !important; line-height: 1 !important;
	color: var(--wp--preset--color--gold) !important;
}

/* Delivery areas */
.layali-area {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	text-align: center;
	transition: border-color .25s ease, background-color .25s ease;
}
.layali-area:hover { border-color: var(--wp--preset--color--gold); background: rgba(227, 178, 107, 0.06); }
.layali-area p::before {
	content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
	background: var(--wp--preset--color--gold); margin-right: 0.6rem; vertical-align: middle;
}

/* Feature rows */
.layali-feature { border-left: 2px solid var(--wp--preset--color--gold); padding-left: 1.25rem; }

/* Rounded media */
.layali-media, .layali-media img { border-radius: 16px; overflow: hidden; }

/* FAQ */
.wp-block-details summary {
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: 1.25rem; color: var(--wp--preset--color--sand);
	cursor: pointer; list-style: none; position: relative; padding-right: 2.5rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
	font-family: var(--wp--preset--font-family--inter); font-weight: 300; font-size: 1.75rem; line-height: 1;
	color: var(--wp--preset--color--gold); transition: transform .2s ease;
}
.wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-details summary:hover { color: var(--wp--preset--color--gold); }
.wp-block-details > :not(summary) { margin-top: 0.75rem; color: var(--wp--preset--color--stone); }

/* Footer */
.layali-footer a { text-decoration: none; }
.layali-footer a:hover { text-decoration: underline; }

/* Floating WhatsApp button */
.layali-wa {
	position: fixed; right: 20px; bottom: 20px; z-index: 99;
	display: inline-flex; align-items: center; gap: 0.6rem;
	height: 56px; padding: 0 1.25rem 0 1rem; border-radius: 999px;
	background: #E3B26B; color: #000 !important; text-decoration: none !important;
	font-family: var(--wp--preset--font-family--inter); font-weight: 600; font-size: 0.9375rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
	transition: transform .2s ease, background-color .2s ease;
}
.layali-wa:hover { transform: translateY(-2px); background: #F4EBDD; }
.layali-wa:focus-visible { outline: 2px solid #F4EBDD; outline-offset: 3px; }
.layali-wa svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 600px) {
	.layali-wa { width: 58px; height: 58px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
	.layali-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* Area pill alignment */
.layali-area { display: flex; align-items: center; justify-content: center; min-height: 64px; }
.layali-area p { margin: 0 !important; line-height: 1.35; }
