/* ===== Variables ===== */
:root {
  --bg-dark: #0a0a1a;
  --bg-section: #0f0f2a;
  --bg-card: #1a1a3a;
  --gold: #d4af37;
  --gold-light: #e8c84a;
  --gold-dark: #b8941f;
  --white: #ffffff;
  --white-soft: #e0e0e0;
  --gray: #999;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

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

ul {
  list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

/* ===== Container ===== */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== Section ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-section);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ===== Card Image ===== */
.card-img {
  margin: -30px -20px 15px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.espace-item .card-img {
  margin: -40px -25px 15px;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: background var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list a {
  color: var(--white-soft);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-list a:hover {
  color: var(--gold);
}

.nav-list a:hover::after {
  width: 100%;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 1; }
}

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

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.hero-date {
  font-size: 1.3rem;
  color: var(--white-soft);
  margin-bottom: 10px;
}

.hero-location {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

/* ===== Artists Cards ===== */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.artist-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.artist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

.artist-card h3 {
  margin-bottom: 10px;
}

.artist-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== Espace Jeune ===== */
.espace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.espace-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px 25px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: transform var(--transition);
}

.espace-item:hover {
  transform: translateY(-3px);
}

.espace-item h3 {
  margin-bottom: 10px;
}

.espace-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== Menu / Dîner ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.menu-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 35px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.menu-card h3 {
  margin-bottom: 20px;
  text-align: center;
}

.menu-category {
  margin-bottom: 20px;
}

.menu-category h4 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 5px;
}

.menu-category p,
.menu-category ul {
  color: var(--white-soft);
  font-size: 0.95rem;
}

.menu-category ul {
  padding-left: 20px;
  list-style: disc;
}

.menu-category li {
  margin-bottom: 4px;
}

.menu-note {
  text-align: center;
  color: var(--gray);
  font-style: italic;
  margin-top: 30px;
}

/* ===== Tarifs ===== */
.tarifs-table-wrapper {
  overflow-x: auto;
}

.tarifs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.tarifs-table thead {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}

.tarifs-table th {
  color: var(--bg-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 15px 20px;
  text-align: left;
  font-size: 1rem;
}

.tarifs-table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 0.95rem;
}

.tarifs-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

.tarifs-table .price {
  color: var(--gold);
  font-weight: 700;
}

.tarifs-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 20px;
}

/* ===== Reservation Form ===== */
.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--white-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group label .required {
  color: var(--gold);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-control::placeholder {
  color: var(--gray);
}

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

.form-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-control {
  border-color: #e74c3c;
}

.form-group.error .form-error {
  display: block;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit .btn {
  width: 100%;
  padding: 16px;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-section);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.8;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  color: var(--gray);
  font-size: 0.85rem;
}

/* ===== Legal Pages ===== */
.legal-page {
  padding-top: 100px;
  padding-bottom: 60px;
}

.legal-page h1 {
  text-align: center;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 35px;
  margin-bottom: 15px;
}

.legal-page p {
  color: var(--white-soft);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.legal-page ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 12px;
}

.legal-page li {
  color: var(--white-soft);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.legal-page a {
  text-decoration: underline;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .artists-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .section {
    padding: 60px 0;
  }

  /* Nav mobile */
  .burger {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-list.active {
    transform: translateY(0);
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 120px 20px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  /* Grids */
  .artists-grid,
  .espace-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Table */
  .tarifs-table th,
  .tarifs-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  /* Form */
  .form-wrapper {
    padding: 25px 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Button bigger on mobile */
  .btn {
    padding: 16px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .logo {
    font-size: 1rem;
  }

  .container {
    width: 92%;
  }
}
