/*
Theme Name: Tanoor Menu Theme
Theme URI: https://tanoor-hadramout.com
Author: تنور حضرموت
Author URI: https://tanoor-hadramout.com
Description: قالب بسيط وسريع مصمم خصيصاً لقائمة طعام تنور حضرموت - بدون هيدر وفوتر
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tanoor-theme
Tags: restaurant, menu, rtl, arabic, minimal, fast

قالب ووردبريس مخصص لمطعم تنور حضرموت
*/

/* ===== Base Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Root Variables ===== */
:root {
    --tt-primary: #D4AF37;
    --tt-secondary: #8B0000;
    --tt-dark: #1a1a2e;
    --tt-light: #f8f9fa;
    --tt-text: #333;
    --tt-text-light: #666;
    --tt-border: #e0e0e0;
    --tt-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --tt-radius: 12px;
    --tt-transition: all 0.3s ease;
}

/* ===== Typography ===== */
@font-face {
    font-family: 'Cairo';
    src: url('https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hGA-W1M.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    color: var(--tt-text);
    background: var(--tt-light);
    direction: rtl;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove default margins */
body.tanoor-menu-page {
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== Links ===== */
a {
    color: var(--tt-primary);
    text-decoration: none;
    transition: var(--tt-transition);
}

a:hover {
    color: var(--tt-secondary);
}

/* ===== Images ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Selection ===== */
::selection {
    background: var(--tt-primary);
    color: var(--tt-dark);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--tt-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tt-secondary);
}

/* ===== Utility Classes ===== */
.tt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tt-hidden {
    display: none !important;
}

/* ===== WordPress Core Overrides ===== */
.wp-block-group,
.wp-block-columns {
    margin-bottom: 0;
}

/* Hide admin bar on menu page */
body.tanoor-menu-page #wpadminbar {
    display: none !important;
}

body.tanoor-menu-page.admin-bar {
    margin-top: 0 !important;
}

/* ===== Print Styles ===== */
@media print {
    body {
        background: #fff;
    }

    .th-whatsapp-float,
    .th-toolbar-actions {
        display: none !important;
    }
}

/* ===== Accessibility ===== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* ===== Focus Styles ===== */
:focus {
    outline: 2px solid var(--tt-primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--tt-primary);
    outline-offset: 2px;
}