/**
 * ZenSushi – Main Stylesheet
 * Authentic Japanese Dining HTML Theme
 *
 * Sections:
 *   1.  CSS Variables (:root)
 *   2.  Base / Reset
 *   3.  Typography
 *   4.  Buttons (.btn-zen, .btn-zen-dark, .btn-zen-sm)
 *   5.  Navbar (.navbar, .navbar.scrolled, Sweep_Underline)
 *   6.  Preloader (#preloader, fillLine keyframe)
 *   7.  Hero Section (100vh, right-aligned, gradient overlay)
 *   8.  Page Hero (60vh, centered, breadcrumb)
 *   9.  Section Header (.section-eyebrow, .section-title, .section-divider)
 *  10.  Parallax Banner (fixed bg, overlay, .banner-jp, .banner-quote)
 *  11.  Sushi Card (.sushi-card, grayscale 40%→0%, translateY slide-up)
 *  12.  Menu Items (.menu-item, .menu-item-jp, .price-jpy, .price-usd, .diet-badge)
 *  13.  Gallery (.gallery-item, .gallery-overlay, .btn-filter)
 *  14.  Chef Cards (.chef-card, hover overlay slide-up)
 *  15.  Footer (.zen-footer, .footer-logo, .footer-links, .footer-hours, .footer-social)
 *  16.  Back to Top (#backToTop)
 *  17.  Utilities (.img-zoom-wrapper, .countdown-unit, .zen-rule)
 *  18.  Responsive Breakpoints
 */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
    --primary-color:    #d1512d;
    --primary-dark:     #b8431f;
    --secondary-color:  #8a9a5b;
    --dark-color:       #1a1918;
    --light-color:      #f7f4ed;
    --body-color:       #e0dcd3;
    --muted-color:      #7a7570;
    --border-color:     rgba(255,255,255,0.1);
    --overlay-dark:     rgba(26,25,24,0.6);
    --overlay-darker:   rgba(26,25,24,0.85);
    --font-heading:     'Noto Serif JP', serif;
    --font-body:        'Outfit', sans-serif;
    --transition-speed: 0.4s;
    --transition-fast:  0.25s;
    --transition-ease:  ease;
    --section-padding:    100px 0;
    --section-padding-sm:  60px 0;
}

/* ============================================================
   2. BASE / RESET
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-color);
    color: var(--body-color);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background-color: var(--primary-color);
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: color var(--transition-fast) var(--transition-ease);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--light-color);
    font-weight: 300;
    line-height: 1.3;
}

p {
    color: var(--body-color);
    font-weight: 300;
}

.lead {
    font-size: 1.1rem;
    font-weight: 300;
}

/* ============================================================
   4. BUTTONS — Inverted_Fill ::before slide effect
   ============================================================ */

/* Base: .btn-zen — light border (for dark backgrounds) */
.btn-zen {
    background: transparent;
    color: var(--light-color);
    border: 1px solid var(--light-color);
    border-radius: 0;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: border-color var(--transition-speed) var(--transition-ease),
                color var(--transition-speed) var(--transition-ease);
    display: inline-block;
}

.btn-zen::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: left var(--transition-speed) var(--transition-ease);
}

.btn-zen:hover::before {
    left: 0;
}

.btn-zen:hover {
    border-color: var(--primary-color);
    color: #fff;
}

/* Variant: .btn-zen-dark — dark border (for light backgrounds) */
.btn-zen-dark {
    background: transparent;
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
    border-radius: 0;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: border-color var(--transition-speed) var(--transition-ease),
                color var(--transition-speed) var(--transition-ease);
    display: inline-block;
}

.btn-zen-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: left var(--transition-speed) var(--transition-ease);
}

.btn-zen-dark:hover::before {
    left: 0;
}

.btn-zen-dark:hover {
    border-color: var(--primary-color);
    color: #fff;
}

/* Variant: .btn-zen-sm — compact size */
.btn-zen-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* ============================================================
   5. NAVBAR — Sweep_Underline ::after effect
   ============================================================ */
.navbar {
    background-color: rgba(26, 25, 24, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    transition: padding var(--transition-speed) var(--transition-ease),
                background-color var(--transition-speed) var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
}

/* Scrolled state — added by JS when scrollY > 80px */
.navbar.scrolled {
    background-color: rgba(26, 25, 24, 1);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Mobilde scrolled padding değişimi kapalı — menü açıkken zıplamayı önler */
@media (max-width: 992px) {
    .navbar.scrolled {
        padding: 20px 0;
    }
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff !important;
    letter-spacing: 1px;
}

.navbar-brand span {
    color: var(--primary-color);
}

.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    color: rgba(240, 236, 228, 0.7) !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 6px !important;
    margin: 0 8px;
    transition: color var(--transition-fast) var(--transition-ease);
}

/* Sweep_Underline: starts from right, sweeps to left on hover */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    transition: width var(--transition-speed) var(--transition-ease);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

/* ============================================================
   6. PRELOADER — fillLine keyframe animation
   ============================================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--light-color);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.preloader-logo span {
    color: var(--primary-color);
}

.preloader-line {
    width: 200px;
    height: 2px;
    background: var(--border-color);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.preloader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    animation: fillLine 1.5s ease forwards;
}

@keyframes fillLine {
    from { width: 0; }
    to   { width: 100%; }
}

/* ============================================================
   7. HERO SECTION — 100vh, right-aligned content
   ============================================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0 80px;
}

.hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26,25,24,0.95) 0%, rgba(26,25,24,0.4) 60%, rgba(26,25,24,0.1) 100%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--light-color);
    margin-bottom: 20px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 20px;
}

/* ============================================================
   8. PAGE HERO — 60vh, centered, breadcrumb
   ============================================================ */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0 60px;
    text-align: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-darker);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--light-color);
    margin-bottom: 10px;
}

.page-hero-jp {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 300;
    margin-bottom: 20px;
    font-style: italic;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    align-items: center;
}

.breadcrumb-item a {
    color: rgba(240, 236, 228, 0.5);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--light-color);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(240, 236, 228, 0.3);
}

/* ============================================================
   9. SECTION HEADER
   ============================================================ */
.section-header {
    margin-bottom: 60px;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--light-color);
    margin-bottom: 0;
}

.section-divider {
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* ============================================================
   10. PARALLAX BANNER — fixed bg, overlay, Japanese text
   ============================================================ */
.parallax-banner {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: var(--section-padding);
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 25, 24, 0.7);
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-jp {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 300;
    color: var(--primary-color);
    opacity: 0.4;
    line-height: 1;
    margin: 0 0 20px;
}

.banner-quote {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--light-color);
    font-style: italic;
    margin-bottom: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.banner-attribution {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

/* ============================================================
   11. SUSHI CARD — grayscale 40%→0%, translateY slide-up
   ============================================================ */
.sushi-card {
    position: relative;
    overflow: hidden;
    background: var(--dark-color);
    cursor: pointer;
}

.sushi-card-img,
.sushi-card > img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    filter: grayscale(40%);
    transition: filter 0.8s var(--transition-ease),
                transform 0.8s var(--transition-ease);
    display: block;
}

.sushi-card:hover .sushi-card-img,
.sushi-card:hover > img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.sushi-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(26,25,24,1) 80%);
    color: #fff;
    transform: translateY(30px);
    transition: transform var(--transition-speed) var(--transition-ease);
}

.sushi-card:hover .sushi-card-body {
    transform: translateY(0);
}

.sushi-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--light-color);
    margin-bottom: 4px;
}

.sushi-card-jp {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 10px;
}

.sushi-card-price {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.sushi-card-price .price-usd {
    color: var(--muted-color);
    font-size: 0.9rem;
}

/* ============================================================
   12. MENU ITEMS
   ============================================================ */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-fast) var(--transition-ease);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.menu-item-info {
    flex: 1;
    padding-right: 20px;
}

.menu-item-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--light-color);
    margin-bottom: 4px;
}

.menu-item-jp {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-left: 8px;
}

.menu-item-desc {
    font-size: 0.85rem;
    color: var(--muted-color);
    margin-bottom: 8px;
    font-weight: 300;
}

.menu-item-price {
    text-align: right;
    white-space: nowrap;
}

.price-jpy {
    display: block;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 400;
}

.price-usd {
    display: block;
    font-size: 0.85rem;
    color: var(--muted-color);
    font-weight: 300;
}

.diet-badges {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
}

.badge-diet {
    font-size: 0.85rem;
    cursor: default;
}

/* Chef's Special highlight */
.menu-item.chef-special {
    border: 1px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 10px;
    position: relative;
}

.menu-item.chef-special::before {
    content: "Today's Special";
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 2px 10px;
    font-family: var(--font-body);
}

/* ============================================================
   13. GALLERY
   ============================================================ */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s var(--transition-ease),
                filter 0.6s var(--transition-ease);
    filter: grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-ease);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.gallery-overlay i {
    font-size: 1.5rem;
    color: var(--light-color);
}

/* Filter buttons */
.btn-filter {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--muted-color);
    border-radius: 0;
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all var(--transition-fast) var(--transition-ease);
    cursor: pointer;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ============================================================
   14. CHEF CARDS — hover overlay slide-up
   ============================================================ */
.chef-card {
    position: relative;
    overflow: hidden;
}

.chef-card-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top;
    filter: grayscale(20%);
    transition: filter 0.6s var(--transition-ease),
                transform 0.6s var(--transition-ease);
    display: block;
}

.chef-card:hover .chef-card-img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.chef-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(26,25,24,0.95) 60%);
    transform: translateY(60px);
    transition: transform var(--transition-speed) var(--transition-ease);
}

.chef-card:hover .chef-card-overlay {
    transform: translateY(0);
}

.chef-card-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--light-color);
    margin-bottom: 2px;
}

.chef-card-name-jp {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 6px;
}

.chef-card-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.chef-card-bio {
    font-size: 0.85rem;
    color: var(--body-color);
    font-weight: 300;
    margin-bottom: 15px;
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-ease);
}

.chef-card:hover .chef-card-bio {
    opacity: 1;
}

.chef-social a {
    color: var(--muted-color);
    font-size: 0.9rem;
    margin-right: 12px;
    transition: color var(--transition-fast) var(--transition-ease);
}

.chef-social a:hover {
    color: var(--primary-color);
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.zen-footer {
    background: var(--dark-color);
    border-top: 2px solid var(--primary-color);
    padding: var(--section-padding);
    color: var(--muted-color);
    font-size: 0.9rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--light-color) !important;
    letter-spacing: 1px;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-desc {
    color: var(--muted-color);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
}

.footer-motto {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 300;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--light-color);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--muted-color);
    font-size: 0.9rem;
    font-weight: 300;
    transition: color var(--transition-fast) var(--transition-ease),
                padding-left var(--transition-fast) var(--transition-ease);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.footer-hours li:last-child {
    border-bottom: none;
}

.hours-day {
    color: var(--body-color);
    font-weight: 300;
}

.hours-time {
    color: var(--muted-color);
    font-weight: 300;
}

.hours-closed .hours-time {
    color: var(--primary-color);
}

.footer-note {
    font-size: 0.8rem;
    color: var(--muted-color);
    font-weight: 300;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--muted-color);
    font-weight: 300;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
}

.footer-contact a {
    color: var(--muted-color);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    color: var(--muted-color);
    font-size: 0.9rem;
    transition: all var(--transition-fast) var(--transition-ease);
}

.footer-social-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(209, 81, 45, 0.1);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--muted-color);
    font-size: 0.85rem;
    font-weight: 300;
}

/* ============================================================
   16. BACK TO TOP — terracotta, border-radius: 0, SVG arrow
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast) var(--transition-ease),
                visibility var(--transition-fast) var(--transition-ease),
                background-color var(--transition-fast) var(--transition-ease);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* ============================================================
   17. UTILITIES
   ============================================================ */

/* Image zoom wrapper */
.img-zoom-wrapper {
    overflow: hidden;
}

.img-zoom-wrapper img {
    transition: transform 0.6s var(--transition-ease);
}

.img-zoom-wrapper:hover img {
    transform: scale(1.05);
}

/* Countdown units */
.countdown-unit {
    text-align: center;
    min-width: 80px;
}

.countdown-unit span {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    color: var(--light-color);
    line-height: 1;
}

.countdown-unit small {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted-color);
    margin-top: 8px;
    display: block;
}

/* Zen rule (decorative horizontal line) */
.zen-rule {
    width: 60px;
    height: 1px;
    background: var(--primary-color);
    margin: 20px auto;
}

/* Section padding utility */
.section-pad {
    padding: var(--section-padding);
}

.section-pad-sm {
    padding: var(--section-padding-sm);
}

/* Form success message */
.form-success {
    display: none;
    padding: 15px 20px;
    background: rgba(138, 154, 91, 0.15);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: 15px;
}

/* Bootstrap is-invalid override — terracotta */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--primary-color) !important;
    box-shadow: none !important;
}

.invalid-feedback {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* ============================================================
   18. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large screens (≤ 992px) — Navbar collapse */
@media (max-width: 992px) {
    .navbar-collapse {
        background: rgba(26, 25, 24, 0.98);
        padding: 20px;
        margin-top: 10px;
        border-top: 1px solid var(--border-color);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-link {
        margin: 4px 0;
        padding: 8px 0 !important;
    }

    /* Dropdown: mobilde relative pozisyon, full-width */
    .dropdown-menu.zen-dropdown {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.3);
        border: none;
        border-left: 2px solid var(--primary-color);
        padding: 0 0 0 16px;
        margin: 4px 0 8px;
    }

    .btn-zen.ms-lg-4 {
        margin-top: 15px;
        display: inline-block;
    }
}

/* Medium screens (≤ 768px) — Parallax fix, typography scale */
@media (max-width: 768px) {
    /* iOS Safari parallax fix */
    .hero-section,
    .page-hero,
    .parallax-banner {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 3rem;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .banner-quote {
        font-size: 1.2rem;
    }

    .banner-jp {
        font-size: 2.5rem;
    }

    .sushi-card-img,
    .sushi-card > img {
        height: 300px;
    }

    .chef-card-img {
        height: 350px;
    }

    .countdown-unit span {
        font-size: 2rem;
    }
}

/* Small screens (≤ 576px) — Further typography reduction */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 100px 0 60px;
    }

    .page-hero {
        padding: 100px 0 40px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }

    .zen-footer {
        padding: var(--section-padding-sm);
    }
}

/* ===== 19. OMAKASE COURSE STEPS ===== */
.course-step { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border-color); }
.course-step:last-child { border-bottom: none; }
.course-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 300; color: var(--primary-color); opacity: 0.4; min-width: 50px; line-height: 1; }
.course-info h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 300; color: var(--light-color); margin-bottom: 4px; }
.course-jp { font-family: var(--font-heading); font-size: 0.9rem; color: var(--secondary-color); font-style: italic; margin-bottom: 8px; }
.course-desc { font-size: 0.88rem; color: var(--muted-color); font-weight: 300; margin: 0; }

/* ===== 20. PRICING CARDS ===== */
.pricing-card { border: 1px solid var(--border-color); padding: 40px; text-align: center; transition: border-color var(--transition-fast) var(--transition-ease); }
.pricing-card:hover { border-color: var(--primary-color); }
.pricing-card.featured { border-color: var(--primary-color); position: relative; }
.pricing-card.featured::before { content: 'Recommended'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: #fff; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; padding: 3px 14px; font-family: var(--font-body); }
.pricing-price { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 300; color: var(--primary-color); margin: 16px 0 4px; }
.pricing-price-usd { font-size: 1rem; color: var(--muted-color); }
.pricing-features { list-style: none; padding: 0; margin: 20px 0 30px; text-align: left; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid var(--border-color); font-size: 0.88rem; color: var(--body-color); font-weight: 300; }
.pricing-features li::before { content: '—'; color: var(--primary-color); margin-right: 10px; }

/* ===== 21. EVENT DATE CARDS ===== */
.event-date-card { border: 1px solid var(--border-color); padding: 30px; text-align: center; transition: border-color var(--transition-fast) var(--transition-ease); }
.event-date-card:hover { border-color: var(--primary-color); }
.event-date { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 300; color: var(--light-color); margin-bottom: 4px; }
.event-day { font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--secondary-color); margin-bottom: 12px; }
.event-times { font-size: 0.85rem; color: var(--muted-color); margin-bottom: 12px; }
.event-availability { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }
.event-availability.limited { color: var(--primary-color); }
.event-availability.available { color: var(--secondary-color); }

/* ===== 22. MENU TABS ===== */
.menu-nav { border-bottom: 1px solid var(--border-color); margin-bottom: 40px; flex-wrap: wrap; }
.menu-nav .nav-link { color: var(--muted-color) !important; background: transparent; border: none; border-bottom: 2px solid transparent; border-radius: 0; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; padding: 12px 20px; margin-bottom: -1px; transition: color var(--transition-fast) var(--transition-ease), border-color var(--transition-fast) var(--transition-ease); }
.menu-nav .nav-link:hover { color: var(--light-color) !important; }
.menu-nav .nav-link.active, .menu-nav .nav-link[aria-selected="true"] { color: var(--primary-color) !important; border-bottom-color: var(--primary-color) !important; background: transparent !important; }
.menu-category-jp { font-family: var(--font-heading); font-size: 0.9rem; color: var(--secondary-color); font-style: italic; margin-bottom: 30px; }


/* ===== 23. FORMS ===== */
.form-control, .form-select { border-radius: 0; border-color: var(--border-color); background: rgba(255,255,255,0.05); color: var(--light-color); font-family: var(--font-body); font-size: 0.88rem; padding: 12px 16px; transition: border-color var(--transition-fast) var(--transition-ease); }
.form-control:focus, .form-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 0.15rem rgba(209,81,45,0.2); background: rgba(255,255,255,0.08); color: var(--light-color); }
.form-control::placeholder { color: var(--muted-color); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--primary-color) !important; }
.invalid-feedback { color: var(--primary-color); font-size: 0.8rem; }
.form-label { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--body-color); margin-bottom: 8px; }
.form-select option { background: var(--dark-color); color: var(--light-color); }
.zen-info-panel { background: #111; padding: 40px; border: 1px solid var(--border-color); }
.zen-info-panel h3 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--light-color); margin-bottom: 24px; font-weight: 400; }
.zen-info-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 0.88rem; color: var(--muted-color); }
.zen-info-item i { color: var(--primary-color); margin-top: 3px; flex-shrink: 0; }
.zen-hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-color); font-size: 0.82rem; }
.zen-hours .day { color: var(--body-color); }
.zen-hours .time { color: var(--secondary-color); }
.zen-hours .closed { color: var(--primary-color); }

/* ===== 24. CONTACT CARDS ===== */
.contact-card { text-align: center; padding: 40px 24px; border: 1px solid var(--border-color); transition: border-color var(--transition-fast) var(--transition-ease); }
.contact-card:hover { border-color: var(--primary-color); }
.contact-card-icon { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 16px; display: block; }
.contact-card h2 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--light-color); margin-bottom: 12px; font-weight: 400; }
.contact-card p { font-size: 0.88rem; color: var(--muted-color); margin: 0; line-height: 1.7; font-weight: 300; }

/* ===== 25. BLOG ===== */
.blog-card { background: var(--dark-color); border: 1px solid var(--border-color); overflow: hidden; transition: border-color var(--transition-fast) var(--transition-ease); }
.blog-card:hover { border-color: var(--primary-color); }
.blog-card-img img { height: 220px; object-fit: cover; width: 100%; filter: grayscale(20%); transition: filter 0.6s var(--transition-ease), transform 0.6s var(--transition-ease); }
.blog-card:hover .blog-card-img img { filter: grayscale(0%); transform: scale(1.03); }
.blog-card-body { padding: 24px; }
.blog-category { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--primary-color); font-family: var(--font-body); display: block; margin-bottom: 10px; }
.blog-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 300; color: var(--light-color); margin-bottom: 10px; line-height: 1.5; }
.blog-title a { color: var(--light-color); transition: color var(--transition-fast) var(--transition-ease); }
.blog-title a:hover { color: var(--primary-color); }
.blog-meta { font-size: 0.75rem; color: var(--muted-color); letter-spacing: 1px; margin-bottom: 16px; font-weight: 300; }
.btn-read-more { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary-color); transition: color var(--transition-fast) var(--transition-ease), letter-spacing var(--transition-fast) var(--transition-ease); }
.btn-read-more:hover { color: var(--primary-color); letter-spacing: 3px; }
.sidebar-widget { margin-bottom: 40px; }
.sidebar-widget-title { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--light-color); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); font-weight: 400; }
.sidebar-recent-post { display: flex; gap: 12px; margin-bottom: 16px; }
.sidebar-recent-post img { width: 70px; height: 70px; object-fit: cover; flex-shrink: 0; filter: grayscale(20%); }
.sidebar-recent-post h5 { font-family: var(--font-heading); font-size: 0.82rem; font-weight: 300; color: var(--light-color); margin-bottom: 4px; line-height: 1.4; }
.sidebar-recent-post span { font-size: 0.72rem; color: var(--muted-color); }
.sidebar-categories li { padding: 8px 0; border-bottom: 1px solid var(--border-color); font-size: 0.82rem; }
.sidebar-categories a { color: var(--muted-color); transition: color var(--transition-fast) var(--transition-ease), padding-left var(--transition-fast) var(--transition-ease); display: block; font-weight: 300; }
.sidebar-categories a:hover { color: var(--primary-color); padding-left: 6px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border: 1px solid var(--border-color); color: var(--muted-color); transition: all var(--transition-fast) var(--transition-ease); font-weight: 300; }
.tag:hover { border-color: var(--primary-color); color: var(--primary-color); }
.featured-post-card { border: 1px solid var(--border-color); overflow: hidden; }
.featured-post-card img { height: 400px; object-fit: cover; width: 100%; filter: grayscale(20%); transition: filter 0.6s var(--transition-ease); }
.featured-post-card:hover img { filter: grayscale(0%); }
.featured-post-body { padding: 32px; background: var(--dark-color); }

/* ===== 26. ARTICLE ===== */
.article-meta { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-color); margin-bottom: 24px; font-weight: 300; }
.article-meta span { margin-right: 16px; }
.article-body p { font-size: 0.95rem; line-height: 1.9; color: var(--body-color); margin-bottom: 1.5rem; font-weight: 300; }
.article-body h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 300; color: var(--light-color); margin: 2rem 0 1rem; }
blockquote.zen-quote { border-left: 3px solid var(--primary-color); padding: 20px 30px; margin: 2rem 0; background: rgba(209,81,45,0.05); }
blockquote.zen-quote p { font-family: var(--font-heading); font-style: italic; font-size: 1.1rem; color: var(--light-color); margin: 0; font-weight: 300; }
.author-box { display: flex; gap: 24px; padding: 32px; border: 1px solid var(--border-color); margin-top: 40px; background: #111; }
.author-box img { width: 90px; height: 90px; object-fit: cover; border-radius: 50%; flex-shrink: 0; filter: grayscale(20%); }
.author-box h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 300; color: var(--light-color); margin-bottom: 4px; }
.author-box .author-role { font-size: 0.75rem; color: var(--primary-color); letter-spacing: 2px; text-transform: uppercase; font-family: var(--font-body); }
.author-box p { font-size: 0.85rem; color: var(--muted-color); margin: 8px 0 0; font-weight: 300; }

/* ===== 27. EVENTS ===== */
.event-card { border: 1px solid var(--border-color); overflow: hidden; transition: border-color var(--transition-fast) var(--transition-ease); }
.event-card:hover { border-color: var(--primary-color); }
.event-card-img img { height: 220px; object-fit: cover; width: 100%; filter: grayscale(30%); transition: filter 0.6s var(--transition-ease), transform 0.6s var(--transition-ease); }
.event-card:hover .event-card-img img { filter: grayscale(0%); transform: scale(1.03); }
.event-card-body { padding: 24px; background: var(--dark-color); }
.event-card-category { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--secondary-color); margin-bottom: 8px; display: block; }
.event-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 300; color: var(--light-color); margin-bottom: 8px; }
.event-card-meta { font-size: 0.8rem; color: var(--muted-color); margin-bottom: 16px; font-weight: 300; }
.event-card-meta span { margin-right: 12px; }
.newsletter-form { display: flex; max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; border-radius: 0; border: 1px solid var(--border-color); background: rgba(255,255,255,0.05); color: var(--light-color); padding: 12px 20px; font-size: 0.85rem; font-family: var(--font-body); }
.newsletter-form input::placeholder { color: var(--muted-color); }
.newsletter-form input:focus { outline: none; border-color: var(--primary-color); }
.newsletter-form button { border-radius: 0; white-space: nowrap; }

/* ===== 28. 404 PAGE ===== */
.error-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background-color: var(--dark-color); padding: 120px 20px; }
.error-number { font-family: var(--font-heading); font-size: 10rem; color: var(--primary-color); opacity: 0.2; line-height: 1; display: block; font-weight: 300; }
.error-jp { font-family: var(--font-heading); font-size: 2rem; color: var(--secondary-color); font-style: italic; font-weight: 300; margin-bottom: 16px; }
.error-title { font-size: 2rem; letter-spacing: 6px; text-transform: uppercase; color: var(--light-color); font-weight: 300; margin-bottom: 20px; }
.error-desc { color: var(--muted-color); font-size: 0.9rem; max-width: 480px; margin: 0 auto 40px; line-height: 1.8; font-weight: 300; }


/* ===== 29. ADDITIONAL RESPONSIVE RULES ===== */

/* Blog cards */
@media (max-width: 768px) {
    .blog-card-img img { height: 180px; }
    .featured-post-card img { height: 240px; }
    .featured-post-body { padding: 24px; }
    .author-box { flex-direction: column; align-items: center; text-align: center; }
    .author-box img { margin-bottom: 16px; }
}

/* Event cards */
@media (max-width: 768px) {
    .event-card-img img { height: 180px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input,
    .newsletter-form button { width: 100%; }
}

/* Countdown */
@media (max-width: 576px) {
    .countdown-unit span { font-size: 2rem; }
    #countdown { gap: 16px; }
}

/* Pricing cards */
@media (max-width: 768px) {
    .pricing-card { padding: 28px 20px; }
}

/* Info panel */
@media (max-width: 992px) {
    .zen-info-panel { margin-top: 40px; }
}

/* Pagination */
.pagination .page-link {
    border-radius: 0;
    background: transparent;
    border-color: var(--border-color);
    color: var(--muted-color);
    font-size: 0.8rem;
    padding: 8px 16px;
    transition: all var(--transition-fast) var(--transition-ease);
}
.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.pagination .page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Accordion dark theme override */
.accordion-button {
    background: transparent !important;
    color: var(--light-color) !important;
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 0.95rem;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 20px 24px;
}
.accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
}
.accordion-button::after {
    filter: invert(1) brightness(0.6);
}
.accordion-button:not(.collapsed)::after {
    filter: invert(1) brightness(1);
}
.accordion-item {
    background: transparent !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    margin-bottom: 8px;
}
.accordion-body {
    color: var(--muted-color);
    font-size: 0.88rem;
    line-height: 1.8;
    font-weight: 300;
    padding: 0 24px 20px;
}


/* ===== NAVBAR DROPDOWN (Pages) ===== */
.zen-dropdown {
    background-color: rgba(26, 25, 24, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 8px 0;
    min-width: 180px;
}
.zen-dropdown .dropdown-item {
    color: rgba(240,236,228,0.55);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 20px;
    font-weight: 300;
    transition: color var(--transition-fast) var(--transition-ease), background var(--transition-fast) var(--transition-ease);
}
.zen-dropdown .dropdown-item:hover,
.zen-dropdown .dropdown-item:focus {
    background-color: rgba(209,81,45,0.08);
    color: var(--primary-color);
}
.zen-dropdown .dropdown-divider {
    border-color: var(--border-color);
    margin: 4px 0;
}
.nav-link.dropdown-toggle::after {
    vertical-align: 0.15em;
}
