/* Custom Font Configurations */
:root {
--font-serif: 'Playfair Display', serif;
--font-display: 'Instrument Serif', serif;
--font-sans: 'Tajawal', 'Arial', 'Helvetica', sans-serif;
--color-paper: #F5F4F0;
--color-ink: #1C1917;
}
body {
font-family: var(--font-sans);
background-color: var(--color-paper);
color: var(--color-ink);
}
.font-serif-display {
font-family: var(--font-display);
}
.font-serif-text {
font-family: var(--font-serif);
}
/* Ken Burns Effect */
@keyframes ken-burns {
0% { transform: scale(1); }
100% { transform: scale(1.1); }
}
.animate-ken-burns {
animation: ken-burns 20s ease-out infinite alternate;
}
/* Fade Up Animation for Scroll */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}

/* AOS Animation Support */
[data-aos] {
    pointer-events: auto;
}
/* Soft Pulse */
@keyframes soft-pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.8; transform: scale(0.98); }
}
.animate-soft-pulse {
animation: soft-pulse 3s infinite ease-in-out;
}
/* Accordion Logic */
details > summary {
list-style: none;
}
details > summary::-webkit-details-marker {
display: none;
}
/* Custom Arbitrary Values for Hero Section */
.tracking-\[0\.2em\] {
    letter-spacing: 0.2em;
}
.bg-stone-900\/50 {
    background-color: rgb(28 25 23 / 0.5);
}
.bg-white\/50 {
    background-color: rgb(255 255 255 / 0.5);
}
.bg-white\/90 {
    background-color: rgb(255 255 255 / 0.9);
}
.border-white\/30 {
    border-color: rgb(255 255 255 / 0.3);
}
.from-stone-900\/50 {
    --tw-gradient-from: rgb(28 25 23 / 0.5);
    --tw-gradient-to: rgb(28 25 23 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-transparent {
    --tw-gradient-to: rgb(0 0 0 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to);
}
.to-stone-900\/80 {
    --tw-gradient-to: rgb(28 25 23 / 0.8);
}

/* Curtain Menu Styles */
#menu-panel {
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
    will-change: transform;
}

#menu-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.1), transparent);
    animation: curtain-top 0.7s ease-out;
}

@keyframes curtain-top {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.menu-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.menu-item:hover {
    transform: translateX(-5px);
}

/* User Profile Animation */
.user-profile-item {
    opacity: 0;
    transform: translateX(-40px);
}

/* User Curtain Menu Styles */
#user-menu-panel {
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.3);
    will-change: transform;
}

#user-menu-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
    animation: user-curtain-top 0.7s ease-out;
}

@keyframes user-curtain-top {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.user-menu-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.user-menu-item:hover {
    transform: translateX(5px);
}

/* Search Modal Styles */
#search-container {
    will-change: transform, opacity;
}

#search-input::placeholder {
    color: rgb(120 113 108);
}

.search-result-item {
    transition: all 0.2s ease-out;
}

.search-result-item:hover {
    transform: translateX(-3px);
}

/* Smooth scrollbar for menu */
#menu-panel::-webkit-scrollbar {
    width: 6px;
}

#menu-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

#menu-panel::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

#menu-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ============================================
    CREATIVE & INNOVATIVE PAGE LOADER
    ============================================ */

.loader-wrapper.creative-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: linear-gradient(135deg, #F5F4F0 0%, #FAF9F6 50%, #F5F4F0 100%);
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    visibility: visible;
    backdrop-filter: blur(0px);
    animation: loaderBackgroundShift 3s ease-in-out infinite;
}

@keyframes loaderBackgroundShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.loader-wrapper.creative-loader.loadedLoader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(0px);
}

/* Split Screen Curtains - Opening from center */
.loader-curtain {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #F5F4F0 0%, #FAF9F6 50%, #F5F4F0 100%);
    background-size: 200% 200%;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
    animation: curtainShimmer 2s ease-in-out infinite;
}

@keyframes curtainShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.loader-curtain-left {
    left: 0;
    transform-origin: left center;
    transform: translateX(0);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.loader-curtain-right {
    right: 0;
    transform-origin: right center;
    transform: translateX(0);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.loader-wrapper.creative-loader.loadedLoader .loader-curtain-left {
    transform: translateX(-100%);
}

.loader-wrapper.creative-loader.loadedLoader .loader-curtain-right {
    transform: translateX(100%);
}

/* Central Content Wrapper */
.loader-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 10;
    opacity: 0;
    animation: contentFadeIn 0.8s ease-out 0.3s forwards;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Logo with Morphing & Glow Effect */
.loader-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo-main {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(28, 25, 23, 0.2));
    animation: logoMorph 2s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

@keyframes logoMorph {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.05) rotate(-1deg);
    }
    50% {
        transform: scale(0.98) rotate(1deg);
    }
    75% {
        transform: scale(1.02) rotate(-0.5deg);
    }
}

.loader-logo-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28, 25, 23, 0.15) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
}

/* Animated Progress Ring */
.loader-progress-ring {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: rgba(28, 25, 23, 0.1);
    stroke-width: 3;
}

.progress-circle {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    animation: progressRing 2s cubic-bezier(0.4, 0, 0.2, 1) forwards, progressGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(28, 25, 23, 0.3));
}

@keyframes progressGlow {
    0%, 100% {
        filter: drop-shadow(0 0 4px rgba(28, 25, 23, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(28, 25, 23, 0.5));
    }
}

@keyframes progressRing {
    0% {
        stroke-dashoffset: 339.292;
    }
    100% {
        stroke-dashoffset: 0;
    }
}


.progress-percentage {
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(28, 25, 23, 0.7);
    letter-spacing: 0.1em;
    animation: percentageCount 2s ease-out forwards;
}

@keyframes percentageCount {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

/* Floating Particles */
.loader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(28, 25, 23, 0.4);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 3s;
}

.particle-2 {
    top: 30%;
    right: 25%;
    animation-delay: 0.5s;
    animation-duration: 3.5s;
}

.particle-3 {
    bottom: 25%;
    left: 30%;
    animation-delay: 1s;
    animation-duration: 4s;
}

.particle-4 {
    bottom: 30%;
    right: 20%;
    animation-delay: 1.5s;
    animation-duration: 3.2s;
}

.particle-5 {
    top: 50%;
    left: 15%;
    animation-delay: 0.8s;
    animation-duration: 3.8s;
}

.particle-6 {
    top: 40%;
    right: 15%;
    animation-delay: 1.2s;
    animation-duration: 3.3s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.7;
    }
    50% {
        transform: translate(-15px, -50px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translate(25px, -20px) scale(1.1);
        opacity: 0.6;
    }
}

/* Wave Effect */
.loader-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg,
        transparent,
        rgba(28, 25, 23, 0.03),
        rgba(28, 25, 23, 0.06),
        rgba(28, 25, 23, 0.03),
        transparent
    );
    clip-path: polygon(0 50%, 100% 30%, 100% 100%, 0% 100%);
    animation: waveMove 2s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0) scaleY(1);
    }
    50% {
        transform: translateX(-20px) scaleY(1.1);
    }
}

/* Legacy support for old loader classes */
.loadProgress {
    display: none;
}

.lineStyle {
    display: none;
}

/* Option 2: Full Screen with Logo & Spinner (uncomment loader-content in HTML to use) */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    height: 100%;
}

.loader-logo-img {
    animation: logoFadeIn 0.8s ease-out 0.3s forwards;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.loader-spinner {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.spinner-ring {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(28, 25, 23, 0.6);
    animation: spinnerBounce 1.4s ease-in-out infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes spinnerBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Option 3: Curtain Effect (alternative style) */
.loader-wrapper.curtain-style {
    background: linear-gradient(135deg, rgba(245, 244, 240, 0.98), rgba(250, 249, 246, 0.98));
}

.loader-wrapper.curtain-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(28, 25, 23, 0.05), transparent);
    animation: curtainSweep 2s ease-in-out infinite;
}

@keyframes curtainSweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Option 4: Minimalist Dot Pulse */
.loader-wrapper.minimalist .loadProgress {
    height: 2px;
    background: transparent;
}

.loader-wrapper.minimalist .lineStyle {
    background: linear-gradient(90deg,
        transparent,
        rgba(28, 25, 23, 0.4),
        rgba(28, 25, 23, 0.8),
        rgba(28, 25, 23, 0.4),
        transparent
    );
    animation: minimalProgress 1.2s ease-out forwards;
}

@keyframes minimalProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Marquee/Scrolling Text Animation for Promotion Banner */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}

.promotion-marquee {
    display: flex;
    width: fit-content;
    animation: marquee 20s linear infinite;
    will-change: transform;
    white-space: nowrap;
}

.promotion-marquee:hover {
    animation-play-state: paused;
}

/* Restaurant Spotlight Section */
.restaurant-spotlight {
    padding: 80px 24px;
    position: relative;
}

.restaurant-spotlight .container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.restaurant-spotlight .content {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.restaurant-spotlight .text-fluid-70 {
    font-size: clamp(2.5rem, 5vw, 4.375rem);
    line-height: 1.1;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    font-family: var(--font-sans);
}

.restaurant-spotlight .text-leading-20 {
    line-height: 1.25;
}

.restaurant-spotlight .mb-30 {
    margin-bottom: 30px;
}

.restaurant-spotlight .restaurant-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.restaurant-spotlight .restaurant-text p {
    margin: 0;
}

.restaurant-spotlight .see-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.restaurant-spotlight .see-all-link:hover {
    opacity: 0.7;
}

.restaurant-spotlight .see-all-link svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.restaurant-spotlight .pictures {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    align-items: start;
    min-width: 300px;
    max-width: 700px;
    margin-left: auto;
    position: relative;
    padding-bottom: 30px;
}

.restaurant-spotlight .picture-wrapper {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
}

.restaurant-spotlight .picture-wrapper:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
}

.restaurant-spotlight .picture-wrapper:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    position: relative;
}

.restaurant-spotlight .picture-wrapper:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    position: absolute;
    bottom: 20px;
    left: -25%;
    width: 80%;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.restaurant-spotlight .picture-wrapper-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.restaurant-spotlight .picture-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.restaurant-spotlight .picture-wrapper:hover img {
    transform: scale(1.05);
}

.restaurant-spotlight .picture-wrapper:first-child .picture-wrapper-inner {
    transform: translateY(0px);
}

.restaurant-spotlight .picture-wrapper:nth-child(2) .picture-wrapper-inner {
    transform: translateY(0px);
}

.restaurant-spotlight .picture-wrapper:nth-child(3) .picture-wrapper-inner {
    transform: translateY(0px);
}

.restaurant-spotlight .t-40 {
    margin-top: 40px;
}

.restaurant-spotlight .fade {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
    .restaurant-spotlight {
        padding: 60px 16px;
    }

    .restaurant-spotlight .container {
        flex-direction: column;
        gap: 40px;
    }

    .restaurant-spotlight .content {
        max-width: 100%;
    }

    .restaurant-spotlight .pictures {
        max-width: 100%;
        margin-left: 0;
    }

    .restaurant-spotlight .picture-wrapper:first-child,
    .restaurant-spotlight .picture-wrapper:nth-child(2),
    .restaurant-spotlight .picture-wrapper:nth-child(3) {
        max-width: 100%;
        align-self: stretch;
    }
}

/* Video Products Swiper Styles */
.video-products-swiper {
    padding: 0;
}

.video-products-swiper .swiper-slide {
    height: auto;
}

/* Slide-up Details Card Styles */
.carousel-product-card-slide {
    transition: all 0.3s ease;
    border-radius: 2.5rem;
    border: 1px solid rgba(28, 25, 23, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.carousel-product-card-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(28, 25, 23, 0.15);
}

.carousel-product-card-slide .p-4 {
    min-height: 100px;
}

.swiper-button-prev-video,
.swiper-button-next-video {
    position: static;
    margin-top: 0;
    width: 40px;
    height: 40px;
}

.video-products-swiper .swiper-wrapper {
    margin-bottom: 0;
    align-items: center;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .restaurant-spotlight .container {
        gap: 40px;
    }

    .restaurant-spotlight .pictures {
        gap: 12px;
    }
}

