@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@500&family=Orbitron:wght@600&display=swap");

/* ===== Global ===== */
body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background-color: #050505;
  color: #f5f5f5;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

/* ===== Animated Background ===== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, #001f3f, transparent 60%),
              radial-gradient(circle at 80% 80%, #003366, transparent 60%);
  animation: pulse 6s infinite alternate;
  z-index: -1;
  opacity: 0.4;
}

@keyframes pulse {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.3); }
}

/* ===== Header Hero ===== */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #001f3f, #002a66);
  box-shadow: 0 0 20px #003366;
}

.hero h1 {
  font-family: "Orbitron", sans-serif;
  color: #00bfff;
  font-size: 2.2em;
  margin: 10px 0;
}

.hero p {
  margin: 5px 0 15px 0;
  color: #ddd;
  font-size: 1.1em;
}

/* ===== Logo Glow ===== */
.logo {
  width: 140px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: none;
  box-shadow: 0 0 25px #00bfff, 0 0 50px #1ec0ff, inset 0 0 20px #0066cc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet au hover */
.logo:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 0 35px #00ffff, 0 0 70px #1ec0ff, inset 0 0 30px #0077ff;
}

/* Glow animé sans interférer avec hover */
@keyframes glow {
  0% {
    box-shadow: 0 0 25px #00bfff, 0 0 50px #1ec0ff, inset 0 0 20px #0066cc;
  }
  50% {
    box-shadow: 0 0 30px #00dfff, 0 0 60px #1ec0ff, inset 0 0 25px #0077ff;
  }
  100% {
    box-shadow: 0 0 25px #00bfff, 0 0 50px #1ec0ff, inset 0 0 20px #0066cc;
  }
}

/* Appliquer l'animation */
.logo {
  animation: glow 4s ease-in-out infinite alternate;
}


.z4ck {
  font-weight: bold;
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
}

.emoji {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  font-size: 1.2em;
  transition: all 0.4s ease;
}

.powered:hover .z4ck {
  color: #00ffff;
  text-shadow: 0 0 20px #00ffff, 0 0 40px #00bfff;
}

.powered:hover .emoji {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

/* ===== Navbar ===== */
.navbar {
  background: #001f3f;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px;
  border-bottom: 2px solid #00bfff;
}

.navbar a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: bold;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.navbar a:hover {
  color: #00bfff;
  text-shadow: 0 0 8px #00bfff;
  transform: scale(1.05);
}

/* ===== Sections ===== */
.section {
  padding: 50px 20px;
  border-bottom: 1px solid #333;


}

.section h2 {
  color: #00bfff;
  font-family: "Orbitron", sans-serif;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.section p,
.section ul,
.section pre {
  font-size: 1.05em;
  line-height: 1.8;
}

.section ul {
  list-style: none;
  padding: 0;
}

.section ul li {
  margin-bottom: 10px;
  background: rgba(0, 20, 40, 0.5);
  padding: 8px 12px;
  border-left: 4px solid #00bfff;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.section ul li:hover {
  transform: scale(1.02);
}

/* ===== Images HQ ===== */
.photo-container {
  position: relative;
  display: block;
  max-width: 900px;
  margin: 20px auto;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 25px #003366;
  filter: brightness(0.85) contrast(1.2) saturate(1.3);
  max-height: 400px;
  object-fit: cover;
}

.photo-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, transparent 70%);
  border-radius: 10px;
  pointer-events: none;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 20px;
  background: #001f3f;
  color: #ccc;
  border-top: 2px solid #00bfff;
  font-size: 0.95em;
}

/* ===== CTA / Quick Links Panel ===== */
.cta-checkbox { display: none; }

.cta-panel {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 320px;
  max-height: 500px;
  background: #001f3f;
  border: 2px solid #00bfff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 20px #00bfff;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 1001;
  overflow-y: auto;
  padding-bottom: 20px;
}

.cta-checkbox:checked + .cta-open-tab + .cta-panel {
  transform: translateY(0);
}

.cta-open-tab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #00bfff;
  color: #050505;
  padding: 8px 15px;
  border-radius: 10px 10px 0 0;
  font-weight: bold;
  cursor: pointer;
  z-index: 1002;
  box-shadow: 0 0 10px #00bfff;
}

.cta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #003366;
  padding: 10px 15px;
}

.cta-title strong {
  color: #00bfff;
  font-size: 1rem;
}

.cta-title span {
  color: #fff;
  font-size: 0.9rem;
}

.cta-close {
  cursor: pointer;
  color: #ff5555;
  font-size: 1.2rem;
}

.cta-body {
  padding: 10px 15px;
}

.cta-desc {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.cta-links {
  list-style: none;
  padding: 0;
}

.cta-links li {
  margin-bottom: 8px;
}

.cta-btn {
  display: block;
  text-decoration: none;
  color: #f5f5f5;
  background: #001f3f;
  border: 1px solid #00bfff;
  border-radius: 5px;
  padding: 6px 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #00bfff;
  color: #050505;
  transform: scale(1.05);
}

.cta-btn.subtle {
  background: transparent;
  border: none;
  color: #ff5555;
}

.cta-footer {
  text-align: center;
  padding: 8px;
  background: #003366;
  font-size: 0.8rem;
  color: #00bfff;
}
