/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Base Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #ff0000;
    --accent-color: #ff3333;
    --light-color: #ffffff;
    --dark-color: #1a1a1a;
    --gray-color: #222222;
    --text-color: #f5f5f5;
    --border-color: #333333;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--light-color);
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--light-color);
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    text-align: center;
}

.preloader-logo {
    width: 150px;
    animation: pulse 1.5s infinite;
}

.loading-text {
    color: var(--light-color);
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--light-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-dark .navbar-nav .nav-link.order-btn {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
}

.navbar-dark .navbar-nav .nav-link.order-btn:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('image/hero1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-order {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-order:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--light-color);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* About Section */
.about-section {
    background-color: var(--dark-color);
    color: var(--text-color);
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-section .btn-outline-light {
    border-color: var(--secondary-color);
    color: var(--light-color);
    transition: all 0.3s ease;
}

.about-section .btn-outline-light:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-color);
}

/* Featured Section */
.featured {
    background-color: var(--primary-color);
}

.featured-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--dark-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.featured-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.featured-item .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.featured-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.featured-item p {
    color: #aaa;
    margin-bottom: 0;
}

/* Menu Section */
.menu {
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.sushi-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/pattern.jpg');
    background-size: 300px;
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 0;
}

.menu .container {
    z-index: 1;
}

.menu-categories {
    margin-bottom: 40px;
}

.nav-pills .nav-link {
    color: var(--light-color);
    background-color: transparent;
    border: 1px solid var(--border-color);
    margin: 0 5px;
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.nav-pills .nav-link.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-color);
}

.menu-item {
    margin-bottom: 30px;
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.menu-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-image img {
    transform: scale(1.05);
}

.menu-image .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.menu-item:hover .menu-image .overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5));
}

.menu-image .overlay h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.menu-image .overlay p {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--secondary-color);
}

.menu-details {
    padding: 20px;
}

.menu-details h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.menu-details p {
    color: #aaa;
    margin-bottom: 10px;
    min-height: 40px;
}

.menu-details .price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Full Menu Images */
.menu-full-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    max-height: 600px;
}

.menu-full-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.menu-full-image:hover img {
    transform: scale(1.03);
}

.menu-full-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-full-image:hover .overlay {
    opacity: 1;
}

.menu-full-image .view-text {
    color: var(--light-color);
    text-align: center;
}

.menu-full-image .view-text i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.menu-full-image .view-text span {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Gallery Section */
.gallery {
    background-color: var(--primary-color);
}

.gallery-filter .nav-link {
    color: var(--light-color);
    background-color: transparent;
    border: 1px solid var(--border-color);
    margin: 0 5px;
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-filter .nav-link:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.gallery-filter .nav-link.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-color);
}

.gallery-item {
    margin-bottom: 30px;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    aspect-ratio: 1 / 1;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

.gallery-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-image:hover .overlay {
    opacity: 1;
}

.gallery-image .overlay .content {
    text-align: center;
    color: var(--light-color);
    padding: 20px;
}

.gallery-image .overlay .content i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gallery-image .overlay .content h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Order Section */
.order-section {
    background-color: var(--primary-color);
}

.delivery-options {
    margin-top: 40px;
}

.delivery-card {
    background-color: var(--dark-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.delivery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.delivery-card img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* Info Section */
.info-section {
    background-color: var(--dark-color);
}

.info-card {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.info-card .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.info-card ul li {
    margin-bottom: 5px;
    color: #aaa;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-color);
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
}

.contact form {
    background-color: var(--dark-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact .form-control {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-color);
}

.contact .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact .form-control::placeholder {
    color: #aaa;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-top: 1px solid var(--border-color);
}

/* Modal */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--dark-color);
    border: 1px solid var(--border-color);
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    padding: 0;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
    transform: translateY(-5px);
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 16px;
    font-weight: 600;
    color: var(--light-color);
}

.lb-data .lb-details {
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .featured-item, .info-card, .delivery-card {
        margin-bottom: 20px;
    }
    
    .nav-pills .nav-link {
        margin-bottom: 10px;
    }
    
    .gallery-filter .nav-link {
        margin-bottom: 10px;
        font-size: 0.9rem;
        padding: 6px 15px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .gallery-item {
        width: 100%;
    }
}


/* Gallery Carousel */
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    padding: 15px;
    bottom: 20px;
}

.carousel-caption h5 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.gallery-image {
    cursor: pointer;
}

#galleryCarousel .carousel-item img {
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    background-color: #000;
}

#galleryModal .modal-content {
    background-color: var(--primary-color);
}

#galleryModal .modal-body {
    padding: 0;
    background-color: #000;
}



/* Zoom Controls */
.zoom-controls {
    display: flex;
    gap: 5px;
    margin-right: 15px;
  }
  
  .zoom-controls .btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    transition: all 0.3s ease;
  }
  
  .zoom-controls .btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
  }
  
  /* Zoomable Container */
  .zoomable-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    cursor: grab;
  }
  
  .zoomable-container:active {
    cursor: grabbing;
  }
  
  .zoomable-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease;
    transform-origin: center center;
  }
  
  /* Zoom level indicator */
  .zoom-level {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .zoom-level.visible {
    opacity: 1;
  }