/* --- Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: #f1f1f1 url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat; */
  background-blend-mode: multiply;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.8s ease;
}

#preloader h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #fff;
  border-top: 5px solid #f2821e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Reset & base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  color: #333;
  line-height: 1.7;
  background-color: #f1f1f1;
}

a {
  text-decoration: none;
  color: #f2821e;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: #1647ba;
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(22, 71, 186, 0.9);
  color: #fff;
  padding: 15px 30px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav .nav-links {
  list-style: none;
  display: flex;
}

nav .nav-links li a {
  color: #fff;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #f2821e;
}

/* --- Hero Section --- */
#hero {
  height: 100vh;
  width: 100vw;
  background: url('./img/5.jpg') center/cover no-repeat;
  /* background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

#hero h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

#hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.btn {
  background-color: #f2821e;
  color: #fff;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #d96d10;
  transform: translateY(-3px);
}

/* --- About Section --- */
#about {
  text-align: center;
}

#about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
}

/* --- Menu Section --- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.menu-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.menu-card h3 {
  margin-bottom: 15px;
  color: #1647ba;
  font-size: 1.5rem;
}

.menu-card p {
  color: #555;
  font-size: 1rem;
}

/* --- Gallery Section --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s, filter 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* --- Contact Section --- */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.contact-info, .contact-map {
  flex: 1;
  min-width: 300px;
}

.contact-info {
  text-align: center;
}

.contact-info p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 30px;
  background-color: #1647ba;
  color: #fff;
}

.burger-menu {
  display: none;
  cursor: pointer;
}

.burger-menu div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: rgba(22, 71, 186, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }

  .nav-links.nav-active {
    transform: translateX(0%);
  }

  .nav-links li {
    opacity: 0;
  }

  .burger-menu {
    display: block;
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

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




.HeroImage  {
  position: relative;
  height: 50px;
}

Title {
  color: #f2821e;
}