* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}
header{
    background: #333;
    color: white;
    padding: 1rem;
    text-align: center;
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
}

footer {
    background: #eee;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: 
    linear-gradient(135deg, rgba(245,245,245,0.5), rgba(160,160,160,0.5)),
    url('apple_logo.jpg') center/cover no-repeat;

  color: white;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.1);
  pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);

}
.hero .btn {
  background: linear-gradient(135deg, #4a4a4a, #7f7f7f);
}

.hero .btn:hover {
  background: linear-gradient(135deg, #333333, #606060);
}

.hero p {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;

}
.btn {
    padding: 15px 30px;
    font-size: 1rem;
    color: white;  
    background: linear-gradient(135deg, #6c6c6c, #9c9c9c); 
    border: none;
    border-radius: 12px; 
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background: linear-gradient(135deg, #555555, #7f7f7f); 
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0,0,0,0.3);
}
.products {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* המרווח בין כל מוצר */
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.product {
  background: #ffffff; 
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem 0;
  
}

.product h2 {
  margin-top: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.product p {
  margin: 1rem 0;
  font-size: 1rem;
  color: #444;
}

.product .price {
  font-weight: bold;
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 1rem;
}

.product-images {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  padding: 0 20px 15px 20px;
}

.product-images img {
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease;
  scroll-snap-align: start; 
}

.product-images img:hover {
  transform: scale(1.05);
}

.product .btn {
  background: linear-gradient(135deg, #6c6c6c, #9c9c9c);
  color: white;
  border-radius: 12px;
  padding: 12px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;

}

.product .btn:hover {
  background: linear-gradient(135deg, #555555, #7f7f7f);
  transform: translateY(-2px);
}
  

.product:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}
@media (max-width: 600px) {
  .product:hover {
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  }
}