/*
Theme Name: Reka Sushi Zen
Author: AI Designer
Description: A minimalist Zen-inspired sushi blog theme with fluid ink animations and bold Japanese aesthetics.
Version: 13.0
*/

:root {
  /* Colors - Zen & Ink */
  --c-bg: #0A0A0A;
  --c-text: #F5F5F5;
  --c-primary: #D90429; /* Imperial Red */
  --c-accent: #EF233C;
  --c-border: #1F1F1F;
  --c-white: #FFFFFF;
  --c-grey: #8D99AE;
  
  /* Typography */
  --f-display: 'Playfair Display', serif;
  --f-body: 'Montserrat', sans-serif;
  
  /* Spacing */
  --s-container: 1400px;
  --radius: 0px;
}

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-text);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.container {
  max-width: var(--s-container);
  margin: 0 auto;
  padding: 0 50px;
}

/* SIDEBAR NAVIGATION */
.sidebar-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 450px;
    height: 100vh;
    background: #000;
    z-index: 5000;
    transition: 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    padding: 100px 80px;
    border-right: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
}

.nav-toggle:checked ~ .sidebar-nav {
    left: 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.nav-toggle:checked ~ .nav-overlay {
    opacity: 1;
    visibility: visible;
}

.close-sidebar {
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 3rem;
    cursor: pointer;
    color: var(--c-primary);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.sidebar-menu a {
    font-family: var(--f-display);
    font-size: 3rem;
    color: var(--c-text);
}

.sidebar-menu a:hover {
    color: var(--c-primary);
    transform: translateX(20px);
}

/* HEADER */
.site-header {
  padding: 40px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--c-white);
  text-transform: uppercase;
}

.logo span {
    color: var(--c-primary);
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 0.7rem;
}

.burger {
    width: 40px;
    height: 2px;
    background: var(--c-white);
    position: relative;
}
.burger::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60%;
    height: 2px;
    background: var(--c-primary);
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 70% 50%, #1a1a1a 0%, #0a0a0a 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  margin-bottom: 40px;
}

.hero-title span {
    display: block;
    color: var(--c-primary);
    font-style: italic;
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    font-family: var(--f-display);
    font-size: 40rem;
    color: rgba(255,255,255,0.02);
    user-select: none;
    z-index: 1;
    line-height: 1;
}

/* SUSHI CARDS */
.sushi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--c-border);
  margin: 100px 0;
}

.sushi-card {
  background: var(--c-bg);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  transition: 0.5s;
  position: relative;
  overflow: hidden;
}

.sushi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 0;
    background: var(--c-primary);
    z-index: 0;
    transition: 0.5s;
}

.sushi-card:hover::before { height: 5px; }

.card-img {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 40px;
  transition: 0.6s;
}

.sushi-card:hover .card-img { transform: scale(1.05); }

.card-meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--c-primary);
  margin-bottom: 20px;
}

.card-title {
  font-size: 2.2rem;
  margin-bottom: 25px;
  z-index: 1;
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--c-grey);
  margin-bottom: 40px;
  z-index: 1;
}

.read-btn {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1;
}

.read-btn::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--c-primary);
    transition: 0.4s;
}
.sushi-card:hover .read-btn::after { width: 60px; }

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 100px;
}

.pagination .page-numbers {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-border);
    font-family: var(--f-display);
    font-size: 1.2rem;
}

.pagination .current {
    background: var(--c-primary);
    border-color: var(--c-primary);
}

/* FOOTER */
.site-footer {
  padding: 120px 0 60px;
  border-top: 1px solid var(--c-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 100px;
  margin-bottom: 80px;
}

.footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
    color: var(--c-primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--c-border);
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-grey);
}

/* SINGLE POST */
.entry-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

.entry-content h2 { font-size: 3rem; margin: 50px 0 30px; }
.entry-content p { margin-bottom: 30px; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .sushi-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .sushi-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 4rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 60px; }
    .sidebar-nav { width: 100%; }
}
