/* Enhanced Menu Page Styles */

/* Menu Hero Section */
.menu-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, rgba(1,1,3,0.9), rgba(19,19,26,0.8)), 
                url('../image/menu-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.menu-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 7%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(211,173,127,0.2);
    border: 1px solid var(--main-color);
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.hero-badge span {
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.menu-hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.2;
    animation: slideInUp 1s ease-out 0.3s both;
}

.menu-hero-title span {
    background: linear-gradient(45deg, var(--main-color), #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-hero-description {
    font-size: 1.8rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.menu-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211,173,127,0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(211,173,127,0.1);
}

.stat-item i {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.4rem;
    color: #ccc;
}

.floating-coffee-beans {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-coffee-beans i {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(211,173,127,0.3);
    animation: floatBeans 8s ease-in-out infinite;
}

.floating-coffee-beans .bean-1 {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.floating-coffee-beans .bean-2 {
    right: 15%;
    top: 30%;
    animation-delay: 2s;
}

.floating-coffee-beans .bean-3 {
    left: 20%;
    bottom: 25%;
    animation-delay: 4s;
}

@keyframes floatBeans {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Menu Section */
.menu {
    padding: 8rem 0;
    background: var(--bg);
}

.menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 7%;
}

/* Category Filter */
.category-filter {
    margin-bottom: 5rem;
}

.filter-title {
    font-size: 3rem;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(211,173,127,0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--main-color), #f4d03f);
    transition: left 0.3s ease;
    z-index: -1;
}

.category-tab:hover::before,
.category-tab.active::before {
    left: 0;
}

.category-tab:hover,
.category-tab.active {
    color: #000;
    border-color: var(--main-color);
    transform: translateY(-2px);
}

.category-tab i {
    font-size: 1.8rem;
}

.item-count {
    background: rgba(0,0,0,0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.menu-item {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(211,173,127,0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(211,173,127,0.3);
}

.item-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover .item-image img {
    transform: scale(1.1);
}

.item-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(211,173,127,0.9);
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.item-badge.premium {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
}

.item-badge.cold {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: #fff;
}

.item-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover .item-overlay {
    opacity: 1;
}

.quick-view-btn,
.favorite-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.quick-view-btn:hover,
.favorite-btn:hover {
    background: var(--main-color);
    transform: scale(1.1);
}

.quick-view-btn i,
.favorite-btn i {
    font-size: 1.6rem;
    color: #333;
}

.favorite-btn.active i {
    color: #e74c3c;
}

.item-content {
    padding: 2.5rem;
}

.item-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.item-rating i {
    color: #ffd700;
    font-size: 1.4rem;
}

.rating-text {
    color: #ccc;
    font-size: 1.3rem;
    margin-left: 0.5rem;
}

.item-name {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.item-description {
    color: #ccc;
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.item-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.item-size,
.item-calories {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    font-size: 1.3rem;
}

.item-size i,
.item-calories i {
    color: var(--main-color);
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.price-section {
    flex: 1;
}

.current-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--main-color);
}

.original-price {
    font-size: 1.6rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 1rem;
}

.discount {
    background: #e74c3c;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 1rem;
}

.add-to-cart-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(45deg, var(--main-color), #f4d03f);
    color: #000;
    border: none;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211,173,127,0.3);
}

.add-to-cart-btn i {
    font-size: 1.6rem;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 5rem;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--main-color);
    border-radius: 30px;
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--main-color);
    color: #000;
    transform: translateY(-3px);
}

/* Quick View Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(1,1,3,0.95);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(211,173,127,0.3);
    backdrop-filter: blur(20px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

.modal-body {
    display: flex;
    gap: 3rem;
    padding: 3rem;
}

.modal-image {
    flex: 1;
}

.modal-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.modal-details {
    flex: 1;
}

.modal-details h3 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.modal-details p {
    color: #ccc;
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-nutritional-info h4 {
    color: var(--main-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.nutrition-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    color: #ccc;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
}

.modal-price {
    flex: 1;
}

.modal-add-to-cart {
    padding: 1.5rem 3rem;
    background: linear-gradient(45deg, var(--main-color), #f4d03f);
    color: #000;
    border: none;
    border-radius: 25px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.modal-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211,173,127,0.3);
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(211,173,127,0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 7%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.footer-section h4 {
    color: var(--main-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 4rem;
}

.footer-logo h3 {
    color: var(--main-color);
    font-size: 2.4rem;
    font-weight: 700;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(211,173,127,0.1);
    border: 1px solid rgba(211,173,127,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--main-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--main-color);
}

.contact-info p,
.opening-hours p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 1.4rem;
}

.contact-info i {
    color: var(--main-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(211,173,127,0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 1.4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-hero-title {
        font-size: 4rem;
    }
    
    .menu-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-body {
        flex-direction: column;
        gap: 2rem;
    }
    
    .item-footer {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .add-to-cart-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .menu-hero {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .menu-hero-title {
        font-size: 3rem;
    }
    
    .category-tab {
        padding: 1rem 1.5rem;
        font-size: 1.4rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 2rem;
    }
    
    .modal-body {
        padding: 2rem;
    }
}

/* Missing Keyframe Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Additional Enhancement Styles */
.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(211,173,127,0.2);
    border-color: rgba(211,173,127,0.3);
}

.item-badge:hover {
    animation: pulse 2s infinite;
}

.quick-view-btn:hover,
.favorite-btn:hover {
    animation: bounce 1s;
}

.add-to-cart-btn:hover {
    background: linear-gradient(45deg, var(--main-color), #f4d03f) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211,173,127,0.4);
}

.category-tab:hover {
    animation: pulse 1.5s ease-in-out;
}

/* Improved scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #f4d03f;
}
