/* ------------------------------------------------------------
   COME & EAT BAKERY — SIMPLE STYLESHEET
   Warm, clean, minimal, handcrafted
   ------------------------------------------------------------ */


/* ------------------------------------------------------------
   1. GLOBAL RESET & ROOT VARIABLES
   ------------------------------------------------------------ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #F7F2E8;
  --linen: #EFE9DD;
  --crust: #A47551;
  --text-main: #4A3F35;
  --text-soft: #6B5E52;
  --accent: #B48A60;
}


/* ------------------------------------------------------------
   2. GLOBAL TYPOGRAPHY & BODY
   ------------------------------------------------------------ */

body {
  font-family: "Work Sans", sans-serif;
  background: var(--cream);
  color: var(--text-main);
  line-height: 1.5;
}

.section {
  padding: 3rem 1.5rem;
  text-align: center;
}

.section p {
  max-width: 600px;
  margin: 0.5rem auto 0;
  color: var(--text-soft);
}

.section a {
  color: var(--crust);
  text-decoration: underline;
  font-weight: 500;
}

.section a:hover {
  color: var(--text-main);
}

h2 .emoji {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.9em;
  vertical-align: -0.05em;
}

/* ------------------------------------------------------------
   3. HEADER, LOGO, NAVIGATION
   ------------------------------------------------------------ */

header {
  padding: 2rem 1rem;
  text-align: center;
}

/* Logo badge (oval) */
.logo-badge {
  display: inline-block;
  padding: 1rem 1.75rem;
  border: 2px solid rgba(164, 117, 81, 0.7);
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

/* Logo text */
.logo {
  font-family: "Lora", serif;
  line-height: 1.1;
  color: var(--text-main);
}

.logo .top {
  font-size: 2.5rem;
  font-weight: 600;
}

.logo .bottom {
  font-size: 1.2rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  margin-top: 0.25rem;
  display: block;
}

/* Navigation */
.main-nav {
  background: var(--crust);
  padding: 0.75rem 1rem;
  text-align: center;
}

.main-nav ul {
  list-style: none;
}

.main-nav li {
  display: inline-block;
  margin: 0 1rem;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--linen);
}

.bg-main {
  background: var(--cream);
  color: var(--text-main);
}

/* ------------------------------------------------------------
   4. HERO SECTION (HOME PAGE)
   ------------------------------------------------------------ */

.hero {
  background: var(--linen);
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem; /* adjusted from 1.25rem */
  color: var(--text-soft);
}

.cta-note {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--text-soft);
}


/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */

.btn-primary {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background: var(--crust);
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.2s ease;
}

a.btn-primary {
  color: white !important;
  text-decoration: none;
}

.btn-primary:hover {
  background: #8c6244;
}


/* ------------------------------------------------------------
   6. OFFERINGS PAGE
   ------------------------------------------------------------ */

.offerings-intro {
  margin-bottom: 2.5rem;
  font-size: 1rem; /* adjusted from 1.1rem */
  line-height: 1.6;
  color: var(--text-main);
}

/* Offerings grid layout */
.offerings-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap; /* keeps it responsive */
}

/* Individual offering blocks */
.offering-block {
  background: var(--linen);
  border: 1px solid rgba(164, 117, 81, 0.25);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  text-align: center;
}

/* Keep headings tight with lists */
.offering-block h2 {
  margin-bottom: 1rem;
  color: var(--text-main);
}

/* Lists inside blocks */
.offering-block .offerings-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

.offering-block .offerings-list li {
  margin: 0.35rem 0;
}

.offerings-note {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* ORDER FORM STYLING
   -------------------------------------------------- */
.section form {
  margin-left: auto;
  margin-right: auto;
}

.order-form {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  margin-top:2.5rem;
  padding: 2rem;
  text-align: left;
  background: var(--cream, #f8f5f0);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.order-form label {
  display: block;
  text-align: left;
  margin-top: 1.75rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d8d2c8;
  border-radius: 6px;
  background: #fff;
  text-align: left;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
}

.order-form textarea {
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--accent, #b48a60);
  box-shadow: 0 0 0 2px rgba(180,138,96,0.2);
}

.order-form button {
  margin-top: 2rem;
  padding: 0.9rem 1.5rem;
  background: var(--accent, #b48a60);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.order-form button:hover {
  background: #9c7550;
}

/* Optional: soften the optgroup labels */
.order-form optgroup {
  font-style: normal;
  font-weight: 600;
  color: #6b5a50;
  padding-top: 0.5rem;
}

.order-confirmation {
  background: #faf7f2;
  padding: 1.5rem;
  border-radius: 8px;
  color: #4a3b2a;
}
.order-confirmation h2 {
  margin-top: 0;
  font-weight: 600;
}

form select {
  font-size: 1rem; 
  padding: 0.35rem;
  width: 50px;
}

.order-items {
  padding: 1.5rem 1.25rem 1.25rem;
  background: var(--linen);
  border: 1px solid rgba(164, 117, 81, 0.25);
  border-radius: 8px;
  margin-top: 2rem;
}

.order-items legend {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
}

.item-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.1rem 0;
}

.qty-select {
  width: 48px;
  padding: 0.25rem;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  form select {
    font-size: 0.9rem; 
  }
}

/* ------------------------------------------------------------
   ORDER CONFIRMATION PAGE
   ------------------------------------------------------------ */

.order-confirmation-wrapper {
  display: flex;
  justify-content: center;
  padding: 3rem 1.5rem;
  font-family: "Work Sans", sans-serif;
  background: var(--cream);
}

.order-confirmation-card {
  background: var(--linen);
  border: 1px solid rgba(164, 117, 81, 0.25);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  color: var(--text-main);
}

.order-confirmation-card h2 {
  margin-top: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.oc-sub {
  margin-top: -0.5rem;
  font-size: 1rem;
  color: var(--text-soft);
}

.oc-order-number {
  margin: 1.75rem 0;
  padding: 1rem;
  background: var(--cream);
  border: 1px solid rgba(164, 117, 81, 0.2);
  border-radius: 8px;
}

.oc-order-number span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
}

.oc-order-number strong {
  font-size: 1.3rem;
  color: var(--text-main);
}

.oc-message {
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.oc-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.oc-btn {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--crust);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.oc-btn:hover {
  background: #8c6244;
}

.oc-secondary {
  background: var(--accent);
}

.oc-secondary:hover {
  background: #9c7550;
}

/* ------------------------------------------------------------
   7. FOOTER
   ------------------------------------------------------------ */

footer {
  padding: 2rem 1rem;
  text-align: center;
  background: var(--linen);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-logo {
  width: 20px;      /* favicon size */
  height: 20px;
  border-radius: 50%; /* circular crop */
  object-fit: cover;  /* ensures the circle stays filled */
  border: 1px solid var(--secondary-a); /* optional subtle ring */
}
