/*
Theme Name: Arena Urban Bistro
Author: AI Designer
Description: A bold, grid-based urban lifestyle theme with sharp typography and high-contrast aesthetics.
Version: 19.0
*/

:root {
  /* Colors - Urban Electric */
  --c-bg: #F5F5F5;
  --c-text: #121212;
  --c-primary: #FF5C00; /* Electric Orange */
  --c-secondary: #000000;
  --c-border: #E0E0E0;
  --c-white: #FFFFFF;
  --c-grey: #888888;
  
  /* Typography */
  --f-display: 'Unbounded', sans-serif;
  --f-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing */
  --s-container: 1400px;
  --gap: 30px;
}

/* 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;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

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

/* HEADER */
.site-header {
  padding: 40px 0;
  background: var(--c-bg);
  border-bottom: 2px solid var(--c-secondary);
  position: sticky;
  top: 0;
  z-index: 3000;
}

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

.logo {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--c-secondary);
  color: var(--c-white);
  padding: 10px 20px;
}

.main-nav ul {
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.main-nav a:hover {
  color: var(--c-primary);
}

/* HERO */
.hero {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--gap);
}

.hero-title {
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: -4px;
  margin-bottom: 40px;
}

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

.hero-img {
  background: var(--c-secondary);
  position: relative;
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  transition: 0.5s;
}

.hero-img:hover img {
  mix-blend-mode: normal;
  transform: scale(1.05);
}

/* BENTO GRID */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: var(--gap);
  margin: 80px 0;
}

.bento-item {
  background: var(--c-white);
  border: 2px solid var(--c-secondary);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.4s;
}

.bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; background: var(--c-primary); color: white; border: none; }
.bento-item:nth-child(2) { grid-column: span 2; }
.bento-item:hover { transform: scale(0.98); }

.bento-tag {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--c-secondary);
  color: white;
  padding: 5px 10px;
  align-self: flex-start;
}

.bento-title {
  font-size: 2.5rem;
}

/* POST CARDS */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding-bottom: 100px;
}

.card {
  background: var(--c-white);
  border: 2px solid var(--c-secondary);
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.card:hover {
  background: var(--c-secondary);
  color: var(--c-white);
}

.card-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: 2px solid var(--c-secondary);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.card-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-cat {
  font-family: var(--f-display);
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--c-primary);
  margin-bottom: 15px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card-excerpt {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 30px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
}

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

.pagination .page-numbers {
  padding: 15px 25px;
  background: var(--c-white);
  border: 2px solid var(--c-secondary);
  font-family: var(--f-display);
  font-weight: 700;
}

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

/* FOOTER */
.site-footer {
  background: var(--c-secondary);
  color: var(--c-white);
  padding: 100px 0 40px;
}

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

.footer-col h4 {
  color: var(--c-primary);
  margin-bottom: 30px;
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-display);
  font-size: 0.6rem;
  letter-spacing: 2px;
}

/* ENTRY CONTENT */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
}
.entry-content h2 { font-size: 3rem; margin: 60px 0 30px; }
.entry-content p { margin-bottom: 30px; font-size: 1.2rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .bento-item:nth-child(1) { grid-column: span 2; grid-row: span 1; height: 400px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .main-nav { display: none; }
}
