* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.navbar {
  height: 85px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-img {
  height: 60px;
  width: auto;
}

.nav-links .nav-item {
  text-decoration: none;
  color: #444;
  margin-left: 30px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-item.active {
  color: #007bff;
  border-bottom: 3px solid #007bff;
  padding-bottom: 5px;
}

.hero-section {
  height: 480px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('https://m.media-amazon.com/images/G/31/img25/Camera/Fuji/Nov/Artboard_3_copy._CB778385968_.png');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-btn {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 14px 35px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: transform 0.2s, background 0.3s;
}

.hero-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.journey-section {
  padding: 80px 15%;
  background-color: white;
  text-align: center;
}

#products-section {
  padding: 60px 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  font-weight: 700;
}

.shop-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: #ffffff;
  width: calc(25% - 20px);
  min-width: 275px;
  border: 1px solid #eaeaea;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #007bff;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 10px 0;
}

.product-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating {
  color: #ffa41c;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 11px;
  letter-spacing: 0.5px;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 5px;
}

.new-price {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 1.6rem;
}

.old-price {
  text-decoration: line-through;
  color: #767676;
  font-size: 0.95rem;
}

.discount {
  color: #28a745;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.add-btn {
  background-color: #232f3e;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: auto;
  width: 100%;
  transition: all 0.3s ease;
}

.add-btn:hover {
  background-color: #007bff;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transform: translateY(-2px);
}

footer {
  margin-top: 50px;
}

.foot-panel1 {
  background-color: #37475a;
  padding: 15px;
  text-align: center;
}

.foot-panel1 a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.foot-panel4 {
  background-color: #131a22;
  color: #ddd;
  text-align: center;
  padding: 25px;
  font-size: 0.85rem;
}

.main-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
}

#filters-section {
  flex: 0 0 260px;
  background: white;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #eaeaea;
  position: sticky;
  top: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #232f3e;
}

#category-selection {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
  color: #555;
}

input[type="range"] {
  width: 100%;
  accent-color: #007bff;
}

.shop-section {
  flex: 1;
  justify-content: flex-start;
}

.product-card {
  width: calc(33.33% - 17px);
}