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

body {
  font-family:
    "Inter",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: #f7ede2;
  color: #2c241e;
  line-height: 1.5;
}

/* Navigation */
.navbar {
  background: #1a1a1a;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo h1 {
  color: #e8c9a0;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.logo p {
  color: #9b8a7a;
  font-size: 0.75rem;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #f0ebe3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #e8c9a0;
}

/* Hero Section */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("/images/musee_photo.jpeg");
  background-size: cover;
  background-position: center 30%;
  height: 75vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero-content h2 {
  font-size: 3.2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-hero {
  background: #b87c4f;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
  border-radius: 40px;
}

.btn-hero:hover {
  background: #9a623d;
}

/* Section titre */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: #3a2c24;
  letter-spacing: -0.3px;
}

.section-subtitle {
  text-align: center;
  color: #7a6858;
  margin-bottom: 3rem;
  font-size: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Collection mise en avant */
.featured-section {
  padding: 5rem 2rem;
  background: #fffefb;
}

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

.art-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.art-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.card-image {
  height: 280px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.art-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #b87c4f;
  font-weight: 600;
}

.card-title {
  font-size: 1.4rem;
  margin: 0.5rem 0;
  color: #2c241e;
}

.card-description {
  color: #5e5246;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.btn-card {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #b87c4f;
  color: #b87c4f;
  text-decoration: none;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-card:hover {
  background: #b87c4f;
  color: white;
}

/* À propos */
.about-section {
  background: #f0ebe2;
  padding: 5rem 2rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
  color: #3a2c24;
}

.about-text p {
  margin-bottom: 1rem;
  color: #4a3e34;
  line-height: 1.7;
}

.about-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* Infos pratiques */
.info-section {
  padding: 5rem 2rem;
  background: #fffefb;
}

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

.info-card {
  text-align: center;
  padding: 1.5rem;
  background: #f8f4ed;
  border-radius: 20px;
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #3a2c24;
}

.info-card p {
  color: #6b5a4e;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #b0a088;
  padding: 3rem 2rem 1.5rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  color: #e8c9a0;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col p,
.footer-col a {
  color: #9b8a7a;
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-col a:hover {
  color: #e8c9a0;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #2c2c2c;
  font-size: 0.75rem;
}

/* Hamburger menu */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Le menu lui-même - glisse depuis la droite */
.nav-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #1a1a1a;
  z-index: 1000;
  padding: 2rem 1.5rem;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.nav-menu.active {
  right: 0;
}

/* Bouton de fermeture (croix) */
.nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #e8c9a0;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s;
  padding: 5px;
  line-height: 1;
}

.nav-close:hover {
  transform: rotate(90deg);
  color: white;
}

/* Logo dans le menu */
.nav-menu .logo-mobile {
  margin-top: 40px;
  margin-bottom: 2rem;
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
}

.nav-menu .logo-mobile h2 {
  color: #e8c9a0;
  font-size: 1.3rem;
  font-weight: 500;
}

.nav-menu .logo-mobile p {
  color: #9b8a7a;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

/* Liens dans le menu */
.nav-menu .nav-links-mobile {
  list-style: none;
  padding: 0;
}

.nav-menu .nav-links-mobile li {
  margin-bottom: 0.5rem;
}

.nav-menu .nav-links-mobile a {
  display: block;
  color: #f0ebe3;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s;
  font-weight: 500;
}

.nav-menu .nav-links-mobile a:hover,
.nav-menu .nav-links-mobile a.active {
  background: #b87c4f;
  color: white;
}

/* Cacher le hamburger sur desktop */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  position: relative;
}

.hamburger .bar {
  width: 28px;
  height: 3px;
  background-color: #e8c9a0;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  /* Cacher les anciens liens */
  .nav-links {
    display: none !important;
  }
}
.carousel {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-track .art-card {
  flex: 0 0 calc((100% - 4rem) / 3);
}

.carousel-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #b87c4f;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: 0.3s;
}

.carousel-btn:hover {
  background: #9a623d;
}

@media (max-width: 768px) {
  .carousel-track .art-card {
    flex: 0 0 100%;
  }
}
