
/*
Theme Name: Al Dente Rustic
Theme URI: https://example.com/al-dente-rustic
Author: Daniel & ChatGPT
Author URI: https://example.com
Description: A rustic, foodie-focused WordPress theme for Al Dente Gourmet Catering. Hero image via Customizer (Header Image), overlay slider, font picker, and preset color palettes.
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: al-dente-rustic
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Tags: blog, food, one-column, two-columns, custom-logo, custom-colors, custom-menu, featured-images, wide-blocks, rtl-language-support
*/

/* Base reset */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  background: #0f1214;
  color: #f3eee7;
  line-height: 1.6;
}

/* Rustic palette accents (these are overridden by Customizer color scheme inline CSS) */
:root {
  --rust-900: #1a1a1a;
  --rust-800: #231f20;
  --rust-700: #2b2626;
  --rust-600: #3b2c25;
  --rust-500: #7a3f10;
  --rust-400: #d46a1f;
  --rust-300: #ffb673;
  --cream:     #f5efe6;
  --ink:       #0e0f12;
}

/* Layout */
.site-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(180deg, #121417 0%, #0e0f12 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .brand {
  display:flex;
  align-items:center;
  gap:12px;
}

.header .brand img {
  height: 52px;
  width: auto;
}

.site-title {
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: .04em;
}

.nav-primary a {
  color: var(--cream);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-primary a:hover {
  background: rgba(212,106,31,.15);
}

.hero {
  background: radial-gradient(1000px 400px at 10% 0%, rgba(212,106,31,.20), transparent 50%),
              radial-gradient(800px 300px at 90% 10%, rgba(122,63,16,.35), transparent 55%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 48px 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  margin: 0 0 8px 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero p {
  margin: 0;
  color: #ddd4c7;
}

.hero .site-wrap { position: relative; z-index: 1; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  padding: 24px;
}

.card {
  background: #141719;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}

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

.card img { width: 100%; height: 180px; object-fit: cover; display:block; }
.card .card-body { padding: 16px; }
.card h3 { margin: 0 0 6px 0; font-size: 1.05rem; }
.card .meta { font-size: .9rem; color: #c7c0b6; }

.entry-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.wp-block-quote { border-left: 4px solid var(--rust-400); padding-left: 12px; }

.footer {
  padding: 32px 24px;
  color: #cfc7bd;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}

/* Hero overlay element (opacity controlled by Customizer) */
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
