@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --deep: #021a2e;
  --ocean: #0a3d62;
  --mid: #0c6291;
  --wave: #1b9aaa;
  --foam: #a8dadc;
  --sky: #e8f4f8;
  --white: #ffffff;
  --accent: #f4a261;
  --accent2: #e76f51;
  --text: #1a1a2e;
  --text-light: #5a6a7a;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(2, 26, 46, 0.18);
  --shadow-lg: 0 20px 60px rgba(2, 26, 46, 0.28);
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--sky);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.menu {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 26, 46, 0.96);
  backdrop-filter: blur(12px);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.menu .logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--accent);
  letter-spacing: 2px;
  margin-right: auto;
  text-decoration: none;
}

.menu a:not(.logo) {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 22px 16px;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
  border-bottom: 3px solid transparent;
  display: inline-block;
}

.menu a:not(.logo):hover {
  color: var(--white);
  border-bottom-color: var(--accent);
}

.menu a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--ocean) 50%, var(--mid) 100%);
  color: white;
  padding: 80px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 80px);
  letter-spacing: 4px;
  margin-bottom: 12px;
  position: relative;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  position: relative;
}

/* ===== MAIN CONTENT ===== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 30px;
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 2px;
  color: var(--ocean);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 40px;
  font-weight: 300;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  margin: 12px 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--wave), var(--mid));
  color: white;
  box-shadow: 0 4px 20px rgba(27, 154, 170, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 154, 170, 0.5);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  box-shadow: 0 4px 20px rgba(244, 162, 97, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244, 162, 97, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--wave);
  color: var(--wave);
}

.btn-outline:hover {
  background: var(--wave);
  color: white;
}

/* ===== IMAGES ===== */
.img-rounded {
  border-radius: var(--radius);
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  border-radius: var(--radius);
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, var(--foam), var(--wave));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 20px;
}

/* ===== CONTACT PAGE ===== */
.contact-box {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 60px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--sky);
  font-size: 17px;
  font-weight: 500;
  color: var(--ocean);
}

.contact-info-item:last-of-type {
  border-bottom: none;
}

.contact-note {
  margin-top: 30px;
  font-style: italic;
  color: var(--text-light);
  font-size: 15px;
}

/* ===== RESERVATION FORM ===== */
.formulaire {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 50px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ocean);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e0eaf2;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--sky);
  transition: border-color 0.25s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--wave);
  background: white;
}

.form-group textarea {
  height: 130px;
  resize: vertical;
}

.form-full {
  grid-column: 1 / -1;
}

.formulaire .btn {
  width: 100%;
  margin-top: 10px;
  font-size: 16px;
  padding: 16px;
  border-radius: 10px;
}

/* ===== METEO PAGE ===== */
.meteo-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 30px;
}

.meteo-embed iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--deep);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

footer a {
  color: var(--foam);
  text-decoration: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeUp; animation-duration: 0.6s; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeUp; animation-duration: 0.6s; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeUp; animation-duration: 0.6s; }
.fade-up-delay-4 { animation-delay: 0.4s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeUp; animation-duration: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu {
    flex-wrap: wrap;
    padding: 10px 16px;
    gap: 0;
  }

  .menu .logo {
    width: 100%;
    padding: 10px 0;
    margin-bottom: 4px;
  }

  .menu a:not(.logo) {
    padding: 10px 8px;
    font-size: 13px;
  }

  main {
    padding: 40px 20px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-box,
  .formulaire {
    padding: 30px 20px;
  }

  .page-hero {
    padding: 60px 20px 40px;
  }
}