/* ZÁKLADNÍ STYL */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #000 url('images/pozadi-luvano.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

body.light-mode {
  background: #f4f4f4;
  color: #111;
}

.container {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* LOGO */
.logo-wrapper {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  color: #d4af37;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.gold-line {
  width: 85%;
  height: 1px;
  margin: 1.2rem auto;
  background: linear-gradient(to left, transparent, #d4af37 50%, transparent);
}

/* NAVIGACE */
.nav-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 1rem;
  padding: 0.8rem 1rem;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-bar a,
.nav-bar button {
  color: inherit;
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
}

.nav-bar a:hover,
.nav-bar button:hover {
  color: #d4af37;
}

/* MODAL KATEGORIE */
.category-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.category-modal.active {
  display: flex;
}

.category-content {
  background: #222;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  color: #f5f5f5;
}

.subcategory-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.subcategory-btn {
  background: #333;
  color: #f5f5f5;
  border: 1px solid #d4af37;
  padding: 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.subcategory-btn:hover {
  background: #d4af37;
  color: #000;
}

.close-btn {
  margin-top: 1.5rem;
  background: none;
  border: 1px solid #aaa;
  color: #aaa;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
}

/* SKRYTÍ ELEMENTŮ */
.hidden {
  display: none !important;
}
/* PRODUKTY */
.product-display {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid #444;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  color: #f5f5f5;
}

.product-card img {
  max-width: 100%;
  border-radius: 6px;
}

.product-card h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.1rem;
}

.product-card p {
  font-size: 0.9rem;
  margin: 0.2rem 0;
}

.product-card .price {
  font-weight: bold;
  color: #d4af37;
  margin-top: 0.4rem;
}

.stars {
  margin-top: 0.6rem;
}

.star {
  font-size: 1.2rem;
  cursor: pointer;
  color: #555;
}

.star.selected {
  color: #d4af37;
}

/* MODAL LOGIN */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #222;
  padding: 2rem;
  border-radius: 8px;
  max-width: 320px;
  width: 90%;
  text-align: center;
}

.modal-content input {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.5rem;
  border-radius: 4px;
  border: none;
  background: #333;
  color: #f5f5f5;
}

.modal-content button {
  margin-top: 1rem;
}

/* VIP PANEL */
.vip-panel {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.95);
  color: #fff;
  transition: bottom 0.5s ease-in-out;
  padding: 2rem;
  z-index: 999;
}

.vip-panel.active {
  bottom: 0;
}

.vip-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.vip-content h2 {
  font-size: 2rem;
  color: #d4af37;
  text-shadow: 1px 1px 2px #000;
}

.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  border: 2px solid #d4af37;
  color: #d4af37;
  background: transparent;
  font-family: 'Cinzel', serif;
  text-decoration: none;
  transition: 0.3s;
}

.cta:hover {
  background: #d4af37;
  color: #000;
  box-shadow: 0 0 20px #d4af37;
}

/* MODAL POSELSTVÍ */
.message-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 2rem;
}

.message-modal.active {
  display: flex;
}

.message-content {
  max-width: 600px;
  color: #f5f5f5;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

.message-content p {
  margin-bottom: 1.5rem;
}

/* CHAT */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #222;
  padding: 1rem;
  border-radius: 6px;
  width: 240px;
  z-index: 999;
  box-shadow: 0 0 10px #000;
  font-size: 0.9rem;
}

.chat-widget input {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.3rem;
  border: none;
  border-radius: 4px;
}

.chat-widget button {
  margin-top: 0.3rem;
  width: 100%;
  padding: 0.4rem;
  background: #d4af37;
  border: none;
  color: #000;
  cursor: pointer;
  border-radius: 4px;
}

/* FOOTER */
footer {
  text-align: center;
  margin-top: auto;
  font-size: 0.9rem;
  padding: 1rem;
  color: #999;
}
