:root {
  --bg: radial-gradient(circle at top right, #402958, #2a1b3c 60%);
  --card-bg: rgba(64, 41, 88, 0.85);
  --accent: #ffcc00;
  --accent-soft: rgba(255, 204, 0, 0.12);
  --text: #f2f4ff;
  --muted: #d1c4e9;
  --border: rgba(255, 255, 255, 0.15);
  --radius-lg: 28px;
  --shadow: 0 25px 45px rgba(15, 20, 40, 0.12);
  --shadow-lg: 0 35px 60px rgba(0, 0, 0, 0.3);
  font-family: "Cairo", system-ui, sans-serif;
}

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

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--nav-bg);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 204, 0, 0.15);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-logo-container {
  position: relative;
}

.nav-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
  object-fit: cover;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.5);
}

.nav-center {
  display: flex;
  justify-content: center;
  flex: 2;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: transparent;
}

.nav-link:hover {
  background: rgba(255, 204, 0, 0.1);
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-link i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 50%;
  transform: translateX(50%);
  background: rgba(64, 41, 88, 0.95);
  backdrop-filter: blur(20px);
  min-width: 220px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(50%) translateY(-10px);
  transition: all 0.3s ease;
  padding: 10px 0;
  border: 1px solid rgba(255, 204, 0, 0.2);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background: rgba(255, 204, 0, 0.1);
  color: var(--accent);
  padding-right: 25px;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent), #ffaa00);
  color: #2a1b3c;
  border: none;
  border-radius: 25px;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
  text-decoration: none;
  white-space: nowrap;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
  background: linear-gradient(135deg, #ffd700, #ffbb00);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 350px;
  height: 100vh;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.4);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10001;
  overflow-y: auto;
  padding: 20px;
  border-left: 1px solid rgba(255, 204, 0, 0.2);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

.mobile-menu-header h3 {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-menu-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-title {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.mobile-menu-item:hover {
  background: rgba(255, 204, 0, 0.1);
  color: var(--accent);
  transform: translateX(-5px);
}

.mobile-menu-item i {
  width: 20px;
  color: var(--accent);
}

.mobile-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(135deg, var(--accent), #ffaa00);
  color: #2a1b3c;
  border: none;
  border-radius: 15px;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.mobile-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .nav-bar {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-bar {
    height: 70px;
    padding: 0 1rem;
    position: relative;
  }

  .nav-center {
    display: none;
  }

  .nav-login {
    display: flex !important;
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
  }

  .nav-login .login-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .nav-login .login-btn span {
    display: inline;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-right {
    gap: 15px;
  }

  .nav-logo {
    width: 40px;
    height: 40px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .content-section {
    padding: 40px 20px;
    flex-direction: column;
  }

  .text-container h2 {
    font-size: 1.5rem;
  }

  .image-container img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-bar {
    padding: 0 0.75rem;
    height: 60px;
  }

  .mobile-menu {
    width: 90%;
  }

  .nav-logo {
    width: 35px;
    height: 35px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .content-section {
    padding: 30px 15px;
  }

  .text-container {
    padding: 15px;
  }

  .text-container h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .text-container p {
    font-size: 0.9rem;
  }

  .map-container iframe {
    height: 250px;
  }
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
  text-align: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 80px;
  background: linear-gradient(
    135deg,
    rgba(64, 41, 88, 0.9),
    rgba(42, 27, 60, 0.95)
  );
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 204, 0, 0.15),
      transparent 50%
    ),
    radial-gradient(circle at 80% 80%, rgba(255, 170, 0, 0.1), transparent 50%);
  z-index: 1;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 1s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 24px;
  word-wrap: break-word;
  background: linear-gradient(135deg, var(--accent), #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(255, 204, 0, 0.3);
  font-weight: 800;
  line-height: 1.2;
  word-break: keep-all;
  padding: 0 10px;
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  margin-bottom: 40px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  word-break: keep-all;
  max-width: 100%;
  padding: 0 15px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero {
    height: 90vh;
    min-height: 550px;
  }

  .hero-content {
    max-width: 800px;
    padding: 32px 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 85vh;
    padding-top: 70px;
    display: flex;
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
    padding: 40px 16px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    padding: 0 10px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1.3rem;
    padding: 0 15px;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .hero {
    height: auto;
    min-height: 80vh;
    padding-top: 60px;
  }

  .hero-content {
    padding: 30px 12px;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
    padding: 0 5px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .hero-content p {
    font-size: 1.1rem;
    padding: 0 10px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
}

@media (max-width: 360px) {
  .hero {
    min-height: 85vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

.content-section {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 100px 8%;
  position: relative;
  min-height: 400px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.content-section .separator {
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  border-radius: 10px;
  position: relative;
  display: block;
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .content-section {
    flex-direction: row;
  }

  .content-section .separator {
    width: 3px;
    height: 60%;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
  }

  .content-section .text-container,
  .content-section .image-container {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
    gap: 32px;
    padding: 60px 5%;
    min-height: auto;
    width: 100%;
  }

  .content-section .separator {
    width: 100%;
    height: 3px;
    top: auto;
    left: 0;
    position: relative;
    margin: 20px 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }

  .content-section .text-container,
  .content-section .image-container {
    width: 100%;
  }
}

.text-container {
  flex: 1;
  padding: 24px;
  animation: fadeInLeft 0.8s ease;
}

.text-container h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  color: var(--accent);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.text-container p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: var(--muted);
  margin: 16px 0;
}

.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease;
}

.image-container img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.02);
}

.map-container {
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeInRight 0.8s ease;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

h1,
h2 {
  color: var(--accent);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

p {
  margin: 12px 0;
  color: var(--muted);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffd700;
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  margin-top: 40px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background: #f4c400;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e0b200;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #f4c400 #f0f0f0;
}
