/* Custom CSS for MenuQR */

/* General Styles */
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
}

/* Header & Navigation */
.navbar {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #4a5568 !important;
    padding: 12px 20px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .btn {
    margin-left: 8px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 12px;
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.7) 0%, rgba(25, 135, 84, 0.7) 100%);
    opacity: 0.6;
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #157347 0%, #125b38 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    border: 2px solid #0d6efd;
    color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    border: 1px solid #ced4da;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

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

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Pricing Tables */
.pricing-card {
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    position: relative;
}

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

.pricing-card .card-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    font-size: 1.6rem;
    padding: 30px 0;
    font-weight: 700;
    border: none;
}

.pricing-card.premium .card-header {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
}

.pricing-card.enterprise .card-header {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
}

.pricing-card .card-body {
    padding: 2rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    margin: 25px 0;
    color: #333;
}

.pricing-card .price small {
    font-size: 1.1rem;
    font-weight: 400;
    color: #6c757d;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.pricing-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li.text-muted {
    color: #adb5bd !important;
}

.pricing-card .btn {
    padding: 12px 30px;
    font-weight: 600;
    width: 80%;
    margin: 0 auto;
}

/* Dashboard */
.dashboard-stats {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.dashboard-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #0d6efd, #0a58ca);
}

.dashboard-stats h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
}

.dashboard-stats .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 10px;
}

.dashboard-stats .icon {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.dashboard-stats:hover .icon {
    opacity: 0.5;
    transform: scale(1.1);
}

/* Menu Items */
.menu-item {
    margin-bottom: 30px;
}

.menu-item .card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.menu-item .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.menu-item h5 {
    margin-top: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.menu-item .price {
    color: #198754;
    font-weight: 700;
    font-size: 1.2rem;
}

.menu-item .badge {
    margin-right: 5px;
    padding: 0.5em 0.8em;
    font-weight: 500;
    border-radius: 50px;
}

.menu-item .card-text {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* QR Code */
.qr-code-container {
    text-align: center;
    margin: 30px 0;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.qr-code-container img {
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    margin-top: 80px;
    padding: 60px 0 30px;
    background-color: #212529;
    color: #f8f9fa;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

footer address p {
    margin-bottom: 10px;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
    border-radius: 50px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .pricing-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .dashboard-stats .number {
        font-size: 2rem;
    }
}
