/* Main styles for Ayse's Truffle Cheese Landing Page */

:root {
  --brand-red: #D6262B;
  --brand-sage: #A8E6CF;
  --brand-snow: #FFFFFF;
  --brand-blue: #00966E;
  --brand-sand: #FFFFFF;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible {
    transition: none;
    transform: none;
  }
  
}

/* Mobile improvements */
@media (max-width: 640px) {
  .hero-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
}


/* Admin panel styles */
#adminPanel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#adminPanel .admin-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 80%;
  overflow-y: auto;
}

#adminPanel .admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

#adminPanel .admin-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

#adminPanel .admin-button {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

#adminPanel .admin-button.primary {
  background: var(--brand-blue);
  color: white;
}

#adminPanel .admin-button.danger {
  background: var(--brand-red);
  color: white;
}

#adminPanel .admin-button.secondary {
  background: #f3f4f6;
  color: #374151;
}

#adminPanel .admin-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#adminPanel .orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

#adminPanel .orders-table th,
#adminPanel .orders-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

#adminPanel .orders-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

#adminPanel .orders-table tr:hover {
  background: #f9fafb;
}

/* Recipes slideshow styles */
.recipes-slideshow {
  position: relative;
  max-width: 100%;
}

.recipes-slides {
  position: relative;
  height: 320px;
}

.recipes-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.recipes-slide.active {
  opacity: 1;
}

.recipes-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Recipes grid hover effects */
.recipes-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipes-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Desktop horizontal slideshow */
.recipes-desktop-slideshow {
  position: relative;
}

.recipes-desktop-container {
  margin: 0 60px; /* Space for navigation arrows */
}

.recipes-desktop-track {
  gap: 1.5rem;
}

.recipes-desktop-item {
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipes-desktop-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1024px) {
  .recipes-desktop-item {
    width: 320px;
  }
}

@media (min-width: 1280px) {
  .recipes-desktop-item {
    width: 350px;
  }
}

/* Responsive adjustments for recipes */
@media (max-width: 768px) {
  .recipes-slides {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .recipes-slides {
    height: 240px;
  }
}