/* 
   Sushi Restaurant Design System
   Theme: Black (#0b0b0b), Deep Graphite, Gold (#d4af37), Dark Red (#8b0000)
*/

:root {
    --bg-color: #0b0b0b;
    --bg-darker: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gold: #d4af37;
    --accent-gold-hover: #f1c40f;
    --accent-red: #8b0000;
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default for Zen cursor */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--sans-font);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle sushi background texture */
    background-image: linear-gradient(rgba(11, 11, 11, 0.95), rgba(11, 11, 11, 0.95)), url('https://images.unsplash.com/photo-1583623025817-d180a2221d0a?q=80&w=2070&auto=format&fit=crop');
    background-attachment: fixed;
    background-size: cover;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1,
h2,
h3,
h4,
.serif {
    font-family: var(--serif-font);
    font-weight: 700;
}

.kanji {
    font-family: 'serif';
    color: var(--accent-gold);
    font-size: 1.5em;
    vertical-align: middle;
    margin-left: 10px;
    opacity: 0.8;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    letter-spacing: 2px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Custom Zen Cursor */
#custom-cursor {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    opacity: 0;
    /* Default hidden to prevent "white dot" on load */
}

#custom-cursor.active {
    opacity: 1;
}

#custom-cursor.hovering {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
}

/* Header & Navbar */
.header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.header.scrolled {
    background: rgba(11, 11, 11, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition-smooth);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--accent-gold);
}

.social-icons a {
    color: var(--accent-gold);
    margin-left: 20px;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--accent-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1579871494447-9811cf80d66c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--accent-gold);
    font-size: 0.7rem;
    letter-spacing: 3px;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.scroll-down:hover {
    opacity: 1;
}

.scroll-down .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-down .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Buttons */
.btn {
    padding: 15px 40px;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: #000;
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: #000;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer !important;
    padding: 0;
    z-index: 1100;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* About Short */
.about-short {
    background-color: var(--bg-color);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.img-responsive {
    width: 100%;
    height: auto;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 20px 20px 0 var(--accent-gold);
}

/* Bestsellers */
.bg-darker {
    background-color: var(--bg-darker);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure cards have some height */
    min-height: 450px;
}

.product-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    /* Removed translateY to prevent layout shifts */
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.price {
    display: block;
    font-size: 1.2rem;
    margin: 15px 0;
    font-weight: 600;
}

.btn-add {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.product-card:hover .btn-add {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
}

/* Animations Trigger */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Page Components - Luxury Form & Cart */
.pt-header {
    padding-top: 120px;
}

.order-container {
    max-width: 650px;
    margin: 0 auto;
}

.luxury-card {
    background: #0f0f0f;
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.order-form-card {
    border-top: 4px solid var(--accent-gold);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    color: #fff;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input::placeholder {
    color: #555;
    font-size: 0.9rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
    background: #1a1a1a;
}

/* Custom Radio Buttons */
.radio-group {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 15px;
}

.custom-radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer !important;
    font-size: 0.95rem;
    color: #dfdfdf;
    position: relative;
    user-select: none;
    line-height: 1;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-mark {
    height: 18px;
    width: 18px;
    background-color: #1a1a1a;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    position: relative;
    transition: var(--transition-smooth);
    flex-shrink: 0;
    display: inline-block;
}

.custom-radio:hover .radio-mark {
    border-color: var(--accent-gold);
}

.custom-radio input:checked~.radio-mark {
    background-color: var(--bg-color);
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.radio-mark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-gold);
}

.custom-radio input:checked~.radio-mark:after {
    display: block;
}

/* Cart Summary Card */
.cart-summary-card {
    background: #0b0b0b;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.cart-title {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-family: var(--serif-font);
    letter-spacing: 2px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #999;
}

.cart-total-footer {
    padding-top: 20px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.gold-price {
    color: var(--accent-gold);
    font-family: var(--serif-font);
    font-size: 1.8rem;
}

/* Clean Contact Reconstruction */
.contact-max-width {
    max-width: 1100px;
}

.contact-hero-clean {
    background-color: #0b0b0b;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.contact-hero-clean .subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-main-clean {
    background-color: #0b0b0b;
    position: relative;
    z-index: 1;
}

.contact-flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
}

.contact-form-side {
    flex: 1;
    min-width: 350px;
}

.contact-info-side {
    flex: 0 0 350px;
}

.info-block {
    margin-bottom: 40px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    color: #dfdfdf;
}

.contact-info-list i {
    color: var(--accent-gold);
    width: 20px;
    text-align: center;
}

.clean-hours {
    list-style: none;
}

.clean-hours li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #bfbfbf;
    display: flex;
    justify-content: space-between;
}

.contact-social {
    display: flex;
    gap: 20px;
}

.contact-social a {
    color: var(--accent-gold);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.contact-social a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.map-clean {
    background: #000;
}

.padding-100 {
    padding: 100px 0;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.item-remove {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    width: 34px;
    height: 34px;
    border-radius: 6px;
    cursor: pointer !important;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.item-remove:hover {
    background: #c0392b !important;
    /* Clear destructive red */
    border-color: #c0392b !important;
    transform: scale(1.1);
}

.item-remove:hover i {
    color: #fff !important;
}

.item-remove i {
    font-size: 0.8rem;
    pointer-events: none;
}

.btn-full-width {
    width: 100%;
    margin-top: 40px;
    padding: 20px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {

    .grid,
    .order-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .about-image {
        order: -1;
    }

    .img-responsive {
        box-shadow: 10px 10px 0 var(--accent-gold);
    }
}

@media (max-width: 768px) {
    body {
        cursor: default;
    }

    #custom-cursor {
        display: none;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .navbar {
        padding: 0 20px;
    }

    .social-icons {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        right: -100%;
        top: 0;
        background: rgba(5, 5, 5, 0.98);
        height: 100vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
        z-index: 1050;
        backdrop-filter: blur(10px);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .slogan-footer {
        margin: 0 auto;
    }

    .container {
        width: 85%;
    }

    .luxury-card {
        padding: 25px;
    }

    .contact-flex-grid {
        gap: 40px;
    }

    .contact-info-side {
        flex: 1 1 100%;
    }

    .contact-form-side {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 25px;
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        min-height: auto;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .category-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Luxury Footer Overhaul */
.footer {
    background: #0b0b0b !important;
    border-top: 1px solid var(--accent-gold);
    color: #bfbfbf;
    padding: 100px 0 40px;
    z-index: 10;
    position: relative;
    cursor: default;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 100px;
}

.logo-footer {
    font-family: var(--serif-font);
    font-size: 2rem;
    color: var(--accent-gold);
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-weight: 700;
}

.slogan-footer {
    font-size: 0.85rem;
    color: #888;
    max-width: 300px;
    line-height: 2;
}

.footer h4 {
    color: var(--accent-gold);
    margin-bottom: 35px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 3px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 18px;
}

/* Złote linki w stopce - nadpisujemy fioletowy kolor :visited */
.footer a,
.footer a:visited,
.footer a:active {
    color: #c6a84a !important;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1rem;
    position: relative;
}

.footer a:hover {
    color: #e0c067 !important;
    text-decoration: underline;
}

/* Subtle line animation under links */
.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #e0c067;
    transition: var(--transition-smooth);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #bfbfbf;
}

.social-links {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.social-links a {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold) !important;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: #0b0b0b !important;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 80px;
    text-align: center;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #777;
    letter-spacing: 2px;
}

/* Premium Menu Navigation and Link Fixes */
.menu-nav {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 10px 0;
    position: sticky;
    top: 70px;
    z-index: 90;
    background: #0b0b0b;
}

.menu-categories {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

@media (max-width: 768px) {
    .menu-nav {
        top: 60px;
        padding: 5px 0;
    }

    .menu-categories {
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        padding: 10px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .menu-categories::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .menu-cat-link {
        font-size: 0.75rem;
        padding: 6px 12px;
        white-space: nowrap;
        background: rgba(212, 175, 55, 0.05);
        border: 1px solid rgba(212, 175, 55, 0.1);
        border-radius: 4px;
    }

    .menu-cat-link.active {
        border-color: var(--accent-gold);
        background: rgba(212, 175, 55, 0.15);
    }
}

.menu-cat-link,
.menu-cat-link:visited,
.menu-cat-link:active {
    color: var(--text-secondary) !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: var(--transition-smooth);
    padding: 8px 16px;
}

.menu-cat-link:hover,
.menu-cat-link.active {
    color: var(--accent-gold) !important;
    background: rgba(212, 175, 55, 0.05);
}

.chef-img-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
}

.chef-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.chef-desc {
    font-size: 0.95rem;
    color: #999;
    margin-top: 15px;
}

.gold-text {
    color: var(--accent-gold);
}

.small-gold {
    color: var(--accent-gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
}