:root {
  /* Updated color scheme for seafood theme */
  --primary: #0e7490;
  --primary-dark: #155e75;
  --secondary: #0ea5e9;
  --accent: #10b981;
  --light: #f0f9ff;
  --dark: #1f2937;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --ocean-blue: #0e7490;
  --seafoam: #5eead4;
  --sand: #fef3c7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #f9fafb;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 0 0 20px 20px;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.header h1 i {
  color: var(--seafoam);
}

.header .subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.header-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.stat i {
  color: var(--seafoam);
}

.hero-image {
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.header-badge {
  background: var(--seafoam);
  color: var(--primary-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

/* Trust Section */
.trust-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  margin: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-badge i {
  font-size: 1.5rem;
  color: var(--primary);
}

.trust-badge h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.trust-badge p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Menu Section */
.menu-section {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-header h2 i {
  color: var(--primary);
}

.section-subtitle {
  color: var(--gray);
  margin-bottom: 1rem;
}

.delivery-notice {
  background: var(--sand);
  border: 2px solid #fbbf24;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #92400e;
  font-weight: 500;
}

.delivery-notice i {
  color: #f59e0b;
}

/* Location Selector - Updated to Category Selector */
.location-selector {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.location-selector h3 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.location-selector h3 i {
  color: var(--primary);
}

.location-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.location-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--light-gray);
  background: white;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Menu Categories */
.menu-categories {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.category-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--light-gray);
  background: white;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.menu-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light);
}

.menu-item-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.menu-item-content {
  padding: 1.5rem;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.menu-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.menu-item-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.menu-item-price small {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: normal;
}

.menu-item-description {
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.menu-item-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.menu-tag {
  background: var(--light);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Customization Options */
.customization-options {
  margin-bottom: 1rem;
}

.option-group {
  margin-bottom: 1rem;
}

.option-group h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-weight: 600;
}

.options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.option-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--light-gray);
  background: white;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-btn.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Weight Input for seafood products */
.weight-input-group {
  margin: 1.5rem 0;
}

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

.weight-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.weight-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}

.weight-input-group small {
  display: block;
  color: var(--gray);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--light-gray);
  background: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.quantity-btn:hover {
  background: var(--light);
}

.quantity-display {
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 30px;
  text-align: center;
  color: var(--dark);
}

.add-to-cart-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
  background: var(--primary-dark);
}

/* Order Summary */
.order-summary {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  position: sticky;
  top: 1rem;
  border: 2px solid var(--light);
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-gray);
}

.summary-header h3 {
  color: var(--dark);
}

.summary-header h3 i {
  color: var(--primary);
}

.item-count {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.order-items {
  margin-bottom: 1.5rem;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.order-items::-webkit-scrollbar {
  width: 6px;
}

.order-items::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.order-items::-webkit-scrollbar-thumb {
  background: var(--light-gray);
  border-radius: 10px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.order-item:last-child {
  border-bottom: none;
}

.order-item-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.order-item-details {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.order-item-price {
  font-weight: 600;
  color: var(--primary);
}

.remove-item {
  color: var(--danger);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.remove-item:hover {
  color: #dc2626;
}

.order-total {
  margin-bottom: 1.5rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  color: var(--gray);
}

.total-row.grand-total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  padding-top: 1rem;
  border-top: 2px solid var(--light-gray);
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.checkout-btn:disabled {
  background: var(--light-gray);
  cursor: not-allowed;
  color: var(--gray);
}

.checkout-btn:not(:disabled):hover {
  background: var(--primary-dark);
}

/* Testimonials */
.testimonials {
  margin: 3rem 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--light);
}

.testimonial-image {
  height: 200px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card p {
  color: var(--dark);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.author-avatar h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-avatar p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--light);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-card h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.step-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close:hover {
  background: var(--light-gray);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
  font-size: 1.5rem;
}

/* Order Details in Modal */
.order-details, .delivery-details, .payment-summary {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.order-details h4, .delivery-details h4, .payment-summary h4 {
  margin-bottom: 1rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.order-details h4 i, .delivery-details h4 i, .payment-summary h4 i {
  color: var(--primary);
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.input-group label i {
  color: var(--primary);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}

.input-group textarea {
  resize: vertical;
}

.input-group small {
  display: block;
  margin-top: 0.25rem;
  color: var(--gray);
  font-size: 0.875rem;
}

/* Delivery Time Options */
.delivery-time {
  margin-top: 1.5rem;
}

.time-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.time-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.time-option:hover {
  border-color: var(--primary);
  background: var(--light);
}

.time-option input[type="radio"] {
  margin: 0;
  accent-color: var(--primary);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  color: var(--gray);
}

.summary-row.total-row {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  padding-top: 1rem;
  border-top: 2px solid var(--light-gray);
  margin-top: 0.5rem;
}

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  color: var(--gray);
  font-size: 0.9rem;
}

.trust-bar span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-bar i {
  color: var(--primary);
}

.place-order-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.place-order-btn:hover {
  background: var(--primary-dark);
}

.place-order-btn:disabled {
  background: var(--light-gray);
  cursor: not-allowed;
  color: var(--gray);
}

.order-status {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

.order-status.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.order-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.order-status.info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.order-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--light);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.order-note i {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section h4 i {
  color: var(--seafoam);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
  color: #adb5bd;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section ul li i {
  color: var(--seafoam);
  width: 20px;
}

.footer-section a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: white;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-hide {
    display: none;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-section {
    grid-template-columns: repeat(2, 1fr);
    margin: 0.5rem;
    padding: 1rem;
  }
  
  .modal-content {
    padding: 1.5rem;
  }
  
  .header-stats {
    gap: 1rem;
  }
  
  .stat {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) {
  .menu-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  
  .menu-grid {
    grid-column: 1;
  }
  
  .order-summary {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 1rem;
  }
}

/* Loading States */
.loading-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.loading-spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 4px solid rgba(14, 116, 144, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-order {
  text-align: center;
  padding: 2rem;
  color: var(--gray);
}

.empty-order i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--light-gray);
}

.small-text {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Additional styles for seafood theme */
.category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.menu-item {
  position: relative;
}

/* Price per unit styling */
.price-unit {
  font-size: 0.9rem;
  color: var(--gray);
  margin-left: 0.25rem;
  font-weight: normal;
}

/* Delivery time indicator */
.delivery-time-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: var(--light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

/* Bulk order indicator */
.bulk-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: var(--sand);
  color: #92400e;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-left: 0.5rem;
  font-weight: 500;
}

/* Freshness guarantee */
.freshness-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--success);
  font-weight: 500;
  margin-top: 0.5rem;
}

.freshness-badge i {
  font-size: 1rem;
}

/* Special seafood styling */
.seafood-bg {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.chicken-bg {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.bulk-bg {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}