@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  html {
    scroll-behavior: smooth;
  }
  body {
    @apply bg-cream text-navy antialiased;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea {
    @apply w-full rounded border border-sable-dark px-3 py-2 focus:border-tan focus:ring-1 focus:ring-tan;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
}

.modal-overlay.hidden {
  display: none;
}

.modal-content {
  max-width: 95%;
  max-height: 95%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  height: auto;
  width: auto;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: #f7f1e8;
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 9999px;
  padding: 0.5rem;
  cursor: pointer;
}

/* Accent doré pour détails luxueux */
.separator-gold {
  height: 1px;
  background: linear-gradient(to right, transparent, #D4AF37, transparent);
  opacity: 0.7;
}
