* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f4f6f9;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0b1c2c;
  padding: 15px 30px;
  color: #fff;
}

.navbar .logo {
   font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD700;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #FFD700;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Login button */
.login-btn {
  background: #FFD700;
  padding: 8px 14px;
  border-radius: 6px;
  color: #0b1c2c !important;
  font-weight: bold;
}

.login-btn:hover {
  background: #fff;
  color: #0b1c2c !important;
}
/*end navbar*/

/* Reservation Section */
.contacter {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("/Image/header.jpg") center/cover no-repeat;
  position: relative;
  padding: 40px 20px;
}

.contacter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
}

/* Form Box */
.contacter form {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 40px 50px;
  border-radius: 16px;
  width: 100%;
  max-width: 750px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
  border-top: 6px solid #002147;
}

/* Title */
.contacter form h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 30px;
  color: #002147;
  font-weight: 700;
}

/* Layout (row + col) */
.row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.col {
  flex: 1;
  min-width: 200px;
}

/* Input, Select, Textarea */
.contacter form input,
.contacter form select,
.contacter form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
  transition: 0.3s ease;
  background: #fff;
}

/* Focus effect */
.contacter form input:focus,
.contacter form select:focus,
.contacter form textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* Dropdown (Custom Arrow) */
.contacter form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url("data:image/svg+xml;utf8,<svg fill='%23002147' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 14px center;
  background-size: 14px;
  cursor: pointer;
}

/* Textarea */
.contacter form textarea {
  resize: none;
  min-height: 120px;
}

/* Labels */
.contacter form label {
  font-weight: 600;
  font-size: 14px;
  color: #002147;
}

/* Submit Button */
#button {
  width: 100%;
  padding: 14px;
  margin-top: 15px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a2e40 , #0b1c2c);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

#button:hover {
  background: linear-gradient(135deg, #0b1c2c, #1a2e40);
  transform: translateY(-2px);
}

/* === Modal Overlay === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* === Modal Box === */
.modal-box {
  background: #fff;
  padding: 2rem 3rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  animation: popup 0.3s ease-out;
  max-width: 400px;
  width: 90%;
}

.modal-box h2 {
  font-size: 1.6rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.modal-box p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.modal-box button {
  background-color: #001f3f;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
}

.modal-box button:hover {
  background-color: #004080;
}

/* === Popup Animation === */
@keyframes popup {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
