/* Clean CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
:root {
  --cursor-x: 50vw;
  --cursor-y: 50vh;
}

html {
  height: 100%;
  overflow-y: scroll;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: transparent;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background */
.background-grid {
  display: none;
  will-change: transform;
}

/* Navigation */
.navbar {
  background: white;
  padding: 0 5%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4361ee;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.navbar a {
  color: #1e1b4b;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar a:hover {
  background: #e0e7ff;
}

.navbar a.active {
  background: #4361ee;
  color: white;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(67, 56, 202, 0.2);
}

.btn:hover::before {
  opacity: 1;
}

.btn i {
  margin-right: 8px;
  font-size: 1.1em;
}

/* Search Button */
.search-btn {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(67, 56, 202, 0.2);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(67, 56, 202, 0.3);
}

/* Secondary Button */
.btn-secondary {
  background: white;
  color: #4f46e5;
  border: 2px solid #e0e7ff;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #c7d2fe;
}

/* CTA Button */
.btn-cta {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-cta:hover {
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-cta::before {
  background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
}

/* Website Button */
.btn-website {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  justify-content: center;
}

.btn-website:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.btn-website::before {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-website:hover::before {
  opacity: 1;
}

/* Disabled button state */
.btn:disabled, .btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Footer */
.footer {
  background: #1e1b4b;
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  width: 100%;
  position: relative;
  z-index: 100;
  text-align: center;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-about {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer p {
  margin: 0.5rem 0;
}

main {
  flex: 1;
}

/* Search Results Section */
#searchResults {
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Restaurant Grid */
#restaurantGrid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 25px !important;
  width: 100% !important;
  margin: 20px 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Restaurant Grid Layout */
.results-section {
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.results-section h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}

/* Restaurant Info Rows */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 0.95rem;
}

.info-label i {
  color: #4f46e5;
  width: 20px;
  text-align: center;
}

.info-value {
  font-weight: 500;
  color: #1f2937;
}

/* Status Badge */
.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-badge.open {
  background-color: #e6f7ee;
  color: #10b981;
}

.status-badge.closed {
  background-color: #fee2e2;
  color: #ef4444;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(550px, 1fr));
  gap: 40px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Restaurant Card Styles */
.restaurant-card {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 25px !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

/* Restaurant Card Styling */
.restaurant-card {
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 15px !important;
}

.restaurant-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Adjust for medium screens */
@media (max-width: 1000px) {
  .restaurant-cards {
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  }
}

/* Stack on smaller screens */
@media (max-width: 768px) {
  .restaurant-cards {
    grid-template-columns: 1fr !important;
    max-width: 500px !important;
    padding: 0 15px !important;
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .restaurant-cards {
    padding: 0 10px !important;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-about {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.footer-logo i {
  margin-right: 0.5rem;
  color: #4f46e5;
}

.footer p {
  color: #e2e8f0;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #4f46e5;
  transform: translateY(-3px);
}

/* Business Dashboard Styles */
.business-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 2rem 1rem 0;
  margin-top: 70px;
  box-sizing: border-box;
  background-color: #f8fafc; /* Match body background */
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .business-content {
    grid-template-columns: 2fr 1fr;
    align-items: flex-start;
    align-items: stretch;
  }
}

/* Instructions Section */
.instructions {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  margin: 0;
  position: sticky;
  top: 6rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.instructions h3 {
  margin-top: 0;
  color: #1e293b;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.steps-list {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: none;
  padding-left: 0;
}

.steps-list li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
  color: #475569;
  padding-left: 1.5rem;
  position: relative;
}

.steps-list li:before {
  content: "•";
  color: #4f46e5;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.tip {
  background: #e0f2fe;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #0369a1;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.tip i {
  margin-top: 0.15rem;
  color: #0ea5e9;
}

.business-content {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  flex: 1 0 auto;
}

/* Restaurant Card Styles */
.restaurant-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.restaurant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.restaurant-header {
  padding: 18px 20px;
  border-bottom: 1px solid #f5f5f5;
  background-color: #fafafa;
}

.restaurant-header h3 {
  margin: 0 0 8px 0;
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
}

.cuisine-badge {
  display: inline-block;
  background: #e8f4f8;
  color: #2980b9;
  padding: 3px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
}

.restaurant-info {
  padding: 20px;
  flex-grow: 1;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  align-items: center;
}

.info-label {
  color: #7f8c8d;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-label i {
  width: 18px;
  text-align: center;
  color: #95a5a6;
}

.info-value {
  color: #2c3e50;
  font-weight: 600;
  text-align: right;
  font-size: 0.95rem;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.open {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.status-badge.closed {
  background-color: #ffebee;
  color: #c62828;
}

.restaurant-actions {
  padding: 0 20px 20px;
  margin-top: auto;
}

.restaurant-actions .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.restaurant-actions .btn i {
  font-size: 0.9em;
}

.business-card {
  margin: 2rem auto;
  max-width: 1000px;
  width: 90%;
  border: 1px solid #e5e7eb;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.card-header h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.card-header .subtitle {
  opacity: 0.9;
  margin: 0.5rem 0 0;
  font-weight: 400;
}

.form-container {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 1.5rem;
  opacity: 1; /* Ensure form is visible */
  transform: translateY(0); /* Reset transform */
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: white; /* Ensure background is white */
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1f2937;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group label i {
  color: #4f46e5;
  width: 1.25rem;
  text-align: center;
  font-size: 1.1rem;
}

/* Form input styles */
.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #111827;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Ensure number inputs look consistent */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: auto;
  appearance: auto;
  margin: 0;
}

.form-group input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  background-color: #ffffff;
}

/* Ensure inputs are visible in dark mode */
@media (prefers-color-scheme: dark) {
  .form-group input {
    background-color: #1f2937;
    border-color: #374151;
    color: #f3f4f6;
  }
  
  .form-group input:focus {
    background-color: #1f2937;
    border-color: #818cf8;
  }
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-primary i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.stats-preview {
  padding: 0 2rem 2rem;
  margin-top: 1.5rem;
}

.stats-preview h3 {
  color: #1f2937;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.stats-preview h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  border-radius: 3px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-item {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: #c7d2fe;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

.info-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.info-card h3 {
  color: #1e1b4b;
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card h3 i {
  color: #4f46e5;
}

.steps-list {
  padding-left: 1.5rem;
  margin: 0 0 1.5rem;
}

.steps-list li {
  margin-bottom: 0.75rem;
  color: #4b5563;
  line-height: 1.6;
}

.tip {
  background: #f0f9ff;
  border-left: 3px solid #0ea5e9;
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #0369a1;
  font-size: 0.95rem;
}

.tip i {
  color: #0ea5e9;
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .business-content {
    grid-template-columns: 2fr 1fr;
  }
  
  .business-card {
    grid-column: 1 / 2;
  }
  
  .info-card {
    grid-column: 2 / 3;
    align-self: start;
    position: sticky;
    top: 90px;
  }
}

@media (max-width: 767px) {
  .business-content {
    grid-template-columns: 1fr;
  }
  
  .card-header h1 {
    font-size: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.mt-4 {
  margin-top: 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  margin-top: 70px; /* Account for fixed navbar */
}

.left-panel {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.left-panel h2 {
  color: #1e1b4b;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.left-panel h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #4f46e5;
  border-radius: 3px;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="number"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f9fafb;
}

.form-group input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background-color: white;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(79, 70, 229, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

#statusMessage {
  margin-top: 1.5rem;
  text-align: center;
  min-height: 24px;
}

.success-message {
  color: #059669;
  background: #d1fae5;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.error-message {
  color: #dc2626;
  background: #fee2e2;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.success-message::before,
.error-message::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.success-message::before {
  content: "\f00c";
}

.error-message::before {
  content: "\f06a";
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .left-panel {
    padding: 1.5rem;
  }
  
  .left-panel h2 {
    font-size: 1.5rem;
  }
}

/* Ripple Effect */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(0);
  animation: ripple 600ms linear;
  pointer-events: none;
}

/* Main Content */
main {
  flex: 1;
  padding-top: 70px; /* Account for fixed navbar */
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
  position: relative;
  overflow: visible;
}

.hero-content {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1e1b4b;
  line-height: 1.2;
}

.tagline {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Form */
.search-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

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

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  color: #6b7280;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 10;
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  padding-left: 2.5rem !important;
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #1f2937;
  height: 48px;
  line-height: 1.5;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background-color: white;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Results Section */
.results-section {
  padding: 4rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.results-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: #1e1b4b;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 2rem 0;
  width: 100%;
  flex-shrink: 0;
  margin-top: auto;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

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

.social-link:hover {
  background: #4f46e5;
  transform: translateY(-3px);
}

.footer-links h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #4f46e5;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .search-form {
    padding: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
