/* RESET BASIQUE */
* {
  box-sizing: border-box;
}

/* BODY */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8f8f8;
  color: #222;
}

/* HEADER */
.headstyle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(../imgs/7.jpg);
  background-size: cover;
  background-position: center;
  min-height: 95vh; 
  padding: 20px;
  text-align: center;
}

/* INTRO */
.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000;
}

.intro h1 {
  font-size: clamp(24px, 5vw, 36px);
}

.intro p {
  font-size: clamp(14px, 3vw, 18px);
}

/* MENSURATIONS */
.mensurations {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

/* NAVIGATION */
nav {
  background: #111;
  text-align: center;
  padding: 10px;
}

nav a {
  color: #fff;
  margin: 5px 10px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

/* SECTIONS */
section {
  padding: 40px 15px;
  max-width: 1000px;
  margin: auto;
}

/* MENSURATIONS ZONE */
#mensurations {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* TITRES */
h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* INFOS */
.infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  width: 100%;
  background: #0066cc;
  padding: 15px;
  border-radius: 8px;
}

.infos div {
  font-size: 14px;
  color: #fff;
}

/* LIENS */
a {
  color: #0066cc;
  text-decoration: none;
}

/* ICONES */
i {
  font-size: 26px;
}

/* FOOTER */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ======================
   MEDIA QUERIES
====================== */

/* MOBILE */
@media (max-width: 600px) {
  nav a {
    display: block;
    margin: 8px 0;
  }

  .infos {
    padding: 10px;
  }

  i {
    font-size: 22px;
  }
}

/* TABLETTE */
@media (min-width: 601px) and (max-width: 992px) {
  .intro h1 {
    font-size: 30px;
  }
}
