:root {
  --bg-main: #050506;
  --bg-deep: #030305;
  --bg-card: #111017;
  --gold: #f3c776;
  --gold-soft: #d3aa5e;
  --text-main: #f5f3ef;
  --text-muted: #b9ac95;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: radial-gradient(circle at top, #141018, #030305 70%);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 0.96rem;
}

/* Titres plus luxe */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.06em;
}

/* NAVBAR */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(3, 3, 5, 0.88);
  border-bottom: 1px solid rgba(243, 199, 118, 0.14);
  z-index: 100;
}

.logo-image {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-menu a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-main);
  opacity: 0.8;
}

.main-menu a:hover {
  opacity: 1;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #20140b;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(243, 199, 118, 0.4);
  color: var(--gold);
}

.btn.ghost:hover {
  background: rgba(243, 199, 118, 0.08);
}

.btn.full-width {
  width: 100%;
}

.insta-btn {
  border-color: rgba(243, 199, 118, 0.7);
  color: var(--gold);
}

.insta-btn:hover {
  background: rgba(243, 199, 118, 0.12);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/hero-paris-eiffel.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at top,
      rgba(243, 199, 118, 0.2),
      transparent 45%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.82), #030305 80%);
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  margin-top: 90px; /* même que la hauteur de la navbar */
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.hero-text-block h1 {
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 540px;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-side-card {
  background: linear-gradient(
    145deg,
    rgba(15, 11, 22, 0.95),
    rgba(6, 5, 9, 0.98)
  );
  border-radius: 24px;
  padding: 1.9rem 1.7rem;
  border: 1px solid rgba(243, 199, 118, 0.28);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75);
}

.side-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.side-text {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.side-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* SECTIONS */
.section {
  padding: 6rem 5vw;
}

.section-dark {
  background: radial-gradient(circle at top, #151019, #050307 70%);
}

.section-deep {
  background: radial-gradient(circle at top, #0b070e, #030305 70%);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.section h2 {
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* CARDS / PORTFOLIO */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(243, 199, 118, 0.22);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

/* Images des cartes */
.card-image-1 {
  /* Mariages */
  background-image: url("images/ceremony-arch-kiss.jpg");
}

.card-image-2 {
  /* Engagement & Couple */
  background-image: url("images/detail-hand-bowtie.jpg");
}

.card-image-3 {
  /* Préparatifs */
  background-image: url("images/prep-bridesmaids-toast.jpg");
}

.card-body {
  padding: 1.6rem 1.5rem 1.7rem;
}

.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.card-link {
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.card-link:hover {
  text-decoration: underline;
}

/* GALERIES PORTFOLIO */
#portfolio {
  scroll-margin-top: 100px; /* pour ne pas être caché par le menu */
}

.portfolio-galleries {
  margin-top: 3rem;
  display: grid;
  gap: 3rem;
}

/* cachées par défaut */
.portfolio-gallery {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  border-top: 1px solid rgba(243, 199, 118, 0.15);
  padding-top: 1.5rem;
}

/* quand on clique sur #galerie-... */
.portfolio-gallery:target {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.portfolio-gallery h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Grille des photos */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  /* plus panoramique */
  aspect-ratio: 3 / 2;
  max-height: 220px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
}

/* VIDEO SECTION */
.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.video-list {
  list-style: none;
  margin: 1.5rem 0 2.1rem;
}

.video-list li {
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.video-frame {
  border-radius: 24px;
  border: 1px solid rgba(243, 199, 118, 0.3);
  background: radial-gradient(circle at top, #271b32, #07040b);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
}

/* ABOUT */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: center;
}

.about-photo {
  border-radius: 26px;
  min-height: 380px;
  background-image: url("images/portrait-amir.jpg"); /* ton fichier .jpg */
  background-size: cover;
  background-position: center 65%;
  border: 1px solid rgba(243, 199, 118, 0.3);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85);
}

.about-text p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-form {
  background: rgba(5, 5, 8, 0.95);
  padding: 2.2rem 2rem;
  border-radius: 22px;
  border: 1px solid rgba(243, 199, 118, 0.35);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.8);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

input,
textarea {
  padding: 0.75rem 0.9rem;
  border-radius: 11px;
  border: 1px solid rgba(243, 199, 118, 0.28);
  background: #060509;
  color: var(--text-main);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(185, 172, 149, 0.7);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.contact-insta-block {
  margin-top: 1.4rem;
}

/* FOOTER */
.site-footer {
  padding: 1.8rem 5vw 2.4rem;
  text-align: center;
  background: var(--bg-deep);
  border-top: 1px solid rgba(243, 199, 118, 0.2);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-small {
  margin-top: 0.35rem;
  font-size: 0.78rem;
}

.footer-signature {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-signature span {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-side-card {
    max-width: 360px;
    margin-top: 1.5rem;
  }

  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  /* tablette : 2 colonnes de photos */
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .top-nav {
    padding: 0 1.4rem;
    height: 80px;
  }

  .main-menu {
    gap: 0.9rem;
    font-size: 0.78rem;
  }

  .logo-image {
    height: 60px;
  }

  .hero {
    padding-inline: 1.4rem;
  }

  .hero-inner {
    gap: 2rem;
  }

  .hero-text-block h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding-inline: 1.4rem;
  }

  .grid-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* mobile : 2 petites photos par ligne */
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .gallery-grid img {
    max-height: 150px;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }

  .card-image {
    height: 160px; /* cartes plus petites sur mobile */
  }

  .about-photo {
    min-height: 320px;
    background-position: center 45%;
  }
}

/* très petits écrans */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
