
* { box-sizing: border-box; scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background: #fdfdfd;
  color: #333;
}
header {
  background: #000;
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
header h1 { margin: 0; font-size: 2rem; }

#main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #000;
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
#main-header.visible {
  transform: translateY(0);
}
nav {
  margin-top: 0.5rem;
}
nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover { color: #f4c430; }

.hero {
  background: url('cover.jpg') center center / cover no-repeat;
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero-text {
  position: relative;
  z-index: 2;
  font-size: 5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
  animation: slideInFade 1.5s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px;
}
@keyframes slideInFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.container {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}
h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.product {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 1s ease forwards;
}
.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.product img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.product h3 {
  margin: 1rem 0 0.5rem;
}
.product p {
  margin: 0.2rem 0;
  font-weight: bold;
}
.btn {
  background: #000;
  color: white;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  margin: 1rem 0;
  transition: background 0.3s;
}
.btn:hover {
  background: #f4c430;
  color: #000;
}
 
 /* Footer Styles - 3 Columns */
footer {
  background: #000;
  color: #ddd;
  padding: 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  width: 200px;
  margin-bottom: 2px;
}

.about {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
}

footer h3 {
  color: #f4c430;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

footer .info p,
footer .about {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  color: #ccc;
}

footer a {
  color: #f4c430;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

footer .copyright {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #888;
}

#cart-section {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
#cart-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-weight: bold;
  z-index: 999;
  transition: background 0.3s;
}
#cart-toggle:hover {
  background: #f4c430;
  color: #000;
}
#cart-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  padding: 1.2rem;
  display: none;
  z-index: 999;
  border: 1px solid #ddd;
  animation: slideUp 0.3s ease-out;
}
#cart-widget h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #000;
}
.cart-items {
  max-height: 160px;
  overflow-y: auto;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
#cart-items button:hover {
  color: #000;
  transform: scale(1.1);
}
@keyframes shake {
  0% { transform: translate(0px, 0px); }
  25% { transform: translate(2px, 0px); }
  50% { transform: translate(-2px, 0px); }
  75% { transform: translate(2px, 0px); }
  100% { transform: translate(0px, 0px); }
}
.shake {
  animation: shake 0.4s;
}
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
