@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --rose-50: #fff0f3;
  --rose-100: #ffe0e8;
  --rose-200: #ffc2d4;
  --rose-300: #ff9db8;
  --rose-400: #ff6b8a;
  --rose-500: #ff3d6e;
  --rose-600: #e8174e;
  --rose-700: #c40d3e;
  --rose-800: #a30e38;
  --gold: #d4a574;
  --gold-light: #f0dcc8;
  --cream: #fdf8f5;
  --text: #4a2030;
  --text-light: #8a6070;
  --white: #ffffff;
  --shadow: 0 4px 30px rgba(255, 107, 138, 0.15);
  --shadow-lg: 0 10px 50px rgba(255, 107, 138, 0.25);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

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

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rose-100);
  transition: all 0.3s;
}

.navbar.transparent {
  background: transparent;
  border-bottom: none;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rose-500);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.3s;
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--rose-500);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose-400);
  transition: width 0.3s;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

/* ============ USER PILL ============ */
.user-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--rose-50), var(--rose-100));
  border: 2px solid var(--rose-200);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.user-pill:hover {
  border-color: var(--rose-400);
  box-shadow: 0 2px 12px rgba(255, 107, 138, 0.2);
}

.user-pill::after {
  display: none !important;
}

.user-pill-icon { font-size: 1rem; }

.user-pill-name {
  font-weight: 600;
  color: var(--text);
}

.user-pill-bisous {
  background: white;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  font-weight: 700;
  color: var(--rose-500);
  font-size: 0.8rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 61, 110, 0.4) 0%,
    rgba(255, 157, 184, 0.3) 50%,
    rgba(212, 165, 116, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.hero-bisous {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose-400), var(--rose-500));
  color: white;
  box-shadow: 0 4px 20px rgba(255, 61, 110, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 61, 110, 0.5);
}

.btn-secondary {
  background: white;
  color: var(--rose-500);
  border: 2px solid var(--rose-200);
}

.btn-secondary:hover {
  background: var(--rose-50);
  border-color: var(--rose-400);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #c49660);
  color: white;
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.4);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-danger {
  background: #ff4444;
  color: white;
}

.btn-success {
  background: #22c55e;
  color: white;
}

/* ============ SECTIONS ============ */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 300;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-300), var(--gold));
  margin: 1rem auto;
  border-radius: 2px;
}

/* ============ CARDS ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s;
  border: 1px solid var(--rose-100);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--rose-500);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--rose-50);
}

.card-price {
  font-weight: 600;
  color: var(--rose-500);
  font-size: 1.1rem;
}

.card-duration {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ============ BISOUS BADGE ============ */
.bisous-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, var(--rose-100), var(--rose-200));
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--rose-600);
  font-size: 0.9rem;
}

.bisous-badge.large {
  font-size: 1.3rem;
  padding: 0.5rem 1.2rem;
}

/* ============ FORMS ============ */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--rose-100);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--rose-100);
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--rose-50);
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--rose-400);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 107, 138, 0.1);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
}

/* ============ CONSULTATION PAGE ============ */
.consultation-card {
  max-width: 500px;
  margin: 6rem auto 2rem;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.consultation-header {
  background: linear-gradient(135deg, var(--rose-400), var(--rose-300));
  padding: 2rem;
  color: white;
}

.consultation-header h2 {
  font-size: 1.8rem;
}

.consultation-body {
  padding: 2rem;
}

.consultation-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--rose-50);
  border-radius: 12px;
}

.consultation-detail .icon {
  font-size: 1.5rem;
}

.consultation-detail .info {
  text-align: left;
}

.consultation-detail .info small {
  color: var(--text-light);
  font-size: 0.8rem;
}

.consultation-detail .info strong {
  display: block;
  font-size: 1rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #d1fae5; color: #065f46; }
.status-completed { background: #dbeafe; color: #1e40af; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-declined { background: #fce7f3; color: #9d174d; }

/* ============ TASKS ============ */
.task-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--rose-100);
  transition: all 0.3s;
  margin-bottom: 1rem;
}

.task-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.task-emoji {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
}

.task-info { flex: 1; }

.task-info h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.task-info p { color: var(--text-light); font-size: 0.85rem; }

.task-reward {
  text-align: center;
}

/* ============ DINNER MENU ============ */
.dinner-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--rose-50), var(--cream));
  padding: 2rem;
}

.dinner-card {
  max-width: 500px;
  margin: 4rem auto;
  text-align: center;
}

.dinner-card h1 {
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.dinner-card .subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.dish-option {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
}

.dish-option:hover {
  border-color: var(--rose-300);
  transform: scale(1.02);
}

.dish-option.selected {
  border-color: var(--rose-500);
  background: var(--rose-50);
}

.dish-option .dish-emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.dish-option h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.dish-option p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.chosen-banner {
  background: linear-gradient(135deg, var(--rose-400), var(--gold));
  color: white;
  padding: 1.5rem;
  border-radius: 16px;
  margin-top: 2rem;
  font-size: 1.1rem;
}

/* ============ INVITATION ============ */
.invitation-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rose-200), var(--rose-100), var(--gold-light));
  padding: 2rem;
}

.invitation-card {
  max-width: 500px;
  background: white;
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.invitation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--rose-400), var(--gold), var(--rose-400));
}

.invitation-card h1 {
  font-size: 2.5rem;
  color: var(--rose-500);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.invitation-card p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.invitation-hearts {
  font-size: 3rem;
  margin: 1.5rem 0;
}

/* ============ ADMIN ============ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--rose-500), var(--rose-700));
  color: white;
  padding: 2rem 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar h2 {
  padding: 0 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s;
  font-size: 0.95rem;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(255,255,255,0.15);
  color: white;
}

.admin-sidebar a .sidebar-icon {
  font-size: 1.2rem;
  min-width: 28px;
  text-align: center;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  padding: 2rem;
  background: var(--cream);
}

.admin-header {
  margin-bottom: 2rem;
}

.admin-header h1 {
  font-size: 2rem;
  color: var(--text);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--rose-100);
}

.stat-card .stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--rose-500);
}

.stat-card .stat-label {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Admin table */
.admin-table {
  width: 100%;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-collapse: collapse;
}

.admin-table th {
  background: var(--rose-50);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--rose-50);
  font-size: 0.9rem;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--rose-50);
}

/* ============ ERROR PAGE ============ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-page h1 {
  font-size: 6rem;
  color: var(--rose-300);
}

.error-page p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin: 1rem 0 2rem;
}

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 8rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--rose-100), var(--cream));
  position: relative;
}

.page-header h1 {
  font-size: 2.8rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ============ FOOTER ============ */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-light);
  font-size: 0.85rem;
  border-top: 1px solid var(--rose-100);
  background: white;
}

/* ============ ANIMATIONS ============ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-float { animation: float 3s ease-in-out infinite; }
.animate-fade-in { animation: fadeInUp 0.8s ease-out; }
.delay-1 { animation-delay: 0.2s; animation-fill-mode: both; }
.delay-2 { animation-delay: 0.4s; animation-fill-mode: both; }
.delay-3 { animation-delay: 0.6s; animation-fill-mode: both; }

/* ============ HAMBURGER MENU ============ */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--rose-500);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============ ADMIN BOTTOM NAV (mobile) ============ */
.admin-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--rose-100);
  z-index: 1000;
  justify-content: space-around;
  padding: 0.4rem 0;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.08);
}

.admin-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.65rem;
  color: var(--text-light);
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.admin-bottom-nav a span {
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
}

.admin-bottom-nav a.active {
  color: var(--rose-500);
  background: var(--rose-50);
}

/* ============ ADMIN TABLE RESPONSIVE ============ */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}

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

/* Tablet */
@media (max-width: 900px) {
  .hero-content h1 { font-size: 2.2rem; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .section { padding: 3rem 1.5rem; }
  .section-header h2 { font-size: 1.8rem; }
  .page-header h1 { font-size: 2rem; }
  .admin-sidebar { width: 200px; }
  .admin-main { margin-left: 200px; padding: 1.5rem; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-container { padding: 1.5rem; }
}

/* Mobile */
@media (max-width: 640px) {
  /* Navbar */
  .navbar {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }

  .navbar-brand { font-size: 1.1rem; }

  .menu-toggle { display: flex; }

  .user-pill {
    order: 2;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }

  .user-pill-name { display: none; }

  .navbar-links {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 3;
    padding-top: 1rem;
    gap: 0;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rose-50);
    font-size: 1rem;
    width: 100%;
  }

  .navbar-links a::after { display: none; }

  .navbar-links .btn.btn-primary.btn-sm {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero-content { padding: 1.5rem; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; }
  .hero-bisous { font-size: 0.85rem; padding: 0.5rem 1rem; }

  .hero-content > div[style] {
    flex-direction: column !important;
  }
  .hero-content > div[style] .btn {
    width: 100%;
    justify-content: center;
  }

  /* Sections */
  .section { padding: 2.5rem 1rem; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.95rem; }

  /* Page header */
  .page-header { padding: 6rem 1rem 2rem; }
  .page-header h1 { font-size: 1.8rem; }

  /* Cards */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-image { height: 180px; }

  .card-body { padding: 1.2rem; }
  .card-body h3 { font-size: 1.15rem; }

  /* Forms */
  .form-container {
    padding: 1.5rem;
    border-radius: 16px;
    margin: 0 0.5rem;
  }

  .form-control { padding: 0.75rem 1rem; font-size: 0.9rem; }

  /* Tasks */
  .task-card {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .task-emoji { font-size: 1.5rem; min-width: 40px; }

  .task-info { min-width: calc(100% - 60px); flex-basis: calc(100% - 60px); }

  .task-reward {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rose-50);
    margin-top: 0.5rem;
  }

  .task-reward form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    align-items: center;
  }

  .task-reward select { flex: 1; }
  .task-reward .btn { white-space: nowrap; }

  /* Dinner */
  .dinner-page { padding: 1rem; }
  .dinner-card { margin: 2rem auto; }
  .dinner-card h1 { font-size: 1.7rem; }
  .dish-option { padding: 1rem; }
  .dish-option .dish-emoji { font-size: 1.5rem; }

  /* Invitation */
  .invitation-page { padding: 1rem; }
  .invitation-card { padding: 2rem 1.5rem; }
  .invitation-card h1 { font-size: 1.8rem; }
  .invitation-card p { font-size: 0.95rem; }

  /* Qui-es-tu */
  .invitation-card .btn { font-size: 1rem !important; padding: 1rem 1.5rem !important; }

  /* Bisous badges */
  .bisous-badge.large { font-size: 1rem; padding: 0.4rem 0.9rem; }

  /* Admin */
  .admin-sidebar { display: none; }

  .admin-bottom-nav { display: flex; }

  .admin-main {
    margin-left: 0;
    padding: 1rem;
    padding-bottom: 5rem; /* space for bottom nav */
  }

  .admin-header h1 { font-size: 1.5rem; }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-card { padding: 1rem; }
  .stat-card .stat-value { font-size: 1.5rem; }
  .stat-card .stat-icon { font-size: 1.5rem; }
  .stat-card .stat-label { font-size: 0.75rem; }

  /* Admin tables: horizontal scroll */
  .admin-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.75rem;
    font-size: 0.8rem;
  }

  /* Admin forms on mobile */
  .admin-main form > div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
  }

  /* How it works section */
  .section > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Dinner & menu section flex */
  .section > div[style*="display: flex"] {
    flex-direction: column !important;
  }

  /* Footer */
  .footer { padding: 2rem 1rem; }
}

/* Very small screens */
@media (max-width: 370px) {
  .navbar-brand { font-size: 0.95rem; }
  .hero-content h1 { font-size: 1.5rem; }
  .page-header h1 { font-size: 1.5rem; }
  .card-body h3 { font-size: 1rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .admin-bottom-nav a { font-size: 0.6rem; }
  .admin-bottom-nav a span { font-size: 1rem; }
}

/* ============ DISHES GRID ============ */
.dishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .dishes-grid { grid-template-columns: 1fr; }
}

/* ============ FORM LAYOUTS ============ */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-recap {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rose-100);
  align-items: center;
}

.service-recap-img {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .service-recap { flex-direction: column; text-align: center; }
  .service-recap-img { width: 100%; height: 150px; }
  .service-recap div > div[style] { justify-content: center; }
}

/* ============ DINNER TEASER ============ */
.dinner-teaser {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.dinner-teaser-text { flex: 1; min-width: 280px; }
.dinner-teaser-img { flex: 1; min-width: 250px; }

@media (max-width: 640px) {
  .dinner-teaser { gap: 1.5rem; }
  .dinner-teaser-text,
  .dinner-teaser-img { min-width: 100%; }
  .dinner-teaser-text h2 { font-size: 1.5rem !important; }
}

/* ============ UTILS ============ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 0.5rem; }
.inline-flex { display: inline-flex; align-items: center; gap: 0.5rem; }
