/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  
    /* font-family: 'Charm', cursive; */
    font-weight: 700;
}

/* Tangerine font styles */
.tangerine-regular {
    /* font-family: "Tangerine", cursive; */
    font-weight: 400;
    font-style: small;
}

.tangerine-bold {
    /* font-family: "Tangerine", cursive; */
    font-weight: 700;
    font-style: small;
}


body{
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(230, 230, 255, 0.8));

}
/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Hero Banner - Reduced Height */
.resto-hero-banner {
    position: relative;
    height: 300px; /* Reduced from 400px */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    margin-bottom: 30px; /* Reduced from 50px */
}

.resto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.resto-breadcrumb-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px; /* Reduced from 60px */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.resto-breadcrumb {
    display: flex;
    list-style: none;
    padding: 6px 12px; /* Reduced from 8px 16px */
    margin: 0 0 15px 0; /* Reduced from 20px */
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
}

.resto-breadcrumb-item {
    font-size: 0.85rem; /* Slightly smaller */
    font-weight: 500;
}

.resto-breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.6);
}

.resto-breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resto-breadcrumb-item a:hover {
    color: #ff6b6b;
}

.resto-breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.resto-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem; /* Reduced from 3.5rem */
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

/* Overview Container - More Compact */
.resto-overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px; /* Reduced from 60px */
}

.resto-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* Reduced from 30px */
    align-items: start;
}

/* Details Card - Reduced Padding */
.resto-details-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 25px; /* Reduced from 40px */
    height: 100%;
}

.resto-details-header {
    margin-bottom: 15px; /* Reduced from 25px */
}

.resto-details-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem; /* Reduced from 2rem */
    font-weight: 600;
    color: #222;
    margin: 0 0 10px 0; /* Reduced from 15px */
}

.resto-separator {
    height: 3px; /* Reduced from 4px */
    width: 50px; /* Reduced from 60px */
    background: #ff6b6b;
    border-radius: 2px;
}

.resto-description {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem; /* Reduced from 1rem */
    line-height: 1.6; /* Reduced from 1.7 */
    color: #555;
    margin-bottom: 20px; /* Reduced from 30px */
}

/* Info List - More Compact */
.resto-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reduced from 20px */
    margin-bottom: 20px; /* Reduced from 30px */
}

.resto-info-item {
    display: flex;
    align-items: flex-start;
}

.resto-info-icon {
    font-size: 1rem;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex; /* Changed from flex to inline-flex */
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative; /* Added position relative */
    text-align: center; /* Added text-align center */
    line-height: 35px; /* Match the height */
    padding: 0; /* Reset any padding */
}

/* Additional fix for FontAwesome icons if needed */
.resto-info-icon i,
.resto-info-icon .fas,
.resto-info-icon .fa {
    position: absolute; /* Absolutely position the icon */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Perfect centering */
    line-height: 1; /* Reset line height for the icon itself */
}

.resto-info-content {
    display: flex;
    flex-direction: column;
}

.resto-info-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem; /* Reduced from 0.9rem */
    font-weight: 600;
    color: #666;
    margin-bottom: 2px; /* Reduced from 3px */
}

.resto-info-value {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem; /* Reduced from 1rem */
    color: #333;
}

/* Action Buttons - More Compact */
.resto-actions {
    display: flex;
    gap: 10px; /* Reduced from 15px */
}

.resto-action-btn {
    font-family: 'Poppins', sans-serif;
    padding: 10px 20px; /* Reduced from 12px 24px */
    border-radius: 50px;
    font-size: 0.95rem; /* Reduced from 1rem */
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.resto-action-btn i {
    margin-right: 8px;
}

.resto-menu-btn {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.resto-menu-btn:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.resto-order-btn {
    background-color: #ff6b6b;
    color: white;
    border: 1px solid #ff6b6b;
}

.resto-order-btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}

/* Image Card */
.resto-image-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.resto-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.resto-image-card:hover .resto-featured-image {
    transform: scale(1.05);
}

.resto-badge-container {
    position: absolute;
    top: 15px; /* Reduced from 20px */
    right: 15px; /* Reduced from 20px */
    display: flex;
    flex-direction: column;
    gap: 8px; /* Reduced from 10px */
}

.resto-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem; /* Reduced from 0.8rem */
    font-weight: 600;
    padding: 5px 10px; /* Reduced from 6px 12px */
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.resto-badge i {
    margin-right: 4px; /* Reduced from 5px */
}

.resto-badge-featured {
    background-color: #ff6b6b;
    color: white;
}

.resto-badge-rating {
    background-color: #ffd43b;
    color: #333;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px); /* Reduced from 20px */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .resto-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .resto-image-card {
        height: 350px; /* Reduced from 400px */
    }
    
    .resto-hero-title {
        font-size: 2.5rem; /* Reduced from 2.8rem */
    }
}

@media (max-width: 768px) {
    .resto-hero-banner {
        height: 250px; /* Reduced from 300px */
    }
    
    .resto-breadcrumb-wrapper {
        padding: 30px 20px; /* Reduced from 40px */
    }
    
    .resto-hero-title {
        font-size: 2rem; /* Reduced from 2.2rem */
    }
    
    .resto-details-card {
        padding: 20px; /* Reduced from 30px */
    }
    
    .resto-actions {
        flex-direction: column;
    }
    
    .resto-action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resto-hero-title {
        font-size: 1.6rem; /* Reduced from 1.8rem */
    }
    
    .resto-image-card {
        height: 250px; /* Reduced from 300px */
    }
}


/* Modern Promo Banner Styles */
.modern-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 30px;
    border-radius: 15px;
    background: linear-gradient(135deg, #fdfcfc 0%, #e9e9e9 100%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modern-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/subtle-pattern.png') repeat; /* Replace with your pattern */
    opacity: 0.1;
    z-index: -1;
}

.promo-title {
    font-size: 3rem;
    color: #2c3e50; /* Dark, professional color */
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

/* Modern Service Options */
.modern-services {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Modern Service Card */
.modern-service-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    height: 350px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    perspective: 1000px; /* For 3D effect */
}

.modern-service-card:hover {
    transform: translateY(-5px) rotateY(5deg);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.service-image-container {
    height: 200px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.modern-service-card:hover .service-image {
    transform: scale(1.1);
}

.service-description {
    padding: 25px;
    text-align: left;
}

.service-title {
    font-size: 1.75rem;
    color: #2c3e50; /* Accent color */
    margin-bottom: 10px;
    font-weight: bold;
}

.service-info {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7a1f91; /* Accent color */
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

.service-link:hover {
    background-color: #2980b9;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .modern-services {
        gap: 20px;
    }
    .modern-service-card {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .promo-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    .modern-services {
        flex-direction: column;
        align-items: center;
    }
    .modern-service-card {
        width: 90%;
    }
}

        /* Service Section */
        .service-section {
            text-align: center;
            padding: 40px 20px;
            border-radius: 10px;
            background: linear-gradient(to right, #ffffff, #e6e6ff);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.5s ease;
            position: relative;
            overflow: hidden;
        }

        .service-section:hover {
            transform: scale(1.02); /* Scale effect on hover */
        }

        .service-section h3 {
            font-size: 2.5rem;
            color: #3498db; /* Primary color */
            margin-bottom: 20px;
            animation: fadeIn 1s ease forwards; /* Animation */
            opacity: 0; /* Initial opacity */
            animation-delay: 0.2s; /* Delay for staggered effect */
        }

        .service-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px; /* Spacing between items */
            animation: fadeIn 1s ease forwards; /* Animation */
            opacity: 0; /* Initial opacity */
            animation-delay: 0.5s; /* Delay for staggered effect */
        }

        .service-button {
            font-size: 1.5rem;
            color: #3498db; /* Text color */
            padding: 15px 30px;
            border: 2px solid #3498db;
            border-radius: 5px;
            background: transparent;
            cursor: pointer;
            transition: background 0.3s ease, color 0.3s ease;
            position: relative;
            overflow: hidden; /* For animation effect */
            box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
        }

        /* Hover effect for buttons */
        .service-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 300%;
            height: 300%;
            background: rgba(122, 31, 145, 0.3); /* Overlay effect */
            border-radius: 50%;
            transition: width 0.5s ease, height 0.5s ease, top 0.5s ease, left 0.5s ease;
            z-index: 0;
            opacity: 0; /* Initially hidden */
        }

        .service-button:hover::before {
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 1; /* Show overlay on hover */
        }

        .service-button:hover {
            color: #ffffff; /* Change text color on hover */
        }

        /* Fade In Animation */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px); /* Slight upward movement */
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .service-section h3 {
                font-size: 2rem; /* Smaller font size on mobile */
            }

            .service-button {
                font-size: 1.2rem; /* Smaller button text */
                padding: 10px 20px; /* Adjust padding */
            }
        }
        /* Product cards styles */
        .card {
            transition: transform 0.3s;
            border: none;
            border-radius: 10px;
        }
        .card:hover {
            transform: scale(1.05);
        }
        .card-img-top {
            height: 200px;
            object-fit: cover;
            border-radius: 10px 10px 0 0;
        }
        .card-title {
            font-weight: bold;
            color: #6f42c1;
        }
        .card-text {
            color: #555;
        }
        
        /* Dine-in, Takeaway, Delivery Section */
        .service-section {
            background: #f8f9fa;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
            border-radius: 10px;
        }
        .service-section h3 {
            color: #6f42c1;
        }
        .service-buttons {
            margin-top: 10px;
        }
        .service-button {
            margin: 0 10px;
        }

        /* Footer styles */
        footer {
            background: #6f42c1;
            color: white;
            padding: 20px 0;
            position: relative;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .navbar {
                text-align: center;
            }
            .service-section {
                padding: 10px;
            }
            .card-img-top {
                height: 150px;
            }
        }



 .pagination-btn {
            background-color: #3ab0ff;
            padding: 10px 15px; /* More padding for a longer rectangular shape */
            border-radius: 12px; /* Slightly rounded corners */
            margin-right: 10px; /* Adds a gap between buttons (adjust the value as needed) */
        }
        
        .pagination-btn:last-child {
            margin-right: 0; /* Removes the margin for the last button */
        }






    /**************** modal fromo for product cards *****************/

    /* Modal Wrapper */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place for larger screens */
    z-index: 1000; /* Sit on top of everything */
    top: 0; /* Center vertically */
    left: 0; /* Center horizontally */
    transform: translate(-50%, -50%); /* Move to exact center */
    width: 100%;
    max-width: 600px;
    border-radius: 8px; /* Rounded corners */
    padding: 15px;
    height: auto;
    margin-top: -37%;
    overflow: hidden;
    margin-left: 50%;
    align-items: center;
    justify-content: center;
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    height: auto;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    align-self: flex-end;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Select Box */
select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px; /* Rounded corners */
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.quantity-controls button {
    background-color: #8e44ad; /* Purple */
    color: white;
    border: none;
    border-radius: 4px; /* Rounded corners */
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quantity-controls button:hover {
    background-color: #a965c7; /* Darker purple */
}

.quantity-controls span {
    margin: 0 10px;
    font-size: 18px;
}

/* Confirm Button */
.btn {
    background-color: #8e44ad; /* Purple */
    color: white;
    border: none;
    border-radius: 4px; /* Rounded corners */
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 50%; /* Button centered */
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.btn:hover {
    background-color: #a965c7; /* Darker purple */
}

/* Responsive Styles */
@media (max-width: 600px) {
    .modal {
        position: absolute; /* Position near the clicked card */
        top: 0; /* Remove the centering */
        left: 0;
        transform: none; /* Remove centering transform */
        width: 100%;
        max-width: 100%; /* Full width on mobile */
        height: auto;
        margin-top: -300px; /* Add some space between the card and the modal */
        margin-left:-30%;
    }

    .modal-content {
        padding: 15px;
        height: auto;
    }

    .quantity-controls button,
    .btn {
        padding: 8px 10px; /* Adjust button padding for smaller screens */
    }

    .quantity-controls span {
        font-size: 16px; /* Adjust font size for quantity */
    }

    .btn {
        width: 80%; /* Button takes more width on smaller screens */
    }
}

@media (max-width: 480px) {
    .modal {
        position: absolute; /* Position modal near the card */
        width: auto; /* Modal size based on content */
        max-width: 600px; /* Full width on mobile */
        height: auto;
        margin-top:-100%; /* Adjust distance from the card */
        margin-left: 8%;
    }

    .modal-content {
        padding: 10px;
        height: auto;
        width: 100%;
        min-width: 300px;
    }

    .quantity-controls button,
    .btn {
        padding: 6px 8px; /* Smaller padding for mobile */
    }

    .quantity-controls span {
        font-size: 14px; /* Smaller font size for quantity */
    }

    .btn {
        width: 90%; /* Button takes more width on smaller screens */
    }
   .CartBtn{
    margin-left: -15%;
   }
}
