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

/* GLOBAL */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #f5f5f5;
  color: #111;
}

p {
  text-align: justify;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
.header {
  background: #000;
  color: #fff;
  padding: 20px 0;
}

.header-content {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
}

nav a {
  margin-left: 25px;
  opacity: 0.7;
}

nav a.active,
nav a:hover {
  opacity: 1;
}


.header-content {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
}

/* Bloc droite */
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/* Icône Instagram */
.instagram-link {
  margin-left: 25px;
  display: flex;
  align-items: center;
}

.instagram-link img {
  width: 40px;
  height: 40px;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.instagram-link:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/*----LOGO---- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;              /* espace entre logo et texte */
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: #fff;
}

/* Image du logo */
.logo img {
  height: 120px;           /* ajuste selon ton logo */
  width: auto;
  display: block;
}


/* INTRO */
.customs-intro {
  background: #000;
  color: #fff;
  padding: 30px 0 50px;
}

.intro-content {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

.customs-intro h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.customs-intro p {
  opacity: 0.85;
  max-width: 700px;
}

/* GRID */
.customs-grid {
  width: 90%;
  max-width: 1200px;
  margin: 60px auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}


/* CARD */
.custom-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.custom-info {
  padding: 18px;
}

.custom-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* TAGS */
.tag {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 2px;
}

.tag.deco {
  background: #eee;
  color: #333;
}

.tag.ride {
  background: #000;
  color: #fff;
}

/* FOOTER */
footer {
  background: #000;
  color: #aaa;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  font-size: 0.8rem;
}

/* VERSION TELEPHONE */
/* RESPONSIVE */
@media (max-width: 800px) {

  /* Header */
  .header-content {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .header-right {
    margin-left: 0;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav a {
    margin-left: 0;
  }

  .instagram-link {
    margin-left: 0;
  }

  /* Intro */
  .customs-intro {
    padding: 24px 0 34px;
  }

  .customs-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 14px;
    text-align: center;
  }

  .customs-intro p {
    text-align: left; /* plus lisible sur mobile */
  }

  /* Grid */
  .customs-grid {
    grid-template-columns: 1fr; /* 1 colonne sur tel */
    gap: 20px;
    margin: 30px auto 50px;
  }

  /* Cards */
  .custom-card img {
    height: 220px; /* tu peux laisser comme ça */
  }
}

@media (max-width: 1100px) {
  .customs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .customs-grid {
    grid-template-columns: 1fr;
  }
}
