@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Cinzel:wght@500;700&display=swap');

:root {
  --or: #d4af37;
  --or-foncé: #ddc062;
  --marron-foncé: #3a1f04;
  --ivoire: #fff8e1;
  --papier: rgba(255, 255, 225, 0.85);
  --ombre-douce: 0 0 40px rgba(0, 0, 0, 0.3);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Playfair Display', serif;
  color: var(--marron-foncé);
  background: url('../images/Fond_acceuil.jpg') no-repeat center center fixed;
  background-size: cover;
}
/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #5b3b10, #b2915f);
  padding: 1rem 2rem;
  color: var(--ivoire);
  border-bottom: 4px solid var(--or);
  box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 1rem;
}

.logo {
    font-variant: small-caps;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 1px 1px 2px #000;
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--ivoire);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.3rem 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: var(--or);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

nav a:hover::after {
    transform: scaleX(1);
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto; 
}

.header-buttons .button {
    padding: 0.5rem 1rem;
    background-color: var(--or);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    margin-right: 3rem;
}

.language-selector select {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--or);
    background-color: #fff;
    cursor: pointer;
}

.button {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: var(--or);
  color: #fff;
  font-weight: bold;
  padding: 1rem 1.7rem;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.button:hover {
  background-color: #e1c96e;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Footer */
footer {
  background-color: var(--marron-foncé);
  color: var(--ivoire);
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
  border-top: 2px solid var(--or);
  margin-top: auto; /* Pousse le footer vers le bas */
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Webkit scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--papier);
}

::-webkit-scrollbar-thumb {
  background: var(--or);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b48c28;
}