@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4e73df;
  --secondary-color: #1cc88a;
  --light-color: #f8f9fc;
  --dark-color: #5a5c69;
  --font-family: "Poppins", sans-serif;
}

body {
  background-color: black;
  color: white;
  font-family: "Poppins", sans-serif;
}

section {
  padding: 100px;
  text-align: center;
}

.menu {
  display: flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid white;
  border-radius: 8px;
  padding: 10px 20px;
}

#menu-icon {
  font-size: 28px;
  margin-left: 10px;
  z-index: 6;
}

.home {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 0 100px;
}

.home-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.profile-section {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.profile-img {
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--primary-color);
  box-shadow: 0 20px 40px rgba(78, 115, 223, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(78, 115, 223, 0.4);
}

/* Social Media Styles */
.social-media {
  text-align: center;
}

.social-media h3 {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  font-size: 20px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
  border-color: var(--primary-color);
  background: rgba(78, 115, 223, 0.2);
}

/* Couleurs spécifiques pour chaque réseau social */
.social-links a:nth-child(1):hover {
  background: #333;
  border-color: #333;
}

.social-links a:nth-child(2):hover {
  background: #0077b5;
  border-color: #0077b5;
}

.social-links a:nth-child(3):hover {
  background: #1da1f2;
  border-color: #1da1f2;
}

.social-links a:nth-child(4):hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  border-color: #e1306c;
}

.social-links a:nth-child(5):hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.home-text span {
  display: inline-block;
  padding: 8px 25px;
  background: rgba(78, 115, 223, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.home-text h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 20px 0;
  line-height: 1.2;
  background: linear-gradient(45deg, #fff, var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-text p {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 25px 0 35px 0;
}

.main-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.main-btn a {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.main-btn .btn {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.main-btn .btn:hover {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* ── Dropdown Télécharger ── */
.download-dropdown {
  position: relative;
  display: inline-block;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 12px 25px;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: white;
  box-shadow: 0 4px 20px rgba(78, 115, 223, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
}

.download-btn:hover {
  background: transparent;
  border: 2px solid var(--secondary-color);
  transform: translateY(-2px);
}

.download-btn .fa-download {
  font-size: 14px;
}

.dropdown-arrow {
  font-size: 10px;
  margin-left: 2px;
  transition: transform 0.3s ease;
}

.download-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* ── Menu ── */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(15, 15, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-radius: 12px;
  min-width: 230px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  z-index: 100;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(78, 115, 223, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Petite flèche indicatrice au-dessus du menu */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(15, 15, 30, 0.92);
  border-left: 1px solid rgba(78, 115, 223, 0.35);
  border-top: 1px solid rgba(78, 115, 223, 0.35);
  border-radius: 2px 0 0 0;
}

.download-dropdown:hover .dropdown-menu,
.download-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ── Items ── */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.dropdown-item:last-child {
  border-bottom: none;
}

/* Icône dans un cercle coloré */
.dropdown-item .icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 15px;
  transition: transform 0.2s ease;
}

.dropdown-item:nth-child(1) .icon-wrap {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.dropdown-item:nth-child(2) .icon-wrap {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.dropdown-item .item-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dropdown-item .item-title {
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.95);
}

.dropdown-item .item-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}

.dropdown-item:hover {
  background: rgba(78, 115, 223, 0.12);
  color: white;
  padding-left: 24px;
}

.dropdown-item:hover .icon-wrap {
  transform: scale(1.1);
}
