/* Just Deliveries - Custom Styles */

/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* Base styles */
body {
  background-color: #f9f9f6;
  color: #2e2e2e;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Layout centering */
main, section, form, .content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

/* Headings */
h1, h2, h3 {
  color: #275a90;
  margin-top: 0;
}

/* Phone call bar */
.call-bar {
  background-color: #275a90;
  color: white;
  font-weight: bold;
  padding: 0.75rem;
  text-align: center;
}

/* Header styling */
header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
}

header p {
  font-size: 1.25rem;
  color: #555;
}

#map.map-container.square {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  margin: 1.5rem auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* Form container */
form {
  background-color: #ffffff;
  border: 1px solid #d4a373;
  border-left: 5px solid #275a90;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-top: 2rem;
}

/* Input and textarea fields */
input, textarea {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

/* Submit button */
button, input[type="submit"] {
  background-color: #275a90;
  color: white;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Hover state for button */
button:hover, input[type="submit"]:hover {
  background-color: #2e7d32; /* green for CTA confirmation */
}

/* Delivery info box */
.delivery-info {
  background-color: #fffefc;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #d4a373;
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  body {
    font-size: 1rem;
    padding: 0.5rem;
  }

  form {
    padding: 1rem;
  }

  .delivery-info {
    margin: 1rem;
  }
}
