/* ---------------- RESET ---------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---------------- BODY ---------------- */
body {
  font-family: Inter, Arial, sans-serif;
  background: #fff;
  color: #111;
  opacity: 0;
  transition: opacity 1s ease;
  overflow: hidden;
}

body.loaded {
  opacity: 1;
}

/* HEADER */ 
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 48px 24px 48px; /* plus d'espace au-dessus et entre logo/nav */
}

/* LOGO */
.logo {
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  color: #111;
}


.logo span {
  margin-left: 6px;
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px; /* plus d'espace entre les liens */
}

.main-nav a {
  text-decoration: none;
  color: #111;
  font-size: 16px;
  padding-bottom: 8px;
}

.main-nav a.active {
  border-bottom: 2px solid #111;
}

/* INSTAGRAM BUTTON */
.insta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #111;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 500;
}

.insta-btn:hover {
  background: #111;
}

.insta-btn svg {
  width: 22px;
  height: 22px;
  fill: #111;
  transition: fill 0.3s ease;
}

.insta-btn:hover svg {
  fill: #fff;
}

/* ---------------- CONTACT LAYOUT ---------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 80px;
  padding: 140px 8vw;
  min-height: calc(100vh - 140px);
}

/* ---------------- TEXT ---------------- */
.contact-text h1 {
  font-family: 'Syncopate', sans-serif;
  font-size: 34px;
  margin-bottom: 24px;
}

.contact-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  max-width: 500px;
}

.contact-info {
  margin-top: 30px;
}

.contact-info a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.contact-info a:hover {
  border-color: #111;
}

/* ---------------- FORM ---------------- */
.contact-form {
  background: #f5f5f5;
  padding: 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  font-weight: 600;
  font-size: 14px;
}

.contact-form label span {
  color: #ff4d4d;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #111;
  outline: none;
}

.contact-form button {
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #333;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  position: absolute;
  bottom: 10;
  width: 100%;
  text-align: center;
  padding: 16px 0;
  font-size: 12px;
  color: #555;
  border-top: 1px solid #eee;
  background: #fff;
}

/* BURGER */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 600;
  position: relative;
}

.mobile-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #111;
  border-radius: 2px;
  transition: all 0.3s ease;
}

body.menu-open .mobile-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.menu-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .mobile-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE MENU OVERLAY */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 400;
}

body.menu-open .mobile-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-overlay a {
  font-size: 20px;
  color: #111;
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.mobile-menu-overlay a:hover {
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .main-nav { display: none; }
  .about-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 40px 6vw; }
  .about-image img { height: 50vh; }
  .about-text h1 { font-size: 26px; }
  .insta-btn { display: none; }
}



/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  body { overflow-y: auto; }

  .main-nav { position: static; transform: none; margin-top: 20px; flex-wrap: wrap; justify-content: center; }

  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 80px 6vw;
    gap: 40px;
    min-height: auto;
  }

  .contact-text h1 { font-size: 28px; text-align: center; }

  .contact-text p,
  .contact-info { text-align: center; }
}
