/* style.css */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #222;
  font-weight: 400;
}
.section h2,
.entreprise-content h2,
.entreprise-content h3,
.contact-block h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255, 255, 255);
  border-bottom: 1px solid #e6e6e6;
  backdrop-filter: blur(8px);
}

.header-left,
.header-right {
  flex: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
}
.nav a {
  text-decoration: none;
  color: #222;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
}
.nav a:hover {
    color: #888;
}
.nav .highlight {
    color: #FFF;
    background-color: #444;
    border-radius: 50px;
    padding: 14px;
    transition: all 0.3s ease;
}
.nav .highlight:hover {
    color: #FFF;
    background-color: #888;
}

.logo {
  height: 48px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.logo:hover {
  height: 52px;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.phone-number {
  text-decoration: none;
  color: #444;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s ease;
}
.phone-number:hover {
  color: #888;
}

/* =========================
   TOP VIDEO
========================= */

.hero-video {
  position: relative;
  width: 100%;
  height: calc(100vh - 88px);
  overflow: hidden;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* =========================
   CONTENT SECTIONS
========================= */

.section {
  padding: 60px 40px;
}

.section h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 2rem;
}

/* =========================
   SECTION ENTREPRISE
========================= */

.entreprise-container {
  max-width: 1200px;
  margin: 0 auto;
}
.entreprise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.entreprise-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}
.entreprise-content h2 {
  font-size: 38px;
  margin-bottom: 20px;
}
.entreprise-content h3 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #444;
}
.entreprise-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}
@media (max-width: 900px) {
  .entreprise-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* =========================
   VEHICULES
========================= */
.vehicules-grid {
  margin: auto;
  width: 50%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}
.vehicule-card {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.vehicule-card img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}
.vehicule-card img:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
    .vehicules-grid {
        width: 100%;
    }
}


/* =========================
   CONTACT
========================= */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-buttons {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  gap: 10px;
}
.contact-btn {
  text-decoration: underline;
  font-size: 18px;
  font-weight: 600;
  color: #444;
  transition: all 0.3s ease;
}
.contact-btn:hover {
  text-decoration: none;
}
.contact-block h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #444;
}
.contact-block p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}
.contact-block .address a {
    text-decoration: none;
    transition: all 0.3s ease;
}
.contact-block .address a:hover {
    text-decoration: underline;
}
.contact-block .address p {
    font-size: 14px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* =========================
   RÉSERVER
========================= */
.reserver {
  width: 100%;
  text-align: center;
  margin: auto;
}
.reserver .reserver-btn {
  margin: auto;
  font-size: 24px;
  background-color: #444;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
  border-radius: 50px;
  padding: 30px;
  color: #FFF;
  transition: all 0.3s ease;
}
.reserver .reserver-btn:hover {
  padding: 36px;
  background-color: #888;
}

/* =========================
   FOOTER
========================= */
footer {
    padding: 20px;
}
footer p {
    text-align: center;
    font-size: 12px;
    color: #444;
}


/* =========================
   LIGHTBOX
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

  .header {
    height: auto;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .header-left,
  .header-right {
    flex: unset;
  }
  .nav {
    gap: 24px;
    flex-wrap: wrap;
  }
  .nav .highlight {
    padding: 20px;
  }
  .header-right {
    display: none !important;
  }
  .hero-video {
    height: 40vh;
  }
  .section {
    padding: 30px 20px;
   }
  .section h2 {
    font-size: 32px;
  }
}