

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

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #1f1f1f;
  color: white;
}

/* NAVIGATION */
nav {
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0.4rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 2rem;
}

.logo {
  height: 32px;
}

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

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffcc00;
}

/* HERO */
.home-hero {
  height: 100vh;
  background-image: url('images/drone-shot-1.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero .overlay {
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

.hero-text {
  position: relative;
  color: white;
  text-align: center;
  z-index: 1;
  padding: 2rem;
}

.hero-text h1 {
  font-size: 3.5rem;
  letter-spacing: 1px;
}

.hero-text p {
  font-size: 1.5rem;
  margin-top: 1rem;
  opacity: 0.85;
}

.cta-btn {
  margin-top: 1.5rem;
  display: inline-block;
  background-color: #ffcc00;
  color: #000;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #e6b800;
}

.hero.home-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 150px;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #1f1f1f 100%);
  z-index: 2;
  pointer-events: none;
}

/* SECTIONS */

/* === SÉPARATEURS ENTRE SECTIONS === */

section {
  position: relative;
  padding: 5rem 2rem;
  background-color: #1f1f1f;
  color: white;
}

section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 90%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-50%);
}


/* PORTFOLIO */
.portfolio-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 4rem 2rem;
}

.portfolio-item {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-item:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}

.portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform, filter;
}

.portfolio-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.5);
}

.project-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .project-overlay {
  opacity: 1;
}

.project-button {
  padding: 0.6rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid white;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(3px);
}

.project-button:hover {
  background-color: white;
  color: black;
  transform: scale(1.05);
}

/* A PROPOS */
.apropos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.apropos-photo-container {
  flex: 1;
  max-width: 400px;
}

.apropos-photo {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

.apropos-text {
  flex: 2;
  text-align: center;
}

.apropos-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.apropos-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .apropos-container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .apropos-text {
    text-align: left;
    padding-left: 2rem;
  }
}

/* CONTACT */
/* === SECTION CONTACT === */

#contact {
  padding: 5rem 2rem;
  background-color: #1f1f1f;
  color: white;
  text-align: center;
}

.contact-container {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.contact-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
}

.contact-info a {
  color: #ffcc00;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-socials {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.contact-socials a {
  font-size: 2.5rem;
  color: white;
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-socials a:hover {
  color: #ffcc00;
}

/* FOOTER */
footer {
  background-color: #1f1f1f;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* === PRESTATIONS ATTRACTIVES === */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 3rem;
}

.prestations-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: auto;
  padding: 4rem 2rem;
  overflow-x: auto;
}

.prestation-card {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-color: #1f1f1f;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.prestation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* assombrissement plus fort */
  backdrop-filter: blur(1px);
  z-index: 1;
  transition: backdrop-filter 0.4s ease;
}

.prestation-card:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}
.prestation-card:hover::before {
  backdrop-filter: blur(2px);
}

.prestation-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: white;
}

.prestation-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.prestation-overlay p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.5;
}
/* === SÉPARATEUR VISUEL ENTRE PRESTATIONS ET PORTFOLIO === */

#prestations::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 90%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-50%);
}


#instagram {
 #instagram {
  background-color: #1f1f1f;
  padding: 4rem 2rem;
  text-align: center;
}

.instagram-feed {
  display: flex;
  justify-content: center;
  align-items: center;
}

.instagram-feed iframe.lightwidget-widget {
  max-width: 1200px;
  width: 100%;
  height: 500px;
  margin: auto;
  display: block;
  border: none;
}
