@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Pacifico&family=Poppins:wght@400;500;600;700&display=swap');

/* ====== Reset & Fonts ====== */
* {
  font-family: 'Poppins', sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #3b141c;     /* اللون الأساسي (غامق بني/عنابي) */
  --secondary-color: #ffc107;  /* اللون الثانوي (أصفر ذهبي) */
  --white-color: #ffffff;      /* اللون الأبيض */
  --text-color: #333333;       /* لون النصوص */
  --bg-light: #f8f9fa;         /* خلفية فاتحة */
  --border-color: #ddd;        /* لون البوردر */
}

/* ====== Dark Mode Styles ====== */
body.dark-mode {
  --primary-color: #F5DEB3;     /* بيج */
  --secondary-color: #F5DEB3;   /* بيج */
  --white-color: #F5DEB3;       /* بيج */
  --text-color: #F5DEB3;        /* نص بيج */
  --bg-light: #000000;          /* خلفية سوداء */
  --border-color: #F5DEB3;      /* حدود بيج */
}

body.dark-mode .home-page {
  background: #000000 !important;
  background-image: none !important;
  color: #F5DEB3;
}

body.dark-mode .navbar {
  background-color: rgba(0, 0, 0, 0.01); /* بيج شفاف */
  backdrop-filter: blur(10px);
}

body.dark-mode .sidebar {
  background-color: #000000;
  border-left: 2px solid #F5DEB3;
}

body.dark-mode .button {
  background: linear-gradient(to right, #F5DEB3, #000000);
  color: #000000;
}

body.dark-mode .button:hover {
  color: #F5DEB3;
}

body.dark-mode .custom-cursor {
  border: 2px solid #F5DEB3;
}

body.dark-mode .ripple {
  background: #F5DEB3;
}

/* ====== Page Load Animation ====== */
body {
  animation: pageDrop 1s ease-out;
}

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

/* ====== Body ====== */
.home-page {
  background-image: url("restaurant-4k-wallpapers.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
  padding: 0;
  color: var(--white-color);
  transition: transform 0.3s ease;
  min-height: 100vh;
  overflow-x: scroll;
}

/* ====== Header & Navbar ====== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 2rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.03); /* شفاف جزئي */
  backdrop-filter: blur(5px);           /* تأثير طفيف على الخلفية */
  border-radius: 0 0 100px 100px;
  padding: 0.5rem 1rem;
  gap: 1rem;
  z-index: 1000;
}

/* Logo */
.navbar .logo-text {
  font-size: 2rem;
  font-weight: bold;
  color: var(--white-color);
  text-shadow: 2px 2px 4px rgb(0, 0, 0);
  font-family: 'Pacifico', cursive;
  animation: bounce 1.5s ease-in-out;
}

@keyframes bounce {
  0%   { transform: translateY(-10px); opacity: 0; }
  50%  { transform: translateY(5px); opacity: 1; }
  100% { transform: translateY(0); }
}

/* Menu */
.navbar .nav-menu {
  display: flex;
  gap: 3rem;
}
.nav-menu li {
  margin-left: 20px; /* مسافة بين اللينكات */
}

.navbar .nav-link {
  background: linear-gradient(to right,  rgba(0, 0, 0, 0.03), #ffffffc8);
  background-size: 200% auto;
  background-position: left center;
  font-weight: 500;
  color: var(--white-color);
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  transition: background-position 0.4s ease, color 0.4s ease;
  text-decoration: none;
}

.navbar .nav-link:hover {
  background-position: right center;
  color: var(--white-color);
}

/* ====== Hero Section ====== */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  flex-wrap: wrap;
}

.hero-details {
  max-width: 600px;
}

.hero-details .title {
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  color:white;
  transition: color 0.3s ease;
}

.hero-details .title:hover {
  color: var(--secondary-color);
}

.hero-details .subtitle {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin: 0.5rem 0;
}

.hero-details .description {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.buttons {
  display: flex;
  gap: 1rem;
}

.button {
  padding: 10px 20px;
  border-radius: 0.3rem;
  background: linear-gradient(to right, #ffc107, #3b141c);
  color: var(--primary-color);
  font-weight: 600;
  transition: background-position 0.4s ease, color 0.4s ease;
  background-size: 200% auto;
  background-position: left center;
  text-decoration: none;
}

.button:hover {
  background-position: right center;
  color: white;
}

/* ====== Sidebar ====== */
.burger {
  position: fixed;
  top: 20px;
  right: 10px;
  font-size: 2rem;
  color: var(--secondary-color);
  cursor: pointer;
  z-index: 1100;
}

.sidebar {
  position: fixed;
  top: 80px; /* تحت الـ navbar */
  right: -250px;
  width: 250px;
  height: calc(100% - 80px);
  background-color: rgb(116, 55, 8);
  color: var(--white-color);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right 0.3s ease;
  z-index: 1000;
  border-left: 2px solid var(--secondary-color);
  box-shadow: -4px 0 10px rgba(0,0,0,0.3);
}

.sidebar a {
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.sidebar a:hover {
  color: var(--white-color);
}

.sidebar.show {
  right: 0;
}

/* ====== Cursor & Ripple ====== */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border: 2px solid #ffc107;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  z-index: 2000;
}

.cursor-click {
  transform: translate(-50%, -50%) scale(0.7);
  background: rgba(255, 193, 7, 0.3);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
  z-index: 1500;
}

@keyframes ripple-animation {
  from { transform: scale(0); opacity: 0.5; }
  to   { transform: scale(10); opacity: 0; }
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .navbar {
    display: none;
  }
}
