/*
  Vidéo – Stylesheet — ÉDITION FUTURISTE (Interface Holographique)
  Couleurs conservées : #3cb6e6 (cyan), #1940c0 (dark blue), #2563eb (primary)
  Motifs : circuits, scan-lines, coins HUD, halos lumineux
  Typographie : Orbitron (titres), Rajdhani (corps), Share Tech Mono (nav)
*/

@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap");

:root {
  --primary: #2563eb;
  --primary-soft: #16254d;
  --secondary: #3cb6e6;
  --cyan: #3cb6e6;
  --dark-blue: #1940c0;
  --bg: #0a1230;
  --white: #ffffff;
  --text: #e4ecff;
  --text-soft: #a3b4e0;
  --radius: 4px;
  --shadow: 0 8px 30px rgba(37, 99, 235, 0.22);
  --bg-panel: rgba(15, 26, 64, 0.55);
  --bg-panel-hover: rgba(20, 34, 84, 0.7);
  --glass-border: rgba(60, 182, 230, 0.22);
  --glass-border-strong: rgba(60, 182, 230, 0.45);
  --glow-cyan: 0 0 18px rgba(60, 182, 230, 0.45);
  --glow-primary: 0 0 24px rgba(37, 99, 235, 0.5);
  --pat-circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M8 8h24v12h20v8h8v16h8v12h8' fill='none' stroke='%233cb6e6' stroke-opacity='0.07' stroke-width='1'/%3E%3Ccircle cx='8' cy='8' r='3' fill='%233cb6e6' fill-opacity='0.12'/%3E%3Ccircle cx='76' cy='8' r='3' fill='%233cb6e6' fill-opacity='0.12'/%3E%3Ccircle cx='76' cy='88' r='3' fill='%233cb6e6' fill-opacity='0.12'/%3E%3Cpath d='M88 88H64v-12H44v-8h-8V52h-8V40H8' fill='none' stroke='%233cb6e6' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
  --pat-hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%233cb6e6' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
  --pat-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='1' cy='1' r='1' fill='%233cb6e6' fill-opacity='0.12'/%3E%3C/svg%3E");
  --pat-scan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M0 0h8v1H0z' fill='%233cb6e6' fill-opacity='0.03'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background-color: var(--bg);
  background-image: var(--pat-circuit);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

h1,
h2,
h3,
.logo,
.nav-logo {
  font-family: "Orbitron", sans-serif;
}

.mono,
code {
  font-family: "Share Tech Mono", monospace;
}

small {
  display: block;
  margin-top: 1.5rem;
  color: var(--text-soft);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.85rem;
  opacity: 0.7;
}

.logo,
.nav-logo {
  color: var(--cyan);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 0 14px rgba(60, 182, 230, 0.55);
}

.span1,
.span2 {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  letter-spacing: 2px;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.span1 {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(60, 182, 230, 0.55);
}

.span2 {
  color: var(--dark-blue);
}

.span1:hover {
  color: var(--dark-blue);
  text-shadow: 0 0 18px rgba(60, 182, 230, 0.85);
}

.span2:hover {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(60, 182, 230, 0.55);
}

header,
.header {
  position: relative;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 6%;
  background: rgba(10, 18, 48, 0.82);
  box-shadow: 0 1px 0 rgba(60, 182, 230, 0.15), 0 4px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

header::after,
.header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyan) 25%,
    var(--primary) 75%,
    transparent
  );
  content: "";
  opacity: 0.6;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.6rem;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a,
.header nav a {
  position: relative;
  padding: 6px 0;
  color: var(--text-soft);
  font-family: "Share Tech Mono", monospace;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s cubic-bezier(0.23, 1, 0.32, 1), text-shadow 0.25s ease;
}

nav a::after,
.header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3cb6e6, #2563eb);
  box-shadow: 0 0 8px rgba(60, 182, 230, 0.7);
  transition: width 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

nav a:hover,
nav a.active,
.header nav a:hover,
.header nav a.active {
  color: #3cb6e6;
  text-shadow: 0 0 10px rgba(60, 182, 230, 0.45);
}
nav a:hover::after,
nav a.active::after,
.header nav a:hover::after,
.header nav a.active::after {
  width: 100%;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 4rem 2rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 0.9fr 1.7fr;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info h1 {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  text-shadow: 0 0 12px rgba(60, 182, 230, 0.6);
}

.contact-info p,
.contact-info .subtitle,
.contact-info .description {
  color: var(--text-soft);
}

.contact-info .description {
  line-height: 1.7;
}

.contact-info strong {
  color: var(--secondary);
}

.contact-info i {
  margin-bottom: 0.5rem;
  color: var(--secondary);
  font-size: 18px;
}

.contact-info span {
  color: var(--text-soft);
}

.info-box,
.contact-link-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-link-box {
  margin: 0.5rem 0;
}

.contact-link {
  color: var(--secondary);
  font-family: "Share Tech Mono", monospace;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.contact-link:hover {
  color: var(--white);
  text-shadow: 0 0 10px rgba(60, 182, 230, 0.8);
}

.email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--primary);
  box-shadow: var(--glow-primary);
  color: var(--white);
  font-family: "Share Tech Mono", monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.email-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 0 25px rgba(60, 182, 230, 0.6);
}

.motivation-btn {
  text-decoration: none;
}

.visitors-count {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  color: var(--text-soft);
  font-family: "Share Tech Mono", monospace;
}

.avis-section {
  padding: 4rem 6%;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--bg-panel);
  text-align: center;
}

.avis-section p {
  margin-bottom: 2rem;
  color: var(--text-soft);
}

.footer-s2 {
  padding: 2rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(5, 10, 25, 0.95);
  color: var(--text-soft);
  text-align: center;
}

.footer-s2 p {
  color: var(--text-soft);
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  text-align: center;
}
/* Responsive*/

@media (max-width: 768px) {
  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    position: relative;
  }

  /* إظهار أيقونة البرغر (الخطوط الثلاثة) على الهواتف */
  .menu-toggle {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
  }

  .menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
  }

  /* حذف التمرير الأفقي وتحويل القائمة إلى عمودية منسدلة */
  nav,
  .navbar,
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0b1329;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    gap: 1rem;
    overflow-x: visible;
    white-space: normal;
  }

  /* تفعيل القائمة عند الضغط عليها عبر الـ JavaScript */
  nav.active,
  .navbar.active,
  .nav-links.active {
    display: flex;
  }

  nav a,
  .nav-links a,
  .header nav a {
    font-size: 16px;
    margin-left: 0;
    padding: 8px 10px;
  }

  .nav-container {
    flex-direction: column;
    gap: 0.8rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    list-style: none;
  }
}
