/*
Theme Name: WIGI Food
Theme URI: https://wigifood.be
Author: WIGI Food / G-PAQ SRL
Description: Thème custom pour WIGI Food - Foodtruck & Événements
Version: 1.0.0
Text Domain: wigifood
*/

/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
  --bg:         #0f0f10;
  --bg-soft:    #18181b;
  --card:       #1f1f23;
  --text:       #f4f1ea;
  --muted:      #c9c2b6;
  --gold:       #c89b3c;
  --gold-soft:  #e1c37a;
  --border:     rgba(255,255,255,0.08);
  --shadow:     0 10px 30px rgba(0,0,0,0.35);
  --radius:     18px;
  --max:        1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

/* =============================================
   SITE WRAPPER
   ============================================= */
.wigi-site {
  background:
    radial-gradient(circle at top right, rgba(200,155,60,0.12), transparent 28%),
    radial-gradient(circle at top left,  rgba(200,155,60,0.08), transparent 20%),
    var(--bg);
}

.wigi-container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.wigi-section {
  padding: 72px 0;
}

/* =============================================
   TYPOGRAPHIE
   ============================================= */
.wigi-title {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wigi-subtitle {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  max-width: 700px;
  margin: 0;
}

.wigi-section-title {
  font-size: clamp(28px, 3vw, 42px);
  margin: 0 0 14px;
  line-height: 1.1;
}

.wigi-section-intro {
  color: var(--muted);
  max-width: 820px;
  margin-bottom: 36px;
}

.wigi-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

/* =============================================
   BOUTONS
   ============================================= */
.wigi-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.wigi-btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.wigi-btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #121212;
}

.wigi-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.wigi-btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.wigi-btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* =============================================
   BADGE
   ============================================= */
.wigi-badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(200,155,60,0.28);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(200,155,60,0.08);
  font-size: 14px;
  margin-bottom: 18px;
}

/* =============================================
   HERO
   ============================================= */
.wigi-hero {
  padding: 48px 0 60px;
}

.wigi-hero-content {
  max-width: 780px;
}

.wigi-logo {
  width: 120px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

/* =============================================
   CONCEPT
   ============================================= */
.wigi-concept-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.wigi-concept-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* =============================================
   SPÉCIALITÉS — grille de cartes
   ============================================= */
.wigi-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wigi-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wigi-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #111214;
  padding: 10px;
}

.wigi-card-body {
  padding: 20px;
}

.wigi-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.wigi-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* =============================================
   ÉVÉNEMENTS
   ============================================= */
.wigi-events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.wigi-events-text {
  padding: 28px;
}

.wigi-events-text p {
  color: var(--muted);
}

.wigi-list {
  padding-left: 18px;
  margin: 0 0 18px;
}

.wigi-list li {
  margin-bottom: 10px;
  color: var(--muted);
}

.wigi-events-image {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 360px;
}

.wigi-events-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   CONTACT
   ============================================= */
.wigi-contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
}

.wigi-contact-box,
.wigi-form-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.wigi-contact-box p {
  margin: 0 0 12px;
  color: var(--muted);
}

.wigi-contact-box strong {
  color: var(--text);
}

.wigi-contact-box a {
  color: var(--text);
}

/* =============================================
   CONTACT FORM 7 — styles dans le thème
   ============================================= */
.wigi-form-box .wpcf7-form {
  display: grid;
  gap: 14px;
}

.wigi-form-box .wpcf7-form input[type="text"],
.wigi-form-box .wpcf7-form input[type="email"],
.wigi-form-box .wpcf7-form input[type="tel"],
.wigi-form-box .wpcf7-form select,
.wigi-form-box .wpcf7-form textarea {
  width: 100%;
  background: #111214;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
}

.wigi-form-box .wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

.wigi-form-box .wpcf7-form input[type="submit"] {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #121212;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s ease;
}

.wigi-form-box .wpcf7-form input[type="submit"]:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.wigi-form-box p {
  color: var(--muted);
  margin: 0 0 12px;
}

.wigi-form-box strong {
  color: var(--text);
}

/* =============================================
   FOOTER
   ============================================= */
.wigi-footer {
  padding: 28px 0 50px;
  color: #b8b1a5;
  font-size: 14px;
  border-top: 1px solid var(--border);
}

.wigi-footer a {
  color: var(--gold-soft);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 980px) {
  .wigi-concept-grid,
  .wigi-events,
  .wigi-contact-grid,
  .wigi-card-grid {
    grid-template-columns: 1fr;
  }

  .wigi-card img {
    height: auto;
  }

  .wigi-events-image {
    min-height: 280px;
  }
}
