/* ====================================
   CSS Variables
   ==================================== */
:root {
    /* Primary Colors - Warm & Inviting Sushi Restaurant */
    --primary-color: #e63946;
    --primary-dark: #d62828;
    --primary-light: #f77f88;

    /* Accent Colors */
    --accent-color: #f4a261;
    --accent-light: #f9c98d;

    /* Neutral Colors */
    --dark: #1a1a1a;
    --dark-secondary: #2d2d2d;
    --gray-dark: #4a4a4a;
    --gray: #757575;
    --gray-light: #e0e0e0;
    --white: #ffffff;
    --off-white: #f8f9fa;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.5));

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* ====================================
   Reset & Base Styles
   ==================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: none;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* ====================================
   Typography
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-dark);
}

/* ====================================
   Utility Classes
   ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-footer {
    width: 100%;
    margin-bottom: 10px;
    background: var(--dark-secondary);
    color: var(--white);
}

.btn-footer:hover {
    background: var(--primary-color);
}

/* ====================================
   Navigation
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.brand-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.stars {
    display: flex;
    gap: 5px;
}

.star {
    font-size: 1.5rem;
    color: var(--gray-light);
}

.star.filled {
    color: #ffd700;
}

.rating-text {
    font-size: 1.125rem;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 3rem;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    z-index: 3;
    transition: var(--transition-normal);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}

/* ====================================
   Info Bar
   ==================================== */
.info-bar {
    background: var(--dark);
    color: var(--white);
    padding: 2rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    font-size: 2.5rem;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    font-size: 1.125rem;
    margin-bottom: 5px;
}

.info-text span {
    color: var(--gray-light);
}

/* ====================================
   About Section
   ==================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.0625rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ====================================
   Services Section
   ==================================== */
.services {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ====================================
   Gallery Section
   ==================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 57, 70, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-icon {
    font-size: 3rem;
    color: var(--white);
}

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

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

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ====================================
   Reviews Section
   ==================================== */
.reviews {
    background: var(--off-white);
}

.reviews-summary {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.summary-rating {
    text-align: center;
}

.summary-score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.summary-stars {
    margin: 1rem 0;
}

.summary-stars .star {
    font-size: 2rem;
}

.summary-text {
    color: var(--gray);
}

.summary-distribution {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.distribution-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.distribution-label {
    width: 40px;
    font-weight: 600;
    color: var(--gray-dark);
}

.distribution-bar {
    flex: 1;
    height: 10px;
    background: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
}

.distribution-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 10px;
    transition: width 1s ease;
}

.distribution-count {
    width: 40px;
    text-align: right;
    color: var(--gray);
    font-size: 0.875rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-stars .star {
    font-size: 1.25rem;
}

.review-date {
    color: var(--gray);
    font-size: 0.875rem;
}

.review-text {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-details {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.review-badge {
    padding: 5px 12px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--gray-dark);
}

.review-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 1rem;
}

.rating-item {
    font-size: 0.875rem;
    color: var(--gray);
}

.review-response {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
}

.review-response strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.review-response p {
    margin: 0;
    color: var(--gray-dark);
    font-size: 0.9375rem;
}

/* ====================================
   Order Section
   ==================================== */
.order {
    background: var(--dark);
    color: var(--white);
}

.order .section-title {
    color: var(--white);
}

.order .section-subtitle {
    color: var(--gray-light);
}

.order-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.order-card {
    background: var(--dark-secondary);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.order-card:hover {
    transform: translateY(-5px);
    background: var(--gray-dark);
}

.order-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.order-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.order-card p {
    color: var(--gray-light);
    margin-bottom: 2rem;
}

/* ====================================
   Hours Section
   ==================================== */
.hours-grid {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 600;
    color: var(--dark);
}

.hours-time {
    color: var(--gray);
}

.hours-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray);
}

/* ====================================
   Contact Section
   ==================================== */
.contact {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-details h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray);
    margin: 0;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-details a:hover {
    color: var(--primary-dark);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-tagline {
    color: var(--gray-light);
    margin-bottom: 1rem;
}

.footer-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition-fast);
}

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

.footer-contact li {
    color: var(--gray-light);
}

.footer-contact a {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-secondary);
    color: var(--gray-light);
}

.footer-powered {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ====================================
   Scroll to Top Button
   ==================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ====================================
   Responsive Design
   ==================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
    :root {
        --section-padding: 50px 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        height: 80vh;
        min-height: 500px;
    }

    .slider-btn {
        display: none;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .order-options {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .lightbox-btn {
        font-size: 2rem;
        padding: 5px 15px;
    }

    .lightbox-close {
        right: 20px;
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}