/*
Theme Name: Sushi Smart Custom
Theme URI: https://sushismart.fr/
Author: Sakanet Mada
Description: Thème sur-mesure ultra-léger style Click & Collect pour restaurant japonais.
Version: 1.0.0
Text Domain: sushismart
*/

:root {
  --primary-color: #e63946;
  --dark-bg: #111111;
  --light-bg: #f8f9fa;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --white: #ffffff;
  --card-shadow: 0 4px 15px rgba(0,0,0,0.06);
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header & Nav */
.site-header {
  background: var(--dark-bg);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
  text-transform: uppercase;
}

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

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--white);
  font-weight: 600;
  transition: color 0.2s;
}

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

.btn-order {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: bold;
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('https://images.unsplash.com/photo-1579871494447-9811cf80d66c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
}

.hero-banner h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ddd;
}

/* Categories Grid */
.menu-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.category-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.category-content {
  padding: 1.2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.btn-card {
  display: inline-block;
  background: var(--dark-bg);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-card:hover {
  background: var(--primary-color);
}

/* Engagements / Features */
.features-section {
  background: var(--light-bg);
  padding: 3.5rem 1.5rem;
  margin-top: 4rem;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-top: 0.8rem;
  margin-bottom: 0.4rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: #aaa;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}