:root {
  --primary: #1a1a1a;
  --accent: #5816ad; 
  --light-bg: #f9f9f9;
  --text-dark: #333;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  color: var(--text-dark);
  background-color: white;
}

header {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 40px 0;
  border-bottom: 4px solid var(--accent);
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  letter-spacing: 4px;
}

/* NAVIGATION */
nav {
  background: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.menu-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  margin-right: 20px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.order-btn {
  background: var(--accent);
  color: white !important;
  padding: 10px 20px;
  border-radius: 4px;
}

.nav-socials a {
  color: var(--primary);
  margin-left: 15px;
  font-size: 1.2rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin: 0;
  color: white !important;
}

/* CATEGORIES & CARDS */
.category {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.category.light {
  background-color: var(--light-bg);
  max-width: 100%;
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 15px;
  border: 1px solid #ddd;
  transition: 0.3s ease;
  cursor: pointer; /* Makes it look clickable */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 15px;
}

.card h3 {
  margin: 10px 0 5px 0;
}

.card span {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent);
}

/* MODAL STYLES */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 450px;
  width: 100%;
  position: relative;
  text-align: center;
  animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.close-button {
  position: absolute;
  right: 15px; top: 10px;
  font-size: 28px;
  cursor: pointer;
}

#modalImg {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

#modalPrice {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: bold;
  margin-top: 10px;
}

footer {
  background: var(--primary);
  color: #777;
  text-align: center;
  padding: 40px;
}