﻿/* ===========================================
   RestaurantPro - Main Stylesheet
   =========================================== */

:root {
    --primary-red: #dc3545;
    --red-dark: #b02a37;
    --red-soft: #ff6b6b;
    --red-muted: rgba(220, 53, 69, 0.08);
    --bg-light: #f8f9fa;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 12px 32px rgba(220, 53, 69, 0.18);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: #1a1a2e;
    background: #fff;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-main);
    font-weight: 700;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

/* ===== NAVBAR ===== */
.rms-navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    padding: 14px 0;
    transition: var(--transition);
    z-index: 1050;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    margin-right: 10px;
}

.brand-text {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}

.brand-accent {
    color: var(--primary-red);
}

.rms-navbar .nav-link {
    font-weight: 600;
    font-size: 14px;
    color: #374151 !important;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: var(--transition);
}

    .rms-navbar .nav-link:hover,
    .rms-navbar .nav-link.active {
        color: var(--primary-red) !important;
        background: var(--red-muted);
    }

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(220,53,69,0.15) 0%, transparent 70%);
        border-radius: 50%;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255,107,107,0.08) 0%, transparent 70%);
        border-radius: 50%;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220,53,69,0.15);
    border: 1px solid rgba(220,53,69,0.3);
    color: var(--red-soft);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    margin-top:6px !important;
    backdrop-filter: blur(8px);
}

    .hero-badge .pulse-dot {
        width: 8px;
        height: 8px;
        background: var(--red-soft);
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

    .hero-title .highlight {
        background: linear-gradient(90deg, var(--primary-red), var(--red-soft));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-main);
    line-height: 1;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-dashboard-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

    .dot.red {
        background: #ff5f57;
    }

    .dot.yellow {
        background: #ffbd2e;
    }

    .dot.green {
        background: #28ca41;
    }

.dashboard-title-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-left: 8px;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.metric-card {
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.metric-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}

.metric-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-main);
}

    .metric-value.red {
        color: var(--red-soft);
    }

    .metric-value.green {
        color: #4ade80;
    }

.chart-bar-container {
    margin-top: 8px;
}

.chart-label {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
}

.chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, var(--primary-red), var(--red-soft));
    opacity: 0.7;
    animation: barGrow 1.5s ease forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.floating-badge {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatUp 3s ease-in-out infinite;
}

    .floating-badge.badge-1 {
        top: -20px;
        right: 30px;
    }

    .floating-badge.badge-2 {
        bottom: 30px;
        left: -20px;
        animation-delay: 1.5s;
    }

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ===== SECTION STYLES ===== */
.section-badge {
    display: inline-block;
    background: var(--red-muted);
    color: var(--primary-red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: var(--border-radius);
    padding: 28px 24px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-red), var(--red-soft));
        transform: scaleX(0);
        transition: var(--transition);
    }

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--card-shadow-hover);
        border-color: rgba(220,53,69,0.15);
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--red-muted);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-red);
    margin-bottom: 18px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
    background: var(--primary-red);
    color: white;
    transform: scale(1.08);
}

.feature-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
    background: #fff;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--border-radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

    .pricing-card.popular {
        border-color: var(--primary-red);
        box-shadow: 0 0 0 4px rgba(220,53,69,0.06), var(--card-shadow-hover);
        transform: scale(1.04);
    }

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 50px;
    white-space: nowrap;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a2e;
    font-family: var(--font-main);
    line-height: 1;
}

    .plan-price sup {
        font-size: 1.2rem;
        vertical-align: super;
        font-weight: 600;
    }

    .plan-price sub {
        font-size: 0.9rem;
        font-weight: 400;
        color: #9ca3af;
        vertical-align: baseline;
    }

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

    .plan-features-list li {
        padding: 8px 0;
        font-size: 0.9rem;
        color: #374151;
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

        .plan-features-list li:last-child {
            border-bottom: none;
        }

        .plan-features-list li i {
            color: #22c55e;
            font-size: 14px;
            flex-shrink: 0;
        }

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 28px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
    height: 100%;
}

    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--card-shadow-hover);
    }

.testimonial-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 0.92rem;
    color: #374151;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 16px;
    font-family: var(--font-main);
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a2e;
}

.author-role {
    font-size: 12px;
    color: #9ca3af;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(220,53,69,0.2) 0%, transparent 70%);
        border-radius: 50%;
    }

/* ===== PAGE HEADER BANNER ===== */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

   

    .page-header h1 {
        color: #fff;
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .page-header p {
        color: rgba(255,255,255,0.6);
        font-size: 1rem;
    }

.page-breadcrumb .breadcrumb-item a {
    color: var(--red-soft);
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item.active {
    color: rgba(255,255,255,0.5);
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.3);
}

/* ===== FORM STYLES ===== */
.rms-form-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.form-control, .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
    background: #fafafa;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-red);
        box-shadow: 0 0 0 4px rgba(220,53,69,0.08);
        background: #fff;
    }

.btn-rms-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--red-dark));
    border: none;
    color: white;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 12px;
    transition: var(--transition);
    font-family: var(--font-main);
}

    .btn-rms-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(220,53,69,0.35);
        color: white;
    }

/* ===== SUCCESS / ERROR ALERTS ===== */
.alert-rms {
    border-radius: 12px;
    border: none;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 14px;
}

/* ===== ABOUT PAGE ===== */
.value-card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
    height: 100%;
}

    .value-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--card-shadow-hover);
    }

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--red-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-red);
    margin: 0 auto 16px;
}

/* ===== FEATURES PAGE ===== */
.feature-detail-block {
    padding: 60px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

    .feature-detail-block:last-child {
        border-bottom: none;
    }

.feature-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--red-muted);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-red);
    margin-bottom: 24px;
}

.feature-checklist {
    list-style: none;
    padding: 0;
}

    .feature-checklist li {
        padding: 8px 0;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 0.95rem;
        color: #374151;
    }

        .feature-checklist li i {
            color: var(--primary-red);
            font-size: 16px;
            flex-shrink: 0;
            margin-top: 2px;
        }

.feature-screen-mock {
    background: #1a1a2e;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ===== STATS COUNTER SECTION ===== */
.stats-section {
    background: var(--primary-red);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-main);
    line-height: 1;
}

.stat-unit {
    font-size: 1.2rem;
}

.stat-label {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* ===== FOOTER ===== */
.rms-footer {
    background: #0d0d1a;
    color: rgba(255,255,255,0.7);
}

.footer-brand {
    display: flex;
    align-items: center;
}

    .footer-brand .brand-text {
        color: #fff;
    }

.footer-desc {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 10px;
}

    .social-links a {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.07);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.6);
        text-decoration: none;
        transition: var(--transition);
        font-size: 15px;
    }

        .social-links a:hover {
            background: var(--primary-red);
            color: white;
        }

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
        font-size: 12px !important;
    }

    .footer-links a {
        color: rgba(255,255,255,0.5);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: var(--red-soft);
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}


@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .nav-actions {
        margin-top: 16px;
    }
}

@media (max-width: 576px) {
    .rms-form-card {
        padding: 24px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }
}
