/* =============================================
   Restaurant Light Theme
   Elegant light with deep red accents
   ============================================= */

:root {
    --rl-red: #B91C1C;
    --rl-red-dark: #991B1B;
    --rl-red-light: #DC2626;
    --rl-dark: #1A1A1A;
    --rl-darker: #111111;
    --rl-white: #FFFFFF;
    --rl-cream: #FAF7F2;
    --rl-gray: #6B7280;
    --rl-light-gray: #F3F4F6;
    --rl-border: #E5E7EB;
    --theme-accent: #B91C1C;
}

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

body.theme-restaurant-light {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--rl-white);
    color: var(--rl-dark);
    overflow-x: hidden;
}

/* ---- NAVIGATION ---- */
.rl-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rl-border);
    padding: 0 50px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rl-nav .logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--rl-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rl-nav .logo span {
    color: var(--rl-red);
}

.rl-nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.rl-nav-links a {
    color: var(--rl-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.rl-nav-links a:hover,
.rl-nav-links a.active {
    color: var(--rl-red);
}

.rl-nav .btn-book {
    background: var(--rl-red);
    color: var(--rl-white);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.rl-nav .btn-book:hover {
    background: var(--rl-red-dark);
}

/* ---- HERO SECTION ---- */
.rl-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 60px 60px;
    background: var(--rl-cream);
    position: relative;
}

.rl-hero-content {
    flex: 1;
    max-width: 520px;
    z-index: 2;
}

.rl-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--rl-dark);
}

.rl-hero-content h1 em {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    font-style: italic;
    color: var(--rl-red);
}

.rl-hero-content p {
    color: var(--rl-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.rl-hero-buttons {
    display: flex;
    gap: 15px;
}

.rl-hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.rl-hero-img img {
    max-width: 480px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ---- BUTTONS ---- */
.btn-rl {
    display: inline-block;
    background: var(--rl-red);
    color: var(--rl-white);
    padding: 13px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid var(--rl-red);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-rl:hover {
    background: var(--rl-red-dark);
    border-color: var(--rl-red-dark);
    color: var(--rl-white);
}

.btn-rl-outline {
    display: inline-block;
    background: transparent;
    color: var(--rl-dark);
    padding: 13px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid var(--rl-dark);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-rl-outline:hover {
    background: var(--rl-dark);
    color: var(--rl-white);
}

/* ---- SECTION STYLES ---- */
.rl-section {
    padding: 80px 60px;
}

.rl-section-cream {
    background: var(--rl-cream);
}

.rl-section-dark {
    background: var(--rl-dark);
    color: var(--rl-white);
}

.rl-section-red {
    background: var(--rl-red);
    color: var(--rl-white);
}

.rl-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rl-section-subtitle {
    text-align: center;
    color: var(--rl-gray);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.rl-section-dark .rl-section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ---- ABOUT GRID ---- */
.rl-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.rl-about-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
}

.rl-about-text {
    background: var(--rl-dark);
    color: var(--rl-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
}

.rl-about-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.rl-about-text p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ---- MENU GRID ---- */
.rl-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.rl-menu-card {
    background: var(--rl-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--rl-border);
    transition: all 0.3s;
}

.rl-section-dark .rl-menu-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.rl-menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(185, 28, 28, 0.1);
}

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

.rl-menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

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

.rl-menu-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.rl-menu-card-body .desc {
    color: var(--rl-gray);
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.rl-section-dark .rl-menu-card-body .desc {
    color: rgba(255,255,255,0.6);
}

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

.rl-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--rl-red);
}

.rl-section-dark .rl-price {
    color: var(--rl-red-light);
}

.rl-btn-add {
    background: var(--rl-red);
    color: var(--rl-white);
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.rl-btn-add:hover {
    background: var(--rl-red-dark);
}

/* ---- SPECIAL DISH ---- */
.rl-special {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.rl-special-img {
    flex: 1;
}

.rl-special-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.rl-special-text {
    flex: 1;
}

.rl-special-text .tag {
    color: var(--rl-red);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-style: italic;
}

.rl-special-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 10px;
}

.rl-special-text .price-tag {
    font-size: 2rem;
    font-weight: 900;
    color: var(--rl-red);
    margin-bottom: 15px;
}

.rl-special-text p {
    color: var(--rl-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ---- CTA NEWSLETTER ---- */
.rl-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.rl-cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.rl-newsletter {
    display: flex;
    gap: 10px;
    max-width: 450px;
    margin: 0 auto 15px;
}

.rl-newsletter input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: var(--rl-white);
    border-radius: 6px;
    font-size: 0.95rem;
}

.rl-newsletter input:focus {
    outline: none;
    border-color: var(--rl-white);
}

.rl-newsletter input::placeholder {
    color: rgba(255,255,255,0.6);
}

.rl-newsletter button {
    padding: 12px 24px;
    background: var(--rl-white);
    color: var(--rl-red);
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
}

.rl-newsletter button:hover {
    background: var(--rl-cream);
}

/* ---- FOOTER ---- */
.rl-footer {
    background: var(--rl-darker);
    color: var(--rl-white);
    padding: 60px;
    border-top: 3px solid var(--rl-red);
}

.rl-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.rl-footer h4 {
    color: var(--rl-red-light);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.rl-footer p, .rl-footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    line-height: 2;
    font-size: 0.9rem;
}

.rl-footer a:hover {
    color: var(--rl-red-light);
}

.rl-footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--rl-white);
}

.rl-footer-logo span {
    color: var(--rl-red-light);
}

.rl-footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ---- PAGE HEADER ---- */
.rl-page-header {
    padding: 130px 60px 50px;
    text-align: center;
    background: var(--rl-cream);
    border-bottom: 3px solid var(--rl-red);
}

.rl-page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rl-dark);
}

.rl-page-header p {
    color: var(--rl-gray);
    margin-top: 10px;
    font-size: 1rem;
}

/* ---- CONTACT FORM ---- */
.rl-form-group {
    margin-bottom: 20px;
}

.rl-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--rl-dark);
}

.rl-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--rl-border);
    border-radius: 6px;
    background: var(--rl-white);
    color: var(--rl-dark);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.rl-input:focus {
    outline: none;
    border-color: var(--rl-red);
}

textarea.rl-input {
    min-height: 140px;
    resize: vertical;
}

/* ---- ABOUT FEATURES ---- */
.rl-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.rl-feature-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--rl-white);
    border-radius: 12px;
    border: 1px solid var(--rl-border);
    transition: all 0.3s;
}

.rl-feature-card:hover {
    box-shadow: 0 10px 30px rgba(185, 28, 28, 0.08);
}

.rl-feature-card .icon {
    font-size: 2.2rem;
    color: var(--rl-red);
    margin-bottom: 15px;
}

.rl-feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--rl-dark);
}

.rl-feature-card p {
    color: var(--rl-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---- MOBILE ---- */
.rl-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.rl-hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--rl-dark);
    border-radius: 2px;
}

@media (max-width: 992px) {
    .rl-hero {
        flex-direction: column;
        padding: 100px 30px 40px;
        text-align: center;
    }
    .rl-hero-content h1 { font-size: 2.5rem; }
    .rl-hero-buttons { justify-content: center; }
    .rl-hero-img img { max-width: 350px; margin-top: 30px; }
    .rl-section { padding: 60px 30px; }
    .rl-about-grid { grid-template-columns: 1fr; }
    .rl-menu-grid { grid-template-columns: 1fr 1fr; }
    .rl-special { flex-direction: column; gap: 30px; }
    .rl-footer-grid { grid-template-columns: 1fr 1fr; }
    .rl-features { grid-template-columns: 1fr; }
    .rl-hamburger { display: flex; }
    .rl-nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--rl-white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 2px solid var(--rl-red);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    .rl-nav-links.open { display: flex; }
}

@media (max-width: 576px) {
    .rl-hero-content h1 { font-size: 2rem; }
    .rl-section { padding: 40px 20px; }
    .rl-menu-grid { grid-template-columns: 1fr; }
    .rl-page-header { padding: 110px 20px 40px; }
    .rl-page-header h1 { font-size: 2rem; }
    .rl-footer { padding: 40px 20px; }
    .rl-footer-grid { grid-template-columns: 1fr; }
    .rl-nav { padding: 0 20px; }
}

/* ---- INNER PAGES (Basket, Checkout, Account, Auth) ---- */
.theme-inner-page {
    min-height: 60vh;
    padding-top: 100px;
    padding-bottom: 40px;
}
.theme-inner-page h1,
.theme-inner-page h2,
.theme-inner-page h3,
.theme-inner-page h4,
.theme-inner-page h5,
.theme-inner-page h6 { color: var(--rl-dark); }
.theme-inner-page .card {
    background: var(--rl-white);
    color: var(--rl-dark);
    border: 1px solid var(--rl-border);
    border-radius: 10px;
}
.theme-inner-page .card-header {
    background: var(--rl-light-gray);
    color: var(--rl-dark);
    border-bottom: 1px solid var(--rl-border);
}
.theme-inner-page .table { color: var(--rl-dark); }
.theme-inner-page .table th { color: var(--rl-gray); }
.theme-inner-page .form-label { color: var(--rl-dark); }
.theme-inner-page .form-control,
.theme-inner-page .form-select {
    background: var(--rl-white);
    color: var(--rl-dark);
    border-color: var(--rl-border);
}
.theme-inner-page .form-control:focus,
.theme-inner-page .form-select:focus {
    border-color: var(--rl-red);
    box-shadow: 0 0 0 0.2rem rgba(185,28,28,0.15);
}
.theme-inner-page .alert { border-radius: 8px; }
.theme-inner-page .btn-success { background: var(--rl-red); border-color: var(--rl-red); color: #fff; }
.theme-inner-page .btn-success:hover { background: var(--rl-red-dark); border-color: var(--rl-red-dark); }
.theme-inner-page .btn-primary { background: var(--rl-red); border-color: var(--rl-red); color: #fff; }
.theme-inner-page .btn-primary:hover { background: var(--rl-red-dark); border-color: var(--rl-red-dark); }
.theme-inner-page .btn-dark { background: var(--rl-dark); border-color: var(--rl-dark); }
.theme-inner-page .btn-dark:hover { background: var(--rl-red); border-color: var(--rl-red); }
.theme-inner-page .list-group-item { background: var(--rl-white); color: var(--rl-dark); }
.theme-inner-page a:not(.btn) { color: var(--rl-red); }
.theme-inner-page .text-muted { color: var(--rl-gray) !important; }

/* ---- MENU TABLE STYLE (Traditional Restaurant Line Layout) ---- */
.rl-menu-table {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
}
.rl-menu-row {
    border-bottom: 1px solid var(--rl-border);
    padding: 12px 0 8px;
    transition: background 0.15s;
}
.rl-menu-row:hover {
    background: rgba(185,28,28,0.02);
    border-radius: 6px;
    padding-left: 10px;
    padding-right: 10px;
}
.rl-menu-row:last-child {
    border-bottom: none;
}
.rl-menu-row-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: nowrap;
    line-height: 1.6;
}
.rl-row-num {
    font-weight: 700;
    color: var(--rl-red);
    min-width: 28px;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.rl-row-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--rl-dark);
    white-space: nowrap;
    flex-shrink: 0;
}
.rl-row-spice {
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(185,28,28,0.06);
}
.rl-spice-mild { color: #4caf50; background: rgba(76,175,80,0.1); }
.rl-spice-medium { color: #ff9800; background: rgba(255,152,0,0.1); }
.rl-spice-hot { color: #f44336; background: rgba(244,67,54,0.1); }
.rl-spice-very_hot { color: #d50000; background: rgba(213,0,0,0.12); }
.rl-row-allergens {
    display: inline-flex;
    gap: 3px;
    flex-shrink: 0;
}
.rl-allergen-dot {
    font-size: 0.85rem;
    cursor: help;
    opacity: 0.85;
}
.rl-row-dots {
    flex: 1;
    border-bottom: 2px dotted rgba(0,0,0,0.12);
    min-width: 20px;
    margin-bottom: 4px;
}
.rl-row-price {
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--rl-red);
    white-space: nowrap;
    flex-shrink: 0;
}
.rl-row-add {
    flex-shrink: 0;
    background: var(--rl-red);
    color: #fff;
    border: none;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    line-height: 1.6;
}
.rl-row-add:hover {
    background: #a11d1d;
    transform: scale(1.05);
    color: #fff;
    text-decoration: none;
}
.rl-menu-row-desc {
    font-size: 0.82rem;
    color: var(--rl-gray);
    padding: 2px 0 4px 28px;
    font-style: italic;
    line-height: 1.5;
}
/* On dark sections (home page) */
.rl-section-dark .rl-menu-row {
    border-bottom-color: rgba(255,255,255,0.1);
}
.rl-section-dark .rl-menu-row:hover {
    background: rgba(255,255,255,0.03);
}
.rl-section-dark .rl-row-name {
    color: var(--rl-white);
}
.rl-section-dark .rl-row-dots {
    border-bottom-color: rgba(255,255,255,0.15);
}
.rl-section-dark .rl-menu-row-desc {
    color: rgba(255,255,255,0.6);
}
.rl-section-dark .rl-row-price {
    color: var(--rl-red-light);
}
.rl-section-dark .rl-row-num {
    color: var(--rl-red-light);
}
@media (max-width: 768px) {
    .rl-menu-row-main {
        flex-wrap: wrap;
    }
    .rl-row-dots {
        display: none;
    }
    .rl-row-price {
        margin-left: auto;
    }
    .rl-row-add {
        margin-left: 8px;
    }
    .rl-menu-row-desc {
        padding-left: 0;
    }
}
