/*
 * Ruan Thongthip Bistro - Tour-Friendly Restaurant CSS Design System
 * Palette: Deep Crimson (#991b1b) & Warm Gold (#d97706)
 */

/* --- Core Design Tokens --- */
:root {
    --primary-color: #991b1b;
    --primary-hover: #7f1d1d;
    --accent-color: #d97706;
    --accent-hover: #b45309;
    --dark-bg: #111827;
    --light-bg: #fffbeb; /* very warm soft cream tint */
    --light-bg-red: #fef2f2; /* soft rose tint */
    --card-bg: #ffffff;
    --dark-text: #1f2937;
    --light-text: #4b5563;
    --border-color: #e5e7eb;
    --gold-light: #fef3c7;
    --gold-dark: #78350f;
    --success-green: #15803d;
    --gradient-gold: linear-gradient(135deg, #f59e0b, #d97706);
    --gradient-crimson: linear-gradient(135deg, #b91c1c, #991b1b);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Prompt', 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: #fafaf9;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-accent { color: var(--accent-color); }
.text-success { color: var(--success-green); }

.section-title {
    margin-bottom: 48px;
}

.section-title .sub-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 8px;
    display: inline-block;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    gap: 8px;
    text-align: center;
}

.btn-accent {
    background: var(--gradient-gold);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-crimson);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #e5e7eb;
    color: var(--dark-text);
}

.btn-secondary:hover {
    background: #d1d5db;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-md {
    padding: 12px 24px;
    font-size: 1rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

.btn-full-width {
    width: 100%;
}

.btn-icon-only {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

/* --- Header & Navigation --- */
.restaurant-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(153, 27, 27, 0.1);
    transition: var(--transition-fast);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    font-size: 1.35rem;
    color: var(--accent-color);
}

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

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--light-text);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

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

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

.nav-link:hover {
    color: var(--primary-color);
}

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

.lang-switch {
    background: none;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--transition-fast);
}

.lang-switch:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.active-lang {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- Mobile Menu Drawer --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 150;
    padding: 40px 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.mobile-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-text);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-lang-switch {
    align-self: flex-start;
    margin-bottom: 20px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 120;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* --- Hero Section --- */
.hero-section {
    padding: 80px 0;
    background: radial-gradient(circle at top right, rgba(254, 243, 199, 0.4), transparent);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content .badge {
    background: var(--gold-light);
    color: var(--gold-dark);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8125rem;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.0625rem;
    color: var(--light-text);
    margin-bottom: 36px;
    text-align: justify;
}

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

.hero-visual {
    position: relative;
}

.visual-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid #ffffff;
}

.visual-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.visual-wrapper:hover .visual-img {
    transform: scale(1.03);
}

.partner-incentive-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 5px solid var(--accent-color);
}

.partner-incentive-badge i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: var(--gold-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--light-text);
    text-transform: uppercase;
}

.badge-text {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* --- Facilities Section --- */
.facilities-section {
    padding: 80px 0;
    background-color: var(--light-bg-red);
}

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

.facility-item {
    background: var(--card-bg);
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(153, 27, 27, 0.2);
}

.facility-item .icon-box {
    width: 56px;
    height: 56px;
    background: var(--light-bg);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.facility-item:hover .icon-box {
    background: var(--primary-color);
    color: #ffffff;
}

.facility-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.facility-item p {
    font-size: 0.875rem;
    color: var(--light-text);
}

/* --- Set Menus Section --- */
.menus-section {
    padding: 80px 0;
}

.menus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.menu-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.menu-card.popular {
    border: 3px solid var(--accent-color);
}

.popular-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-gold);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 10;
}

.menu-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.price-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(153, 27, 27, 0.9);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.75rem;
    padding: 6px 16px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.price-badge .unit {
    font-size: 0.875rem;
    font-weight: 400;
}

.menu-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-content h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
}

.menu-content p {
    color: var(--light-text);
    font-size: 0.9375rem;
    margin-bottom: 24px;
    flex-grow: 1;
    text-align: justify;
}

.menu-amenities {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.menu-amenities span {
    font-size: 0.8125rem;
    font-weight: 600;
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--light-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.menu-amenities span i {
    color: var(--primary-color);
}

/* --- Guide Portal Section --- */
.partner-portal-section {
    padding: 80px 0;
    background: #fcfbf7;
}

.portal-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.portal-info .tag-accent {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 12px;
}

.portal-info h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.portal-info p {
    color: var(--light-text);
    margin-bottom: 30px;
}

.benefits-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefits-checklist div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
}

.benefits-checklist div i {
    color: var(--success-green);
    font-size: 1.125rem;
}

.portal-form-card, .portal-dashboard-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.portal-form-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 700;
}

/* --- User Logged In Dashboard --- */
.user-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    background: var(--gold-light);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.user-profile-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
}

.profile-meta {
    font-size: 0.8125rem;
    color: var(--light-text);
    font-weight: 500;
}

.dashboard-hr {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid var(--border-color);
}

.dashboard-status-box {
    background: var(--light-bg);
    border-left: 4px solid var(--accent-color);
    padding: 16px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 24px;
}

.dashboard-status-box .status-title {
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 4px;
}

.dashboard-status-box p {
    font-size: 0.875rem;
    color: var(--light-text);
}

/* --- Pre-ordering Booking Engine Area --- */
.booking-section {
    padding: 80px 0;
}

.lock-wrapper-container {
    position: relative;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 250, 249, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.lock-overlay-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 480px;
}

.lock-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.lock-overlay-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.lock-overlay-content p {
    color: var(--light-text);
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
}

.booking-inputs-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.booking-inputs-panel h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 700;
}

/* --- Forms & Inputs --- */
.input-form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group, .input-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label, .input-form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input, 
.form-group select, 
.form-group textarea,
.input-form-group input,
.input-form-group select,
.input-form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--dark-text);
    background-color: #fafafa;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.input-form-group input:focus,
.input-form-group select:focus,
.input-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.15);
}

/* --- Dietary Checkbox Tile Grid --- */
.dietary-checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dietary-tile-label {
    cursor: pointer;
    position: relative;
}

.dietary-tile-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dietary-tile-content {
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.tile-icon {
    font-size: 1.5rem;
    color: var(--light-text);
    transition: var(--transition-fast);
}

.tile-details strong {
    display: block;
    font-size: 0.875rem;
    color: var(--dark-text);
}

.tile-details span {
    font-size: 0.75rem;
    color: var(--light-text);
}

/* Checked states styling */
.dietary-tile-label input:checked + .dietary-tile-content {
    background: var(--light-bg);
    border-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.1);
}

.dietary-tile-label input:checked + .dietary-tile-content .tile-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* --- Pricing Summary Panel --- */
.booking-summary-panel {
    position: sticky;
    top: 104px;
    height: fit-content;
}

.summary-card {
    background: var(--gradient-crimson);
    color: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.summary-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.summary-sub {
    font-size: 0.8125rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 24px;
}

.summary-lines {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
}

.summary-line.text-accent .line-lbl, 
.summary-line.text-accent .line-val {
    color: #fef08a; /* soft yellow-gold highlight text */
    font-weight: 600;
}

.driver-meal-bonus {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid #f59e0b;
    margin-top: 8px;
}

.driver-meal-bonus i {
    color: #f59e0b;
}

.summary-hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 8px 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.total-lbl {
    font-size: 1rem;
    font-weight: 700;
}

.total-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: #fef08a;
}

/* --- Kitchen slip (Voucher Card) Layout --- */
.voucher-preview-section {
    padding: 80px 0;
    background: #f3f4f6;
    border-top: 1px solid var(--border-color);
}

.voucher-wrapper-preview {
    max-width: 800px;
    margin: 0 auto;
}

.voucher-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 48px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Tear Line Design */
.voucher-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background-image: radial-gradient(circle, transparent, transparent 50%, #ffffff 50%, #ffffff 100%), 
                      radial-gradient(circle, #f3f4f6, #f3f4f6 50%, transparent 50%, transparent 100%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px;
}

.voucher-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    align-items: flex-start;
}

.brand-address h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.brand-address .sub {
    display: block;
    font-size: 0.75rem;
    color: var(--light-text);
}

.doc-meta {
    text-align: right;
}

.doc-meta h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.doc-meta span {
    font-size: 0.8125rem;
    color: var(--light-text);
}

.status-badge-wrapper {
    margin-top: 6px;
    display: block;
}

.status-badge {
    background: var(--light-bg);
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.voucher-hr {
    border: 0;
    border-top: 1px dashed var(--border-color);
    margin: 24px 0;
}

/* Live Countdown Tracker style */
.eta-tracker-banner {
    background: #fffbeb;
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.eta-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    animation: pulseClock 2s infinite ease-in-out;
}

@keyframes pulseClock {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.eta-tracker-banner strong {
    font-size: 0.875rem;
    color: var(--gold-dark);
    display: block;
}

.countdown-clock {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary-color);
}

.guest-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.detail-block small {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--light-text);
    margin-bottom: 4px;
    font-weight: 700;
}

.detail-block h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 2px;
}

.detail-block .sub-text {
    font-size: 0.875rem;
    color: var(--light-text);
}

/* Voucher items table */
.voucher-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.voucher-table th {
    border-bottom: 2px solid var(--primary-color);
    padding: 12px 8px;
    font-size: 0.8125rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
}

.voucher-table td {
    padding: 16px 8px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375rem;
}

.voucher-table tr:last-child td {
    border-bottom: 1px solid var(--primary-color);
}

.voucher-total-box {
    margin-left: auto;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.voucher-total-box .total-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--light-text);
}

.voucher-total-box .total-line.text-accent {
    color: var(--primary-color);
    font-weight: 600;
}

.grand-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--dark-text);
}

.grand-total-line .total-val {
    font-size: 1.6rem;
    color: var(--primary-color);
}

/* Signature & QR codes */
.voucher-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    align-items: flex-end;
}

.stamp-box {
    border: 3px double #d1d5db;
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.125rem;
    color: #9ca3af;
    transform: rotate(-3deg);
    margin-bottom: 8px;
}

.stamp-box.approved {
    border-color: var(--success-green);
    color: var(--success-green);
    transform: rotate(-5deg);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}

.stamp-icon {
    font-size: 1.25rem;
}

.signature-box small {
    display: block;
    font-size: 0.75rem;
    color: var(--light-text);
}

.qr-code-box {
    text-align: right;
}

.qr-code-box small {
    display: block;
    font-size: 0.75rem;
    color: var(--light-text);
    margin-bottom: 6px;
}

.qr-mock {
    width: 80px;
    height: 80px;
    background: #f3f4f6;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-icon {
    font-size: 2.5rem;
    color: var(--dark-text);
}

.voucher-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

/* --- Testimonials --- */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--light-text);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
    text-align: justify;
}

.testimonial-card .author h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 2px;
}

.testimonial-card .author .role {
    font-size: 0.8125rem;
    color: var(--light-text);
    font-weight: 500;
}

/* --- Contact & Partner Contract Form --- */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-bg-red);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* --- Footer --- */
.restaurant-footer {
    background-color: var(--dark-bg);
    color: #ffffff;
    padding: 48px 0;
}

.footer-content p {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    opacity: 1;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    z-index: 90;
    transition: var(--transition-smooth);
}

.back-to-top.show {
    right: 30px;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* --- Success Dialog Modal --- */
.modal-overlay-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay-custom.open {
    display: flex;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 40px;
}

.modal-success-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    object-fit: contain;
}

.modal-body h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.modal-body p {
    font-size: 0.875rem;
    color: var(--light-text);
    text-align: justify;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .visual-img {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .menus-grid, .portal-wrapper, .booking-wrapper, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    .booking-summary-panel {
        position: relative;
        top: 0;
    }
    .guest-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .voucher-header {
        flex-direction: column;
        gap: 16px;
    }
    .doc-meta {
        text-align: left;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .voucher-card {
        padding: 24px;
    }
    .voucher-footer {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .qr-code-box {
        text-align: center;
    }
    .qr-mock {
        margin: 0 auto;
    }
}

/* --- Print View Modifiers --- */
@media print {
    body {
        background: #ffffff;
        color: #000000;
        font-size: 12pt;
    }

    /* Hide everything except printArea */
    header, footer, nav, button, section:not(.voucher-preview-section), 
    .voucher-actions, #backToTop, .eta-tracker-banner, .status-badge-wrapper {
        display: none !important;
    }

    .voucher-preview-section {
        padding: 0 !important;
        background: #ffffff !important;
        border: none !important;
    }

    .voucher-wrapper-preview {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .voucher-card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    .voucher-card::after {
        display: none !important;
    }

    .voucher-table th {
        border-bottom: 2px solid #000000 !important;
        color: #000000 !important;
    }

    .voucher-table td {
        border-bottom: 1px solid #000000 !important;
    }

    .voucher-total-box .total-val, .grand-total-line .total-val {
        color: #000000 !important;
    }

    .stamp-box.approved {
        border-color: #000000 !important;
        color: #000000 !important;
    }
}
