/* ========================
   Color Palette (CSS Vars)
   ======================== */
:root {
  --primary-color: #489af3;
  --secondary-color: rgb(60, 67, 67);
  --background-color: #FFC0CB;
  --text-color: #333333;
}

/* ========================
   Reset & Base Styles
   ======================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========================
   Header & Navigation
   ======================== */
.site-header {
  background: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFFFFF;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav ul li a {
  text-decoration: none;
  color: #FFFFFF;
  padding: 5px 10px;
  transition: background 0.3s;
}
.nav ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.cart {
  font-size: 1.2rem;
  color: #FFFFFF;
  cursor: pointer;
}

/* ========================
   Hero Section
   ======================== */
.hero {
  text-align: center;
  padding: 60px 0;
  background: var(--secondary-color);
  color: #FFFFFF;
  margin-bottom: 40px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.1rem;
  color: #F3F3F3;
}

/* ========================
   Products Section
   ======================== */
.products-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-color);
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.product-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.product-card .info {
  padding: 15px;
  flex: 1;
}
.product-card h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.product-card p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}
.product-card button {
  align-self: center;
  margin-bottom: 15px;
  padding: 10px 15px;
  border: none;
  background: var(--primary-color);
  color: #FFFFFF;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.product-card button:hover {
  background: var(--secondary-color);
}

/* ========================
   Footer
   ======================== */
.site-footer {
  background: #F1F1F1;
  padding: 20px 0;
  margin-top: 40px;
}
.site-footer p {
  text-align: center;
  color: var(--text-color);
}