﻿/* Arabic RTL Styling */
* {
    font-family: 'Cairo', sans-serif;
}

body {
    direction: rtl;
    text-align: right;
    background-color: #f8f9fa;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.3);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-mockup {
    text-align: center;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-icon {
    position: absolute;
    color: #ffc107;
    font-size: 2rem;
    animation: floatIcon 4s ease-in-out infinite;
}

    .floating-icon:nth-child(1) {
        top: 20%;
        right: 10%;
        animation-delay: 0s;
    }

    .floating-icon:nth-child(2) {
        top: 60%;
        left: 15%;
        animation-delay: 1.5s;
    }

    .floating-icon:nth-child(3) {
        bottom: 20%;
        right: 20%;
        animation-delay: 3s;
    }

/* Services Section */
.services-section {
    background-color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 2rem;
}

.service-card h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

    .service-features li {
        padding: 0.5rem 0;
        color: #555;
        position: relative;
        padding-right: 1.5rem;
    }

        .service-features li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: #28a745;
            position: absolute;
            right: 0;
            top: 0.5rem;
        }

.additional-services {
    font-style: italic;
    color: #666;
    margin-top: 2rem;
    font-size: 1.1rem;
}

/* Why Choose Us Section */
.why-us-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

    .why-us-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.2);
    }

    .why-us-section .container {
        position: relative;
        z-index: 2;
    }

.feature-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,0.15);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: #ffc107;
    font-size: 1.8rem;
}

.feature-card h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* Demo Section */
.demo-section {
    background-color: #f8f9fa;
}

.demo-content h2 {
    color: #333;
}

.demo-features {
    margin: 2rem 0;
}

.demo-feature {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #555;
}

.phone-mockup {
    max-width: 300px;
    margin: 0 auto;
    background: #333;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.phone-screen {
    background: white;
    border-radius: 20px;
    padding: 20px;
    min-height: 400px;
}

.menu-header {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

    .menu-header h5 {
        color: #333;
        font-weight: 600;
        margin-bottom: 10px;
    }

.qr-code {
    color: #667eea;
}

.menu-categories {
    space-y: 15px;
}

.category-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
}

    .category-item i {
        color: #667eea;
    }

/* Contact Section */
.contact-section {
    background-color: #ffffff;
}

.contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    }

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.contact-info h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 1rem;
}

/* Footer */
.footer-section {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-brand h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.footer-links h6, .footer-contact h6 {
    color: #ffc107;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

    .footer-links ul li {
        margin-bottom: 0.5rem;
    }

        .footer-links ul li a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-links ul li a:hover {
                color: #ffc107;
            }

.footer-contact p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.footer-divider {
    border-color: rgba(255,255,255,0.2);
    margin: 2rem 0 1rem 0;
}

.copyright {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

/* Navbar Styling */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: #ffc107 !important;
    }

/* Button Styling */
.btn {
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        background: linear-gradient(135deg, #5a6fd8, #6a419a);
    }

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

    .btn-warning:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
        background: linear-gradient(135deg, #e6ac00, #e67e00);
        color: white;
    }

.btn-success {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
        background: linear-gradient(135deg, #20b954, #0f7a6e);
    }

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

    .btn-danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
        background: linear-gradient(135deg, #c82333, #bd2130);
    }

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
}

    .btn-info:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4);
        background: linear-gradient(135deg, #138496, #117a8b);
        color: white;
    }

/* Dashboard Features Section */
.dashboard-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dashboard-feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .dashboard-feature:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

.feature-icon-lg {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 1.8rem;
}

.dashboard-feature h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.dashboard-feature p {
    color: #666;
    line-height: 1.6;
}

.dashboard-showcase {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.showcase-header h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 1rem;
}

.showcase-header p {
    color: #666;
    font-size: 1.1rem;
}

.dashboard-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.feature-highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .feature-highlight:hover {
        background: #e9ecef;
        transform: translateX(-5px);
    }

.feature-highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-highlight-content h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-highlight-content p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Dashboard Preview Styling */
.dashboard-preview {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.dashboard-screen {
    padding: 0;
}

.dashboard-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 20px;
}

.dashboard-logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.dashboard-content {
    padding: 20px;
}

.dashboard-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #333;
    flex: 1;
    min-width: 120px;
}

.dashboard-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .dashboard-actions .btn {
        font-size: 0.8rem;
        padding: 6px 12px;
        border-radius: 15px;
    }

.product-item, .category-item-dash {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    gap: 12px;
    margin-bottom: 8px;
}

.product-image {
    flex-shrink: 0;
}

.image-placeholder {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.product-details {
    flex-grow: 1;
}

    .product-details h6 {
        margin: 0 0 4px 0;
        color: #333;
        font-size: 0.85rem;
    }

    .product-details .price {
        margin: 0;
        color: #28a745;
        font-weight: 600;
        font-size: 0.8rem;
    }

.product-actions {
    flex-shrink: 0;
    display: flex;
    gap: 4px;
}

    .product-actions .btn {
        padding: 4px 8px;
        font-size: 0.7rem;
        min-width: auto;
        border-radius: 8px;
    }

.category-actions {
    flex-shrink: 0;
    display: flex;
    gap: 4px;
}

    .category-actions .btn {
        padding: 4px 8px;
        font-size: 0.7rem;
        min-width: auto;
        border-radius: 8px;
    }

/* Enhanced Phone Mockup */
.menu-header {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.restaurant-logo {
    margin-bottom: 10px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 8px auto;
}

.menu-header h5 {
    color: #333;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.powered-by {
    color: #667eea;
    font-weight: 500;
}

.category-item {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .category-item:hover {
        background: #e9ecef;
    }

    .category-item.active {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
    }

    .category-item i {
        color: inherit;
    }

.featured-product {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-image-small {
    width: 40px;
    height: 40px;
    background: #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info h6 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 0.9rem;
}

.price-tag {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Demo Buttons */
.demo-buttons {
    margin-top: 2rem;
}

    .demo-buttons .btn {
        margin-bottom: 1rem;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 0 1rem 0;
    }

    .demo-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .dashboard-stats {
        flex-direction: column;
        gap: 8px;
    }

    .stat-item {
        min-width: auto;
    }

    .dashboard-header .d-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .dashboard-actions {
        justify-content: center;
    }

    .dashboard-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-highlight {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .product-actions, .category-actions {
        flex-direction: row;
        gap: 4px;
    }

    .dashboard-content {
        padding: 15px;
    }
}

html {
    scroll-behavior: smooth;
}

/* Alert Styling */
.alert {
    border-radius: 10px;
    border: none;
    margin-bottom: 2rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

/* Loading Animation */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Custom Validation */
.field-validation-error {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.input-validation-error {
    border-color: #dc3545 !important;
}

/* Additional Styling */
.text-primary {
    color: #667eea !important;
}

.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Category Management Styles */
.category-list {
    margin-top: 20px;
}

.category-header {
    background: #e9ecef;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.add-product-btn {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 8px;
}

.evaluation-badge {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 5px;
}

.evaluation-section {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 10px;
    border: 1px solid #ffc107;
}

.evaluation-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.evaluation-icon {
    width: 30px;
    height: 30px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.evaluation-title {
    color: #856404;
    font-weight: 600;
    margin: 0;
}

.evaluation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.evaluation-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.evaluation-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.star-rating {
    color: #ffc107;
}

.evaluation-comment {
    color: #666;
    font-size: 0.75rem;
    margin-top: 3px;
}

.no-evaluations {
    color: #856404;
    font-style: italic;
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
}
