/* ==== RESET & BASE ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --nado-red: #e63946;
  --vista-blue: #457b9d;
  --white: #f1faee;
  --dark-blue: #1d3557;
  --light-grey: #a8dadc;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-body);
  direction: rtl;
  background-color: var(--white);
  color: var(--dark-blue);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==== UTILITIES ==== */
a {
  text-decoration: none;
  color: var(--vista-blue);
}
a:hover {
  color: var(--nado-red);
}
ul {
  list-style: none;
}

/* ==== HEADER ==== */
.main-header {
  background-color: var(--white);
  padding: 8px 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: none;
}
.main-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo a {
  font-family: var(--font-heading);
  font-size: 1.8em;
  font-weight: 700;
  color: inherit;
  position: relative;
  display: inline-block;
}
.logo a::after {
  content: '';
  position: absolute;
  bottom: -0.5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0077b6;
}

/* ==== NAVIGATION ==== */
.main-nav .nav-links {
  display: flex;
  gap: 30px;
}
.main-nav .nav-links a {
  font-weight: 600;
  font-size: 0.95em;
  padding: 8px 0;
  position: relative;
  text-transform: uppercase;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.6;
}
.main-nav .nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--nado-red);
  transition: width 0.3s ease;
}
.main-nav .nav-links a:hover::after {
  width: 100%;
}

/* ==== نبض الناظور SPECIAL LINK ==== */
.nador-pulse-link {
  color: var(--vista-blue);
}


.pulse-marker-icon {
  color: var(--nado-red);
  font-size: 0.95em;
  animation: pulseMarker 1.4s infinite ease-in-out;
  line-height: 1;
  transform: translateY(1px);
}/*
@keyframes pulseMarker {
  0%   { transform: scale(1) translateY(1px); opacity: 1; }
  50%  { transform: scale(1.4) translateY(1px); opacity: 0.6; }
  100% { transform: scale(1) translateY(1px); opacity: 1; }
}*/

.nador-pulse-text {
  position: relative;
  display: inline-block;
}
.nador-pulse-text::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--nado-red), var(--nado-red) 60%, transparent 60%);
  background-size: 200% 100%;
  animation: waveUnderline 2.5s infinite linear;
}
@keyframes waveUnderline {
  0%   { background-position: 200% 0; }
  100% { background-position: 0% 0; }
}

/* ==== LANGUAGE SWITCHER ==== */
.language-switcher select {
  padding: 8px 12px;
  border: 1px solid var(--light-grey);
  border-radius: 5px;
  background-color: var(--white);
  color: var(--dark-blue);
  font-family: var(--font-body);
  font-weight: 600;
  min-width: 70px;
  text-align: center;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20fill%3D%22%231D3557%22%20d%3D%22M5.5%208.5L10%2013l4.5-4.5H5.5z%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  padding-right: 25px;
}

/* ==== HERO SECTION ==== */
.hero-slideshow {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* ==== HERO OVERLAY ==== */
.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* ==== HERO CONTENT ==== */
.hero-content {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  max-width: 90%;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ==== HERO BUTTONS ==== */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}
.btn {
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}
.btn-red {
  background-color: var(--nado-red);
  color: var(--white);
}
.btn-blue-alive {
  background-color: #0077b6;
  color: var(--white);
}

/* ==== LOGO COLORS ==== */
.logo-nado {
  color: #e63946;
}
.logo-vista {
  color: #0077b6;
}

/* ==== SCROLL DOWN ARROW ==== */
.scroll-down {
  position: absolute;
  bottom: 20px;
  right: 50%;
  transform: translateX(50%);
  font-size: 2rem;
  color: var(--white);
  z-index: 2;
  animation: bounce 2s infinite;
  text-align: center;
  opacity: 0.8;
}
.scroll-down:hover {
  opacity: 1;
  color: var(--nado-red);
  transition: color 0.3s ease, opacity 0.3s ease;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(50%) translateY(0); }
  40% { transform: translateX(50%) translateY(10px); }
  60% { transform: translateX(50%) translateY(5px); }
}
