/* ============================================================
   Le Quai Bleu — Main Stylesheet
   ============================================================ */

/* --- Variables & Reset --- */
:root {
  --navy: #0d2137;
  --navy-dark: #08151f;
  --gold: #c9a84c;
  --gold-light: #e8c96d;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --grey: #6b7280;
  --grey-light: #e5e7eb;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
  --radius: 4px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

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

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
}

h3 {
  font-size: 1.3rem;
  color: var(--navy);
}

p {
  color: var(--grey);
  font-size: 1rem;
}

/* --- Utility --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

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

.section-header p {
  max-width: 540px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}

.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}

section {
  padding: 5rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy-dark);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.03em;
}

.navbar-brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}

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

.nav-links .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 50%, #0d2137 100%);
  z-index: 0;
}

/* Decorative wave pattern */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(201,168,76,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% -10%, rgba(255,255,255,0.04) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 6rem 1.5rem 4rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: var(--white);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   MENU
   ============================================================ */
#menu {
  background: var(--off-white);
}

.menu-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.menu-category h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1.5rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--grey-light);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-info {
  flex: 1;
}

.menu-item-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.menu-item-desc {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.4;
}

.menu-item-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.menu-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--grey);
  font-style: italic;
}

/* ============================================================
   HORAIRES
   ============================================================ */
#horaires {
  background: var(--navy);
  color: var(--white);
}

#horaires h2 {
  color: var(--white);
}

#horaires p {
  color: rgba(255,255,255,0.65);
}

.horaires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.horaires-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 1.75rem;
}

.horaires-block h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.horaires-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.horaires-row:last-child {
  border-bottom: none;
}

.horaires-day {
  color: rgba(255,255,255,0.75);
}

.horaires-time {
  color: var(--white);
  font-weight: 600;
}

.horaires-closed {
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* ============================================================
   RESERVATION
   ============================================================ */
#reservation {
  background: var(--white);
}

.reservation-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.reservation-info h2 {
  text-align: left;
}

.reservation-info .divider {
  margin: 1rem 0 0;
}

.reservation-info p {
  margin-top: 1.25rem;
  font-size: 1rem;
}

.reservation-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.detail-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--navy-dark);
}

.detail-text strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}

.detail-text span {
  color: var(--grey);
  font-size: 0.85rem;
}

/* Form */
.reservation-form {
  background: var(--off-white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group.full {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  border: none;
  font-size: 0.9rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 1.5rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  margin-top: 1rem;
  color: var(--navy);
  font-size: 0.95rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.contact-item-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.contact-item-text span,
.contact-item-text a {
  color: var(--grey);
  font-size: 0.95rem;
  display: block;
  line-height: 1.5;
}

.contact-item-text a:hover {
  color: var(--gold);
}

/* Map placeholder */
.map-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-pin {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.map-pin::after {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--navy);
  border-radius: 50%;
  transform: rotate(45deg);
}

.map-label {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}

footer strong {
  color: var(--gold);
  font-family: var(--font-heading);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 99;
  }

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

  .nav-links a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 101;
  }

  .navbar-brand {
    position: relative;
    z-index: 101;
  }

  /* Reservation */
  .reservation-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .reservation-info h2 {
    text-align: center;
  }

  .reservation-info .divider {
    margin: 1rem auto 0;
  }

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

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .reservation-form {
    padding: 1.5rem;
  }

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