/* Reset and base */
* {
  box-sizing: border-box;
  margin: 0; padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #ecad78, #f8a86b); /* ألوان دافئة */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  color: #3a1f0b;
  user-select: none;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 50px;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.1);
  font-weight: 700;
}


.filiere-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 900px;
  width: 60%;
}

/* كل زر فئة */
.filiere {
  background: #f5cfbe;
  padding: 20px 20px;
  border-radius: 35px;
  box-shadow:
    0 6px 15px rgba(0,0,0,0.15),
    inset 0 -6px 10px rgba(243, 129, 42, 0.7);
  cursor: pointer;
  flex: 1 1 250px;
  max-width: 300px;
  transition: 
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* تأثير الظل الداخلي مع حركة */
.filiere::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 111, 111, 0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.filiere:hover::before {
  opacity: 1;
}

/* تأثير الحركة عند التمرير */
.filiere:hover {
  transform: translateY(-10px) scale(1.07);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.3),
    inset 0 -6px 15px rgba(230, 117, 30, 0.9);
  background-color: #f39a13;
  z-index: 2;
}

/* الرابط داخل الزر */
.filiere a {
  color: #1b0d0a;
  font-weight: 700;
  font-size: 1.7rem;
  text-decoration: none;
  position: relative;
  z-index: 3;
  letter-spacing: 1.2px;
  transition: color 0.3s ease;
}


.filiere:hover a {
  color: #feb47b;
  text-shadow: 0 0 10px #feb47b;
}


.filiere:active {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 650px) {
  .filiere {
    flex: 1 1 100%;
    max-width: none;
  }
  header h1 {
    font-size: 2.2rem;
  }
}
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color:#fcc880 ;
  padding: 15px 30px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center; /* باش كلشي يكون وسط */
  align-items: center;
  z-index: 1000;
  gap: 40px;
}

/* Logo وسط */
.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff9800;
  text-decoration: none;
  letter-spacing: 2px;
}

/* قائمة الروابط */
.navbar nav {
  flex-grow: 1;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.navbar .nav-links li a {
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.navbar .nav-links li a:hover {
  background-color: #ffe0b2;
  color: #d35400;
}

/* زر الاتصال */
.navbar .cta-button {
  background: #ff9800;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.navbar .cta-button:hover {
  background: #e67e22;
}

/* Padding للصفحة */
body {
  padding-top: 80px;
}
