/* ========================================
   BLOOM BAKERY — Main Stylesheet
   ======================================== */

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sage: #BFC8B8;
    --olive: #73806A;
    --beige: #DDBA86;
    --cream: #F5F1E8;
    --caramel: #A7774F;
    --sand: #DFC89B;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --text: #3D3D3D;
    --text-light: #6B6B6B;
    --text-muted: #999999;
    --bg: #FDFBF7;
    --bg-alt: #F5F1E8;
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 24px rgba(0,0,0,0.06);
    --card-shadow-hover: 0 12px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --container: 1200px;
    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.loading {
    overflow: hidden;
}

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

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

ul { list-style: none; }

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    outline: none;
}

input {
    font-family: inherit;
    outline: none;
    border: none;
}

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

.section {
    padding: 100px 0;
}

/* === Loading Screen === */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-flourish {
    font-size: 48px;
    margin-bottom: 16px;
    animation: loaderBounce 1s ease infinite;
}

.loader-text {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--olive);
    margin-bottom: 24px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(115, 128, 106, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar-fill {
    width: 0;
    height: 100%;
    background: var(--olive);
    border-radius: 3px;
    animation: loaderFill 1.5s ease forwards;
}

@keyframes loaderBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    height: 70px;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--olive);
}

.logo-accent {
    color: var(--caramel);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--olive);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--olive);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.icon-btn:hover {
    background: rgba(115, 128, 106, 0.1);
    color: var(--olive);
}

.icon-moon { display: none; }

body.dark .icon-sun { display: none; }
body.dark .icon-moon { display: block; }

.nav-cta {
    display: inline-flex;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    z-index: 10;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius);
    padding: 12px 28px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

.btn-primary {
    background: var(--olive);
    color: var(--white);
    border-color: var(--olive);
}

.btn-primary:hover {
    background: #627159;
    border-color: #627159;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(115, 128, 106, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--olive);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.65) 0%, rgba(26,26,26,0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title em {
    font-style: italic;
    color: var(--sand);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--white);
    animation: scrollLine 1.5s ease infinite;
}

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 150%; }
}

/* === Section Headers === */
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title em {
    font-style: italic;
    color: var(--caramel);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* === Our Story === */
.story {
    background: var(--bg);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.story-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--sand);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: -1;
}

.story-content .section-tag {
    text-align: left;
}

.story-content .section-title {
    text-align: left;
}

.story-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.story-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(115, 128, 106, 0.15);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--olive);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* === Featured Menu === */
.menu {
    background: var(--bg-alt);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.menu-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.menu-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.08);
}

.menu-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--caramel);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.menu-card-body {
    padding: 20px;
}

.menu-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.menu-card-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-card-price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--olive);
}

/* === Order System === */
.menu-card-price-row {
    margin-bottom: 12px;
}

.qty-row {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-alt);
    border-radius: 50px;
    border: 1px solid rgba(115, 128, 106, 0.15);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--olive);
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
    user-select: none;
}

.qty-btn:hover {
    background: var(--olive);
    color: var(--white);
}

.qty-btn:active {
    transform: scale(0.9);
}

.qty-value {
    width: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    font-family: var(--font-body);
}

.menu-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-order:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-order:active {
    transform: translateY(0);
}

.btn-order.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-order.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: var(--olive);
    border: 2px solid var(--olive);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-add-cart:hover {
    background: var(--olive);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-add-cart:active {
    transform: translateY(0);
}

.btn-add-cart.added {
    background: var(--olive);
    color: var(--white);
    border-color: var(--olive);
}

/* === Floating Cart Button === */
.cart-float {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--olive);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(115, 128, 106, 0.4);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cart-float:hover {
    background: #627159;
    transform: scale(1.08);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--caramel);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--bg);
    transition: var(--transition);
    transform: scale(0);
}

.cart-count.visible {
    transform: scale(1);
}

.cart-count.bump {
    animation: cartBump 0.3s ease;
}

@keyframes cartBump {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* === Cart Sidebar === */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: var(--card-bg);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 30px rgba(0,0,0,0.12);
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cart-sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
}

.cart-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-light);
    border-radius: 50%;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
}

.cart-close-btn:hover {
    background: var(--bg-alt);
    color: var(--black);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    color: var(--text-muted);
}

.cart-empty p {
    font-size: 15px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    transition: var(--transition);
}

.cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 13px;
    color: var(--olive);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--card-bg);
    border-radius: 50px;
    border: 1px solid rgba(115, 128, 106, 0.15);
    flex-shrink: 0;
}

.cart-item-qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--olive);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
}

.cart-item-qty-btn:hover {
    background: var(--olive);
    color: var(--white);
}

.cart-item-qty {
    width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.cart-sidebar-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cart-total-row span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.cart-total-amount {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--olive);
}

.btn-order-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* === Cart Overlay === */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.cart-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* === Toast === */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--olive);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.toast.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* === Order Modal === */
.order-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.order-modal.active {
    opacity: 1;
    visibility: visible;
}

.order-modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: var(--transition);
}

.order-modal.active .order-modal-content {
    transform: scale(1);
}

.order-modal-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #25D366, #1da851);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.order-modal-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.order-modal-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.order-modal-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--bg-alt);
    border-top-color: var(--olive);
    border-radius: 50%;
    margin: 0 auto;
    animation: btnSpin 0.8s linear infinite;
}

/* === Why Choose Us === */
.features {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--card-bg);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--sage), var(--olive));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* === Gallery === */
.gallery {
    background: var(--bg-alt);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--white);
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.1);
}

/* === Testimonials === */
.testimonials {
    background: var(--bg);
}

.testimonials-slider {
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 0 20px;
    text-align: center;
}

.testimonial-stars {
    color: var(--beige);
    font-size: 18px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sage);
}

.testimonial-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--black);
}

.testimonial-role {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive);
    transition: var(--transition);
}

.testimonial-btn:hover {
    background: var(--olive);
    border-color: var(--olive);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--olive);
    width: 24px;
    border-radius: 4px;
}

/* === Special Offers === */
.offers {
    background: var(--bg-alt);
}

.offer-card {
    background: linear-gradient(135deg, var(--olive) 0%, #5a6b52 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.offer-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.offer-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: fit-content;
    border: 1px solid rgba(255,255,255,0.2);
}

.offer-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.offer-title em {
    font-style: italic;
    color: var(--sand);
}

.offer-text {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 28px;
}

.offer-timer {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 12px 16px;
    min-width: 70px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.timer-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.timer-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 4px;
}

.offer-image {
    position: relative;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === FAQ === */
.faq {
    background: var(--bg);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: var(--card-shadow-hover);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--olive);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--olive);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* === Contact === */
.contact {
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--sage), var(--olive));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    min-height: 380px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: var(--sage);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
}

/* === Footer === */
.footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--olive);
    border-color: var(--olive);
    color: var(--white);
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    border-color: var(--olive);
    background: rgba(255,255,255,0.12);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--olive);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(115, 128, 106, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #627159;
    transform: translateY(-4px);
}

/* === Chat Widget === */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--olive);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(115, 128, 106, 0.4);
    transition: var(--transition);
    position: relative;
    z-index: 10;
}

.chat-toggle:hover {
    background: #627159;
    transform: scale(1.05);
}

.chat-icon-close { display: none; }

.chat-widget.open .chat-icon-open { display: none; }
.chat-widget.open .chat-icon-close { display: block; }

.chat-box {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 360px;
    height: 500px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
}

.chat-widget.open .chat-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: var(--olive);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chat-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.chat-status {
    display: block;
    font-size: 11px;
    opacity: 0.8;
}

.chat-close-btn {
    color: var(--white);
    font-size: 24px;
    opacity: 0.8;
    transition: var(--transition);
}

.chat-close-btn:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.bot .chat-bubble {
    background: var(--bg-alt);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
    background: var(--olive);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 14px;
}

.chat-typing span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.2s ease infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chat-quick-actions {
    padding: 8px 16px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.quick-btn {
    padding: 6px 12px;
    background: var(--bg-alt);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--olive);
    transition: var(--transition);
    border: 1px solid transparent;
}

.quick-btn:hover {
    background: var(--olive);
    color: var(--white);
}

.chat-input {
    display: flex;
    padding: 12px 16px;
    gap: 8px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text);
}

.chat-input input::placeholder {
    color: var(--text-muted);
}

.chat-send {
    width: 40px;
    height: 40px;
    background: var(--olive);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chat-send:hover {
    background: #627159;
}

/* === Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Dark Mode === */
body.dark {
    --bg: #1a1d17;
    --bg-alt: #21241c;
    --card-bg: #272a23;
    --black: #F5F1E8;
    --text: #d4d0c8;
    --text-light: #a8a49c;
    --text-muted: #7a766e;
    --card-shadow: 0 4px 24px rgba(0,0,0,0.2);
    --card-shadow-hover: 0 12px 40px rgba(0,0,0,0.35);
}

body.dark .navbar.scrolled {
    background: rgba(26, 29, 23, 0.95);
}

body.dark .hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.45) 100%);
}

body.dark .menu-card-badge {
    background: var(--caramel);
}

body.dark .chat-bubble.chat-message.bot .chat-bubble {
    background: var(--bg-alt);
}

body.dark .footer {
    background: #111310;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

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

    .offer-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 0;
        transition: var(--transition);
        box-shadow: -4px 0 24px rgba(0,0,0,0.1);
        z-index: 5;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        padding: 14px 0;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: clamp(34px, 8vw, 48px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .story-image img {
        height: 360px;
    }

    .story-stats {
        gap: 24px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item-tall {
        grid-row: span 2;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .offer-content {
        padding: 40px 28px;
    }

    .offer-timer {
        gap: 8px;
    }

    .timer-unit {
        min-width: 60px;
        padding: 10px 12px;
    }

    .timer-number {
        font-size: 22px;
    }

    .chat-box {
        width: calc(100vw - 32px);
        right: -8px;
        height: 450px;
    }

    .testimonial-text {
        font-size: 17px;
    }

    .cart-float {
        bottom: 24px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .story-stats {
        flex-direction: column;
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item-tall,
    .gallery-item-wide {
        grid-row: span 1;
        grid-column: span 1;
    }

    .offer-timer {
        flex-wrap: wrap;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus visible */
:focus-visible {
    outline: 2px solid var(--olive);
    outline-offset: 2px;
}

/* === Arabic / RTL Support === */
.lang-toggle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}

body[dir="rtl"] {
    font-family: 'Cairo', 'Inter', sans-serif;
}

body[dir="rtl"] .hero-title,
body[dir="rtl"] .section-title,
body[dir="rtl"] .offer-title,
body[dir="rtl"] .menu-card-title,
body[dir="rtl"] .feature-title,
body[dir="rtl"] .testimonial-text,
body[dir="rtl"] .faq-question span,
body[dir="rtl"] .footer-links h4,
body[dir="rtl"] .footer-newsletter h4,
body[dir="rtl"] .contact-card h4 {
    font-family: 'Cairo', 'Playfair Display', serif;
}

body[dir="rtl"] .nav-link {
    font-family: 'Cairo', 'Inter', sans-serif;
}

body[dir="rtl"] .story-image-accent {
    right: auto;
    left: -20px;
}

body[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 4px;
}

body[dir="rtl"] .nav-links {
    right: auto;
    left: -100%;
}

body[dir="rtl"] .nav-links.active {
    left: 0;
}

body[dir="rtl"] .back-to-top {
    right: auto;
    left: 24px;
}

body[dir="rtl"] .chat-widget {
    right: auto;
    left: 24px;
}

body[dir="rtl"] .chat-box {
    right: auto;
    left: -8px;
}

body[dir="rtl"] .cart-sidebar {
    right: auto;
    left: -420px;
}

body[dir="rtl"] .cart-sidebar.open {
    left: 0;
}

body[dir="rtl"] .cart-float {
    right: auto;
    left: 24px;
}

body[dir="rtl"] .toast {
    direction: rtl;
}

body[dir="rtl"] .lightbox-close {
    right: auto;
    left: 24px;
}

body[dir="rtl"] .faq-question {
    text-align: right;
}

body[dir="rtl"] .testimonial-text {
    font-style: normal;
}

body[dir="rtl"] .offer-title em {
    font-style: normal;
}

body[dir="rtl"] .section-title em {
    font-style: normal;
}

body[dir="rtl"] .hero-title em {
    font-style: normal;
}

body[dir="rtl"] .chat-message.bot .chat-bubble {
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: 4px;
}

body[dir="rtl"] .chat-message.user .chat-bubble {
    border-bottom-right-radius: var(--radius);
    border-bottom-left-radius: 4px;
}

body[dir="rtl"] .newsletter-form input {
    direction: rtl;
}

body[dir="rtl"] #chatInput {
    direction: rtl;
}

body[dir="rtl"] .timer-label {
    font-family: 'Cairo', sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

body[dir="rtl"] .section-tag {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
}

body[dir="rtl"] .hero-badge {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
}

body[dir="rtl"] .offer-badge {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

/* Print */
@media print {
    .navbar, .back-to-top, .chat-widget, .scroll-indicator, .loader {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }
}
