* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-color: #f5f5f5;
}


.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    position: relative;
    padding-bottom: 80px;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    padding: 12px 16px;
}

.header-title-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

img#logo{
    max-width: 40% !important;
}

.restaurant-logo {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.restaurant-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

#google_translate_element {
    margin-top: 8px;
    margin-bottom: 4px;
    text-align: center;
}

#google_translate_element .goog-te-gadget {
    font-size: 0;
}

#google_translate_element .goog-te-gadget-simple {
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff;
}

.cart {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f8f8;
    padding: 8px 15px;
    border-radius: 20px;
}

.cart-amount {
    color: #333;
    font-weight: 600;
}

/* Main Banner Styles */
.main-banner {
    position: relative;
    margin: 20px;
    border-radius: 15px;
    height: 200px;
    overflow: hidden;
    background: #e6f3f5;
}

.slider {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transition: opacity 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    position: absolute;
}

.slide-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 3;
    background: rgba(0,0,0,0.45);
    color: #fff;
    padding: 32px 40px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 32px rgba(0,0,0,0.15);
}

.banner-content h1,
.banner-content p,
.banner-content .discount {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .animate-text {
    animation: fadeInUp 0.5s forwards;
}

.slide.active .animate-text:nth-child(2) {
    animation-delay: 0.2s;
}

.slide.active .animate-text:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: white;
}

/* Categories Styles */
.categories {
    padding: 20px;
    position: relative;
}

.categories h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.category-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.category-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    -webkit-overflow-scrolling: touch;
}

.category-item {
    flex: 0 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.category-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.category-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.category-item span {
    font-size: 14px;
    color: #333;
    text-align: center;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item:hover img {
    transform: scale(1.1);
}

.category-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.nav-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background: #f8f8f8;
}

.nav-btn i {
    color: #666;
    font-size: 12px;
}

.prev-btn {
    left: 5px;
}

.next-btn {
    right: 5px;
}

/* Hide scrollbar */
.category-slider::-webkit-scrollbar {
    display: none;
}

.category-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Recommended Section Styles */
.recommended {
    padding: 20px;
}

.recommended h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.food-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.food-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.food-info {
    padding: 15px;
}

.food-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.food-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.price {
    color: #ff6b6b;
    font-weight: bold;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: #f8f8f8;
    transform: scale(1.1);
}

.favorite-btn.active {
    color: #ff6b6b;
}

.favorite-btn.active:hover {
    background: #fff5f5;
}

.add-to-cart-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ff6b6b;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.add-to-cart-btn:active {
    transform: scale(0.95);
}

/* Footer Styles */
.site-footer {
    width: 100%;
    padding: 16px 12px 12px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.site-footer-card {
    width: min(100%, 760px);
    max-width: 760px;
    align-items: center;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
    border: 1px solid #f2e5e5;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    min-height: auto;
}

.footer-section h4 {
    font-size: 14px;
    margin: 0 0 2px;
    color: #333;
}

.footer-link,
.footer-review-link,
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 0;
    transition: all 0.2s ease;
}

.footer-review-link {
    color: #ff6b6b;
    font-weight: 600;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
}

.social-link {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #f1e2e2;
    color: #5c4b4b;
}

.social-link:hover {
    background: #fff5f5;
    color: #ff6b6b;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .site-footer-card {
        padding: 12px;
    }
}

/* Bottom Navigation Styles */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    gap: 5px;
}

.nav-item.active {
    color: #ff6b6b;
}

.nav-item i {
    font-size: 20px;
}

/* Reviews Section Styles */
.reviews {
    padding: 20px;
    margin-bottom: 80px;
    position: relative;
}

.reviews h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.reviews-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.reviews-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    -webkit-overflow-scrolling: touch;
}

.review-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.reviewer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-content {
    flex: 1;
}

.rating {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 8px;
}

.review-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.review-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 10px;
}

.nav-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background: #f8f8f8;
}

.nav-btn i {
    color: #666;
    font-size: 12px;
}

/* Hide scrollbar */
.reviews-slider::-webkit-scrollbar {
    display: none;
}

.reviews-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f8f8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.form-group textarea {
    height: 100px;
    resize: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    background: white;
    border-radius: 25px 25px 0 0;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 20px;
    margin: 0;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    margin: -5px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

.modal-body {
    padding-bottom: 90px;
}

.modal-body p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-body form {
    position: relative;
    padding-bottom: 70px;
}

/* Submit Button Styles */
.submit-btn {
    width: calc(100% - 40px);
    padding: 15px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    z-index: 10;
}

.submit-btn:hover:not(:disabled) {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.submit-btn:hover:not(:disabled) i {
    transform: translateX(5px);
}

.submit-btn:disabled {
    background: #ffb5b5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loader-container.show {
    opacity: 1;
    visibility: visible;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #ff6b6b;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #ff9b9b;
}

.loader-text {
    margin-top: 15px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    .main-banner .slider,
    .main-banner .slide {
        height: 200px;
    }
    .main-banner .banner-content {
        padding: 16px 10px;
        font-size: 0.95em;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
    min-width: 280px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.notification-content i {
    font-size: 18px;
    flex-shrink: 0;
}

.notification-success .notification-content i {
    color: #4caf50;
}

.notification-error .notification-content i {
    color: #f44336;
}

.notification-info .notification-content i {
    color: #2196f3;
}

.notification-content span {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #666;
    background: #f5f5f5;
}

/* Fade out animation for favorites */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Mobile responsive for notifications */
@media (max-width: 480px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
    }
} 