@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors */
    --cream: #E9E4DA;
    --cream-light: #F7F4EE;
    --cream-surface: #FAF8F5;
    --teal: #324A59;
    --teal-dark: #1E2E38;
    --gold: #C5A66A;
    --gold-light: #DFCA9B;
    --gold-dark: #A48446;
    --burgundy: #6B1634;
    --burgundy-light: #8E234B;
    --burgundy-dark: #4A0E23;
    --burgundy-soft: rgba(107, 22, 52, 0.08);

    /* Neutral System */
    --text-primary: #2B2623;
    --text-secondary: #5C554E;
    --text-muted: #8C8275;
    --text-light: #F7F4EE;

    --bg-page: #F4EFE8;
    --bg-card: #FAF8F5;
    --bg-surface: #FFFFFF;

    --border-color: rgba(107, 22, 52, 0.1);
    --border-color-light: rgba(0, 0, 0, 0.06);
    --border-color-hover: rgba(197, 166, 106, 0.5);

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Elevation & Shadows */
    --shadow-sm: 0 2px 8px rgba(107, 22, 52, 0.04);
    --shadow-md: 0 8px 24px rgba(107, 22, 52, 0.08);
    --shadow-lg: 0 16px 40px rgba(107, 22, 52, 0.12);
    --shadow-hover: 0 12px 32px rgba(107, 22, 52, 0.14);

    /* Radius System */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 9999px;

    /* Transitions & Timings */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE & TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Direction Handling */
body.rtl-page {
    direction: rtl;
    text-align: right;
}

body.ltr-page {
    direction: ltr;
    text-align: left;
}

/* Heading Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h1,
.h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

h2,
.h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3,
.h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

h4,
.h4 {
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
}

h5,
.h5 {
    font-size: 1.15rem;
}

h6,
.h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Global Focus Ring for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(197, 166, 106, 0.25) !important;
}

/* Section Divider */
.divider {
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.25rem auto;
    position: relative;
}

.divider::before {
    content: '◆';
    position: absolute;
    left: 50%;
    top: -9px;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 12px;
    background: transparent;
    padding: 0 6px;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px 0;
    transition: padding var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
    background: transparent;
}

.custom-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 140px;
    height: auto;
    object-fit: contain;
    transition: width var(--transition-base);
}

.custom-navbar .navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.custom-navbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.navbar-nav .nav-link {
    color: #FFFFFF !important;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-pill);
    transition: color var(--transition-fast), background-color var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

/* Scrolled & Subpage States */
.custom-navbar.scrolled,
.custom-navbar.subpage-navbar {
    padding: 12px 0;
    background: rgb(107 14 7 / 28%) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-navbar.scrolled .logo-img,
.custom-navbar.subpage-navbar .logo-img {
    width: 120px;
}

/* Mobile Toggler */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Language Dropdown */
.lang-dropdown .dropdown-toggle {
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-dropdown .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--gold);
    color: #FFFFFF;
}

.lang-dropdown .dropdown-menu {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    margin-top: 8px;
    min-width: 100px;
    animation: fadeInDown 200ms ease-out forwards;
}

.lang-dropdown .dropdown-item {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-dropdown .dropdown-item:hover {
    background: var(--burgundy-soft);
    color: var(--burgundy);
}

.lang-dropdown .dropdown-item.active {
    background: var(--burgundy);
    color: #FFFFFF;
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */
.order-btn,
.hero-btn,
.pre-footer-btn,
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--burgundy);
    color: #FFFFFF !important;
    border: 1px solid var(--burgundy);
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.order-btn:hover,
.hero-btn:hover,
.pre-footer-btn:hover,
.btn-primary-custom:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 166, 106, 0.35);
}

.order-btn:active,
.hero-btn:active,
.pre-footer-btn:active,
.btn-primary-custom:active {
    transform: translateY(0) scale(0.98);
    box-shadow: var(--shadow-sm);
}

.hero-btn {
    padding: 14px 36px;
    font-size: 1.1rem;
}

/* Slider Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(107, 22, 52, 0.85);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    z-index: 10;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background: var(--gold);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(197, 166, 106, 0.4);
}

.prev-btn {
    left: -15px;
}

.next-btn {
    right: -15px;
}

[dir="rtl"] .prev-btn {
    right: -15px;
    left: auto;
}

[dir="rtl"] .next-btn {
    left: -15px;
    right: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 40, 52, 0.5) 0%, rgba(107, 22, 52, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    text-align: center;
    padding: 0 20px;
    background: rgba(15, 23, 28, 0.35);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    animation: fadeInUp 800ms ease-out forwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--cream-light);
    max-width: 680px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 800ms ease-out 200ms forwards;
    opacity: 0;
}

.hero .hero-btn {
    animation: fadeInUp 800ms ease-out 400ms forwards;
    opacity: 0;
}

/* ==========================================================================
   PAGE HERO BANNERS (SUBPAGES)
   ========================================================================== */
.branches-banner,
.story-banner,
.media-banner,
.dish-banner {
    background: linear-gradient(135deg, #E9E4DA 0%, #FAF8F5 100%) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-md) !important;
    transition: transform var(--transition-base);
}

.branches-banner-title,
.story-banner-title,
.media-banner-title,
.dish-banner-title {
    color: var(--burgundy) !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
    line-height: 1.15 !important;
}

/* Banner Illustration Container */
.banner-illustration-content {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth);
}

.banner-illustration-content:hover {
    transform: scale(1.05) rotate(2deg);
}

/* ==========================================================================
   CARD SYSTEM
   ========================================================================== */
.food-section {
    background: var(--bg-page);
}

.food-slider {
    overflow: hidden;
    padding: 10px 4px;
}

.food-track {
    display: flex;
    gap: 24px;
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Food Card */
.food-card {
    min-width: 280px;
    background: var(--teal);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.food-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    background: var(--teal-dark);
    border-color: var(--gold-light);
}

.food-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: transform var(--transition-smooth);
}

.food-card:hover img {
    transform: scale(1.04);
}

.food-card h4 {
    color: var(--cream-light);
    margin-top: 18px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.food-card p {
    color: rgba(247, 244, 238, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Generic Card Standard */
.dish-card,
.discover-card,
.media-card,
.why-card,
.story-content-panel {
    background: var(--bg-card) !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all var(--transition-smooth) !important;
}

.dish-card:hover,
.discover-card:hover,
.why-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: var(--border-color-hover) !important;
}

.dish-image,
.discover-image {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
}

.dish-image img,
.discover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.dish-card:hover .dish-image img,
.discover-card:hover .discover-image img {
    transform: scale(1.06);
}

/* Media Cards */
.media-card-wrap {
    transition: all var(--transition-smooth);
}

.transition-hover {
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth) !important;
}

.transition-hover:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: var(--gold-light) !important;
}

.transition-hover img {
    transition: transform var(--transition-smooth);
}

.transition-hover:hover img {
    transform: scale(1.04);
}

.transition-hover h4 a:hover {
    color: var(--gold) !important;
}

/* Pre-Footer Card */
.pre-footer-section {
    padding: 50px 0 0;
    background: var(--bg-page);
}

.pre-footer-card {
    background: linear-gradient(135deg, var(--cream) 0%, #FAF8F5 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-smooth);
}

.pre-footer-card:hover {
    box-shadow: var(--shadow-lg);
}

.pre-footer-image {
    overflow: hidden;
    height: 100%;
    min-height: 340px;
}

.pre-footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.pre-footer-card:hover .pre-footer-image img {
    transform: scale(1.04);
}

.pre-footer-content {
    padding: 40px;
}

.pre-footer-label {
    display: inline-block;
    color: var(--burgundy);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.pre-footer-content h3 {
    color: var(--burgundy);
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.pre-footer-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ==========================================================================
   FORMS & CONTROLS
   ========================================================================== */
.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    color: var(--text-primary);
    background-color: var(--bg-surface);
    border-color: var(--burgundy);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(107, 22, 52, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.form-group {
    margin-bottom: 1.25rem;
}

.contact-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--burgundy-soft);
    color: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.contact-info:hover .contact-info-icon {
    background: var(--burgundy);
    color: #FFFFFF;
    transform: scale(1.08);
}

.contact-info-content h5 {
    margin-bottom: 4px;
    color: var(--burgundy);
}

.contact-info-content p {
    margin-bottom: 0;
    font-size: 0.92rem;
}

.branch-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    min-width: auto;
    flex-shrink: 0;
}

.branch-tab-btn i {
    font-size: 0.85rem;
    margin-left: 6px;
}

.branch-tab-btn:hover {
    background: var(--burgundy-soft);
    color: var(--burgundy);
}

.branch-tab-btn.active {
    background: var(--burgundy);
    color: #FFFFFF;
}

/* Branches Filters Sidebar */
.branches-filters-sidebar {
    position: sticky;
    top: 140px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding-right: 16px;
    margin-right: -16px;
    scrollbar-width: thin;
}

.branches-filters-sidebar::-webkit-scrollbar {
    width: 6px;
}

.branches-filters-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.branches-filters-sidebar::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--burgundy);
    margin-bottom: 16px;
    position: relative;
}

.filter-group-title:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.filter-checkbox {
    margin-bottom: 12px;
}

.filter-checkbox input[type="checkbox"] {
    accent-color: var(--burgundy);
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-checkbox label {
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
}

/* Branches List */
.branches-list-item {
    transition: all var(--transition-smooth);
}

.branches-list-item:hover {
    background: var(--bg-surface) !important;
    transform: translateX(-4px);
    border-left: 4px solid var(--gold) !important;
}

.branches-list-item.active {
    background: var(--bg-surface) !important;
    border-left: 4px solid var(--burgundy) !important;
}

.branch-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--burgundy-soft);
    color: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.branch-action-btn:hover {
    background: var(--burgundy);
    color: #FFFFFF;
    transform: scale(1.08);
}

/* Branch Details */
.branch-details-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 32px !important;
    margin-bottom: 40px;
}

.branch-details-tabs {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: 8px !important;
    margin-bottom: 32px !important;
    box-shadow: var(--shadow-sm) !important;
}

.branch-details-tabs .nav-link {
    border: none !important;
    color: var(--text-secondary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px !important;
    border-radius: var(--radius-lg) !important;
    transition: all var(--transition-fast) !important;
    margin: 2px !important;
}

.branch-details-tabs .nav-link:hover {
    background: var(--burgundy-soft) !important;
    color: var(--burgundy) !important;
}

.branch-details-tabs .nav-link.active {
    background: var(--burgundy) !important;
    color: #FFFFFF !important;
}

.branch-detail-section {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.branch-detail-section.active {
    display: block;
}

.branch-info-table th {
    color: var(--burgundy);
    font-family: var(--font-heading);
    width: 140px;
}

/* ==========================================================================
   INTERACTIVE TABS & SIDEBARS
   ========================================================================== */
.awafi-top-tabs {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.awafi-top-tabs::-webkit-scrollbar {
    display: none;
}

.awafi-top-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.awafi-top-tab-btn:hover {
    color: var(--burgundy);
    background: var(--burgundy-soft);
}

.awafi-top-tab-btn.active {
    background: var(--burgundy);
    color: #FFFFFF;
    border-color: var(--burgundy);
    box-shadow: var(--shadow-sm);
}

/* Story Sidebar List */
.story-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    margin-bottom: 6px;
    transition: all var(--transition-fast);
}

.story-sidebar-item:hover,
.story-sidebar-item.active {
    background: var(--burgundy-soft);
    color: var(--burgundy);
    transform: translateX(4px);
}

[dir="rtl"] .story-sidebar-item:hover,
[dir="rtl"] .story-sidebar-item.active {
    transform: translateX(-4px);
}

.story-sidebar-item .chevron-icon {
    font-size: 0.8rem;
    transition: transform var(--transition-fast);
}

.story-sidebar-item:hover .chevron-icon {
    transform: translateX(4px);
}

[dir="rtl"] .story-sidebar-item:hover .chevron-icon {
    transform: translateX(-4px) rotate(180deg);
}

/* Group List Item (Awafi) */
.group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    margin-bottom: 6px;
    transition: all var(--transition-fast);
}

.group-item:hover,
.group-item.active {
    background: var(--burgundy-soft);
    color: var(--burgundy);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.restaurant-footer {
    background: var(--teal-dark);
    color: #C9C4B2;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-text {
    max-width: 320px;
    line-height: 1.8;
    color: #A9B0B4;
    font-size: 0.92rem;
}

.footer-title {
    color: #F4EDD4;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #A9B0B4;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

[dir="rtl"] .footer-links a:hover {
    transform: translateX(-4px);
}

.footer-hours p,
.footer-contact p {
    color: #A9B0B4;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.footer-hours span,
.footer-contact a {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-contact a {
    display: block;
    text-decoration: none;
    margin-top: 10px;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: #FFFFFF;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #A9B0B4;
    transition: all var(--transition-fast);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill var(--transition-fast);
}

.social-links a:hover {
    background: var(--gold);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.footer-divider {
    margin: 40px 0 25px;
    border-color: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #A9B0B4;
    font-size: 0.88rem;
    padding: 0;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 0.99;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

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

/* Scroll Reveal Utility Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   RESPONSIVE LAYOUT ADJUSTMENTS
   ========================================================================== */
@media (max-width: 991px) {
    .custom-navbar {
        padding: 14px 0;
    }

    .custom-navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        background: var(--teal-dark);
        padding: 20px;
        margin-top: 10px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .custom-navbar .navbar-collapse.show {
        display: flex !important;
        animation: fadeInDown 250ms ease-out forwards;
    }

    .custom-navbar .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 6px;
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: 10px 16px !important;
    }

    .custom-navbar .navbar-collapse.show>.d-flex {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pre-footer-card {
        grid-template-columns: 1fr;
    }

    .pre-footer-image {
        min-height: 240px;
        max-height: 320px;
    }

    .pre-footer-content {
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    .nav-btn {
        display: none;
    }

    .food-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 15px;
    }

    .food-card {
        scroll-snap-align: start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .contact-wrapper {
        padding: 24px 18px;
    }
}

@media (max-width: 576px) {
    .hero-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .branches-banner,
    .story-banner,
    .media-banner,
    .dish-banner {
        flex-direction: column-reverse;
        text-align: center;
        gap: 16px;
        padding: 24px 16px !important;
    }
}