/*
Theme Name: Curry Review Theme
Description: Production-ready curry blog theme
Version: 1.0
Author: Curry
Text Domain: curry-theme
*/

/* =========================
   RESET & BASE
========================= */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  background: #ffe082;
  color: #4a2a00;
  line-height: 1.7;
}

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

a { color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER
========================= */

header {
  background: linear-gradient(180deg,#ffb300,#f57c00);
  color: #fff;
  padding: 18px 0 14px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

.site-title {
  font-size: 28px;
  font-weight: 900;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

nav a:hover { opacity: .8; }

/* =========================
   HERO
========================= */

.hero {
  background: radial-gradient(circle at 50% 0%,#ffd54f,#ffb300);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

/* curry drip effect */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 40px;
  background: radial-gradient(circle at 20px -10px,#8b3f00 20px,transparent 21px),
              radial-gradient(circle at 80px -10px,#8b3f00 26px,transparent 27px),
              radial-gradient(circle at 160px -10px,#8b3f00 22px,transparent 23px);
  background-repeat: repeat-x;
}

.hero h1 {
  font-size: clamp(28px,4vw,48px);
  margin: 0;
  font-weight: 900;
}

/* =========================
   LAYOUT
========================= */

.main-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-top: 40px;
}

/* =========================
   CARDS
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.card {
  background: #fff8e1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.card-body { padding: 14px; }

.card-title {
  font-weight: 800;
  font-size: 16px;
}

.card-meta {
  font-size: 12px;
  opacity: .7;
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
  background: #fff3cd;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}

.widget + .widget { margin-top: 24px; }

/* =========================
   FOOTER
========================= */

footer {
  background: #6d3b00;
  color: #fff;
  text-align: center;
  padding: 28px 0;
  margin-top: 60px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2,1fr); }
  .main-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  nav ul { flex-wrap: wrap; gap: 12px; }
  .cards { grid-template-columns: 1fr; }
}
