/* George and Trains E-commerce Styles */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Custom brand colors */
:root {
  --brand-orange: #ffb073;
  --brand-dark: #2c3e50;
  --brand-gray: #7f8c8d;
}

/* Base styles */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: white;
}

/* Brand orange utilities */
.bg-brand-orange { background-color: var(--brand-orange); }
.bg-brand-dark { background-color: var(--brand-dark); }
.text-brand-orange { color: var(--brand-orange); }
.text-brand-dark { color: var(--brand-dark); }
.text-brand-gray { color: var(--brand-gray); }
.border-brand-orange { border-color: var(--brand-orange); }

/* Custom button styles */
.btn-primary {
  background: linear-gradient(45deg, var(--brand-orange), #ff8c42);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 176, 115, 0.4);
}

.btn-secondary {
  background: linear-gradient(45deg, var(--brand-dark), #34495e);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
}

/* Product card styles */
.product-card {
  background: white;
  border-radius: 0.9375rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--brand-orange);
}

/* Header navigation */
.nav-link {
  display: block;
  color: white;
  text-decoration: none;
  padding: 1.25rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  border-right: 1px solid #34495e;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--brand-orange);
  transform: translateY(-2px);
}

.nav-link:last-child {
  border-right: none;
}

/* Shop highlight */
.shop-highlight {
  background: linear-gradient(135deg, var(--brand-orange), #ff8c42);
  font-weight: 600;
}

.shop-highlight:hover {
  background: linear-gradient(135deg, #ff8c42, var(--brand-orange));
}

/* Mobile navigation */
.mobile-nav-link {
  display: block;
  color: white;
  text-decoration: none;
  padding: 1rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid #34495e;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--brand-orange);
  padding-left: 2rem;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

/* Form styles */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--brand-dark);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-orange);
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: white;
  transition: border-color 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: var(--brand-orange);
}

/* Cart styles */
.cart-item {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-total {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #34495e 100%);
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

/* Admin styles */
.admin-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.admin-btn-big {
  display: block;
  width: 100%;
  padding: 2rem;
  margin: 1rem 0;
  background: linear-gradient(135deg, var(--brand-orange), #ff8c42);
  color: white;
  border: none;
  border-radius: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.admin-btn-big:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 176, 115, 0.4);
}

/* Status badges */
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-pending { background-color: #fef3c7; color: #92400e; }
.status-paid { background-color: #d1fae5; color: #065f46; }
.status-processing { background-color: #dbeafe; color: #1e40af; }
.status-shipped { background-color: #f3e8ff; color: #7c3aed; }
.status-completed { background-color: #dcfce7; color: #166534; }
.status-cancelled { background-color: #fee2e2; color: #dc2626; }

/* Loading spinner */
.spinner {
  border: 4px solid #f3f4f6;
  border-top: 4px solid var(--brand-orange);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive utilities */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-btn-big {
    font-size: 1.25rem;
    padding: 1.5rem;
  }
}

/* Desktop navigation adjustments for better fitting */
@media (min-width: 1024px) {
  .nav-link {
    padding: 1.25rem 1.2rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 1280px) {
  .nav-link {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
}

/* Vue.js transition classes */
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s;
}

.fade-enter, .fade-leave-to {
  opacity: 0;
}

.slide-enter-active, .slide-leave-active {
  transition: transform 0.3s;
}

.slide-enter, .slide-leave-to {
  transform: translateX(100%);
}

/* Print styles for order confirmations */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
  }
  
  .admin-card {
    box-shadow: none;
    border: 1px solid #000;
  }
} 