/* Reset en basis styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  min-height: 100vh;
  padding: 20px;
}

/* Hero sectie - Oud & Nieuw thema */
.hero {
  text-align: center;
  color: #f4e4c1;
  padding: 40px 20px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
  border-radius: 15px;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.3rem;
  color: #e6d5b8;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Card styling */
.card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.card h2 {
  color: #d4af37;
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 3px solid #d4af37;
  padding-bottom: 10px;
}

.card h3 {
  color: #b8941e;
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Recept styling */
.recept ul, .recept ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.recept li {
  margin-bottom: 8px;
}

.tip {
  background: #fffbf0;
  border-left: 4px solid #d4af37;
  padding: 15px;
  margin-top: 20px;
  border-radius: 5px;
}

/* Bestel card - Champagne achtergrond */
.bestel-card {
  background: linear-gradient(135deg, #faf8f3 0%, #f5f1e8 100%);
  border: 2px solid #d4af37;
}

.pickup-info {
  background: linear-gradient(135deg, #d4af37 0%, #b8941e 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  margin: 15px 0;
}

/* Form styling */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #2d2d2d;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.extra-optie {
  background: #fffbf0;
  padding: 15px;
  border-radius: 8px;
  border: 2px solid #d4af37;
}

/* Prijs info */
.prijs-info {
  background: white;
  border: 2px solid #d4af37;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.prijs-info p {
  margin: 5px 0;
  font-size: 1.1rem;
}

/* Introductie prijs styling - Gouden glitter effect */
.introductie-prijs {
  background: linear-gradient(135deg, #d4af37 0%, #f4e4c1 50%, #d4af37 100%);
  padding: 15px;
  border-radius: 8px;
  border: 2px solid #b8941e;
  font-size: 1.3rem !important;
  text-align: center;
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  animation: shimmer 3s ease-in-out infinite;
}

.oud-prijs {
  text-decoration: line-through;
  color: #666;
  font-size: 0.9rem;
  font-weight: normal;
}

@keyframes shimmer {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.6);
  }
}

#totaalPrijs {
  color: #d4af37;
  font-size: 1.5rem;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid #eee;
}

/* Buttons */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #d4af37 0%, #b8941e 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.betaal-info {
  text-align: center;
  margin-top: 15px;
  color: #666;
  font-size: 0.95rem;
}

/* Messages */
.success-message {
  background: #f0f8f0;
  border: 2px solid #4caf50;
  color: #2e7d32;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 1.1rem;
  text-align: center;
}

.error-message {
  background: #fff3f3;
  border: 2px solid #dc3545;
  color: #c62828;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 1.1rem;
  text-align: center;
}

/* Allergie info */
.allergie-info {
  background: #fffbf0;
  border-left: 5px solid #d4af37;
}

.allergie-info ul {
  margin-left: 20px;
  margin-top: 10px;
}

.allergie-info li {
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  color: #666;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #d4af37;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #b8941e;
}

.footer-note {
  margin: 15px 0;
  font-size: 0.9rem;
  font-style: italic;
}

/* Back link */
.back-link {
  display: inline-block;
  color: #f4e4c1;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 10px 20px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  transition: background 0.3s;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.back-link:hover {
  background: rgba(212, 175, 55, 0.3);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: #f4e4c1;
  padding: 20px;
  display: none;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
  border-top: 2px solid #d4af37;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
  margin: 0;
}

.btn-cookie {
  background: linear-gradient(135deg, #d4af37 0%, #b8941e 100%);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-cookie:hover {
  background: linear-gradient(135deg, #b8941e 0%, #d4af37 100%);
}

/* Admin pagina styling */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  flex: 1;
}

.stat-box {
  background: linear-gradient(135deg, #d4af37 0%, #b8941e 100%);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.stat-box h3 {
  font-size: 2rem;
  margin: 0 0 5px 0;
  color: white;
}

.stat-box p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.btn-refresh, .btn-export {
  background: #2d2d2d;
  color: #f4e4c1;
  border: 1px solid #d4af37;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-refresh:hover, .btn-export:hover {
  background: #1a1a1a;
}

.btn-export {
  background: #d4af37;
  color: #1a1a1a;
}

.btn-export:hover {
  background: #b8941e;
}

.filter-section {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-section input,
.filter-section select {
  flex: 1;
  min-width: 200px;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.bestelling-card {
  background: #faf8f3;
  border: 2px solid #d4af37;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  transition: box-shadow 0.3s;
}

.bestelling-card:hover {
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.bestelling-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.bestelling-id {
  font-size: 1.2rem;
  font-weight: bold;
  color: #d4af37;
}

.bestelling-status {
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.status-nieuw {
  background: #fffbf0;
  color: #b8941e;
  border: 1px solid #d4af37;
}

.status-betaald {
  background: #f0f8f0;
  color: #2e7d32;
  border: 1px solid #4caf50;
}

.status-klaar {
  background: #f0f4ff;
  color: #1565c0;
  border: 1px solid #2196f3;
}

.status-opgehaald {
  background: #f5f5f5;
  color: #424242;
  border: 1px solid #9e9e9e;
}

.bestelling-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-weight: 600;
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 3px;
}

.detail-value {
  color: #1a1a1a;
  font-size: 1rem;
}

.bestelling-prijs {
  font-size: 1.3rem;
  font-weight: bold;
  color: #d4af37;
  text-align: right;
}

.no-bestellingen {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 1.1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .card {
    padding: 20px;
  }

  .card h2 {
    font-size: 1.5rem;
  }

  .footer-links a {
    display: block;
    margin: 10px 0;
  }

  .cookie-content {
    text-align: center;
  }

  .btn-cookie {
    width: 100%;
  }
  
  .admin-header {
    flex-direction: column;
  }
  
  .admin-stats {
    width: 100%;
  }
  
  .bestelling-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .bestelling-details {
    grid-template-columns: 1fr;
  }
}
