
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
  direction: rtl;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
header {
  background: rgba(255,255,255,0.8);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
}
.nav-links li {
  margin-left: 20px;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.3s;
}
.nav-links a:hover {
  background: #e2e6ea;
}
.carousel-section h1 {
  text-align: center;
  margin-bottom: 20px;
}
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.carousel-img {
  width: 100%;
  display: none;
}
.carousel-img.active {
  display: block;
}
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,123,255,0.7);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}
.carousel .prev {
  left: 10px;
}
.carousel .next {
  right: 10px;
}
.upload-section, .about-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin: 40px 0;
  padding: 20px;
}
.upload-section h2, .about-section h2 {
  margin-bottom: 15px;
  color: #007bff;
}
#imageInput {
  display: block;
  margin-bottom: 10px;
}
#analyzeBtn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
#analyzeBtn:hover {
  background: #0056b3;
}
.result-box {
  margin-top: 20px;
  padding: 15px;
  background: #e9f7ef;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  min-height: 50px;
}
footer {
  text-align: center;
  padding: 15px 0;
  background: #fff;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}
footer p {
  color: #666;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}
