/* ============================================================
   BrewBloom Coffee & Bakery — Full Site Styles
   Theme: Warm Minimalist
   Palette: #faf7f2 Cream | #3d2b1f Espresso | #c8956c Caramel | #f0e6d3 Latte
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #faf7f2;
  color: #3d2b1f;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section Headings ---------- */
.section-label {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c8956c;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #3d2b1f;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: #6b4f3a;
  max-width: 560px;
  line-height: 1.8;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .section-desc {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 13px 30px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.25s, background-color 0.25s, color 0.25s;
  text-decoration: none;
}

.btn-primary {
  background-color: #c8956c;
  color: #faf7f2;
  box-shadow: 0 4px 16px rgba(200, 149, 108, 0.35);
}

.btn-primary:hover {
  background-color: #3d2b1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 43, 31, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: #3d2b1f;
  border: 2px solid #3d2b1f;
}

.btn-outline:hover {
  background-color: #3d2b1f;
  color: #faf7f2;
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: #faf7f2;
  border: 2px solid #faf7f2;
}

.btn-outline-light:hover {
  background-color: #faf7f2;
  color: #3d2b1f;
  transform: translateY(-2px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(61, 43, 31, 0.78) 0%,
    rgba(61, 43, 31, 0.45) 55%,
    rgba(61, 43, 31, 0.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: 120px 24px 100px;
  margin: 0 auto;
}

.hero-content > * {
  max-width: 680px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 149, 108, 0.2);
  border: 1px solid rgba(200, 149, 108, 0.5);
  color: #f0e6d3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-label i {
  color: #c8956c;
}

.hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: #faf7f2;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-title span {
  color: #c8956c;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(240, 230, 211, 0.9);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(240, 230, 211, 0.2);
}

.hero-stat-num {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #c8956c;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(240, 230, 211, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   SIGNATURE ITEMS (royalservices)
   ============================================================ */
#signature {
  padding: 96px 0;
  background-color: #faf7f2;
}

.royalservices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.royalservices .service-card {
  background: #fff;
  border: 1px solid rgba(200, 149, 108, 0.18);
  border-radius: 16px;
  padding: 36px 28px 32px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.royalservices .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c8956c, #f0e6d3);
  opacity: 0;
  transition: opacity 0.3s;
}

.royalservices .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(200, 149, 108, 0.18);
  border-color: rgba(200, 149, 108, 0.4);
}

.royalservices .service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #f0e6d3, #faf7f2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(200, 149, 108, 0.25);
  transition: background 0.3s;
}

.royalservices .service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, #c8956c, #e8a87a);
}

.service-icon-wrap i {
  font-size: 26px;
  color: #c8956c;
  transition: color 0.3s;
}

.royalservices .service-card:hover .service-icon-wrap i {
  color: #faf7f2;
}

.service-name {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #3d2b1f;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 13.5px;
  color: #7a5c47;
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-price {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #c8956c;
}

/* ============================================================
   DELIVERY ORDER SECTION
   ============================================================ */
#delivery {
  padding: 72px 0;
  background: linear-gradient(135deg, #3d2b1f 0%, #5c3d2a 100%);
  position: relative;
  overflow: hidden;
}

#delivery::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 149, 108, 0.15), transparent 70%);
  border-radius: 50%;
}

.delivery-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.delivery-text .section-label {
  color: rgba(200, 149, 108, 0.9);
}

.delivery-text .section-title {
  color: #faf7f2;
  margin-bottom: 10px;
}

.delivery-text p {
  color: rgba(240, 230, 211, 0.8);
  font-size: 15px;
  max-width: 400px;
  margin-bottom: 24px;
}

.delivery-est {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 149, 108, 0.15);
  border: 1px solid rgba(200, 149, 108, 0.35);
  color: #f0e6d3;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
}

.delivery-est i {
  color: #c8956c;
}

.delivery-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}

.delivery-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(240, 230, 211, 0.2);
  border-radius: 12px;
  padding: 14px 20px;
  cursor: pointer;
  color: #faf7f2;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  text-align: left;
}

.delivery-btn:hover {
  background: rgba(200, 149, 108, 0.2);
  border-color: rgba(200, 149, 108, 0.5);
  transform: translateX(4px);
}

.delivery-btn .btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.delivery-btn.doordash .btn-icon { background: #ff3008; }
.delivery-btn.ubereats .btn-icon { background: #142328; }
.delivery-btn.grubhub .btn-icon { background: #f63440; }

.delivery-btn .btn-label span {
  font-size: 11px;
  color: rgba(240, 230, 211, 0.6);
  font-weight: 400;
  display: block;
}

/* ============================================================
   ABOUT / OUR STORY SECTION
   ============================================================ */
#about {
  padding: 96px 0;
  background: #faf7f2;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(61, 43, 31, 0.18);
}

.about-badge {
  position: absolute;
  bottom: 32px;
  right: -24px;
  background: #c8956c;
  color: #faf7f2;
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(200, 149, 108, 0.4);
}

.about-badge .badge-num {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-badge .badge-text {
  font-size: 12px;
  opacity: 0.9;
  display: block;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.about-content .section-desc {
  max-width: 100%;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  background: rgba(200, 149, 108, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c8956c;
  font-size: 17px;
}

.about-feature h4 {
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 700;
  color: #3d2b1f;
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 13px;
  color: #7a5c47;
  line-height: 1.55;
}

/* ============================================================
   WEEKLY SPECIALS SECTION
   ============================================================ */
#specials {
  padding: 96px 0;
  background: #f0e6d3;
}

.specials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.special-card {
  background: #faf7f2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.special-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(61, 43, 31, 0.14);
}

.special-card-top {
  background: linear-gradient(135deg, #3d2b1f, #5c3d2a);
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.special-day {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #c8956c;
  letter-spacing: 0.05em;
}

.special-badge {
  background: #c8956c;
  color: #faf7f2;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.special-card-body {
  padding: 24px;
}

.special-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.special-name {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #3d2b1f;
  margin-bottom: 8px;
}

.special-desc {
  font-size: 14px;
  color: #7a5c47;
  line-height: 1.6;
  margin-bottom: 16px;
}

.special-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
}

.special-price {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #c8956c;
}

.special-original {
  font-size: 14px;
  color: #aaa;
  text-decoration: line-through;
}

.special-save {
  font-size: 12px;
  font-weight: 700;
  color: #5c8f4f;
  background: rgba(92, 143, 79, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ============================================================
   REVIEWS SECTION (royalreview)
   ============================================================ */
#reviews {
  padding: 96px 0;
  background: #faf7f2;
}

.royalreview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.royalreview .review-card {
  background: #fff;
  border: 1px solid rgba(200, 149, 108, 0.15);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.royalreview .review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(200, 149, 108, 0.15);
}

.review-quote-icon {
  font-size: 48px;
  color: rgba(200, 149, 108, 0.2);
  font-family: 'Lora', serif;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.review-stars {
  color: #c8956c;
  font-size: 15px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  color: #5a3e2b;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(200, 149, 108, 0.3);
}

.review-author-name {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 15px;
  color: #3d2b1f;
  margin-bottom: 2px;
}

.review-author-role {
  font-size: 12.5px;
  color: #c8956c;
  letter-spacing: 0.04em;
}

/* ============================================================
   NEWSLETTER + CONTACT FORM (royalform)
   ============================================================ */
#forms {
  padding: 96px 0;
  background: #f0e6d3;
}

.royalform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.form-panel {
  background: #faf7f2;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(61, 43, 31, 0.08);
}

.form-panel .section-title {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.form-panel .section-desc {
  font-size: 14.5px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #3d2b1f;
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(200, 149, 108, 0.3);
  border-radius: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #3d2b1f;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #c8956c;
  box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.12);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.newsletter-row {
  display: flex;
  gap: 10px;
}

.newsletter-row input {
  flex: 1;
}

.newsletter-row button {
  flex-shrink: 0;
}

/* ============================================================
   FOOTER (Warm Cream-Toned 4-Column)
   ============================================================ */
footer {
  background: #f5ede0;
  color: #3d2b1f;
  padding: 72px 0 0;
  border-top: 2px solid rgba(200, 149, 108, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(61, 43, 31, 0.12);
}

.footer-brand .logo-text {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-weight: 700;
  color: #3d2b1f;
  letter-spacing: 0.01em;
  display: block;
  margin-bottom: 4px;
}

.footer-brand .logo-text span {
  color: #c8956c;
}

.footer-brand .tagline {
  font-size: 12px;
  color: #c8956c;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: #6b4f3a;
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: #faf7f2;
  border: 1px solid rgba(200, 149, 108, 0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3d2b1f;
  font-size: 15px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.footer-social a:hover {
  background: #c8956c;
  border-color: #c8956c;
  color: #faf7f2;
}

.footer-col h4 {
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 700;
  color: #3d2b1f;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: #c8956c;
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #6b4f3a;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: #c8956c;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: #c8956c;
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 14px;
  color: #6b4f3a;
  line-height: 1.6;
}

.footer-hours {
  margin-top: 4px;
}

.footer-hours p {
  font-size: 13px;
  color: #7a5c47;
  margin-bottom: 4px;
}

.footer-hours strong {
  color: #3d2b1f;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: #7a5c47;
}

.footer-bottom a {
  color: #a86f42;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #3d2b1f;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: #7a5c47;
  font-weight: 400;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #c8956c;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .royalservices,
  .specials-grid,
  .royalreview {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-wrap img {
    height: 380px;
  }

  .about-badge {
    right: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  #hero {
    min-height: 85vh;
  }

  .hero-stats {
    gap: 28px;
  }

  .royalservices,
  .specials-grid,
  .royalreview {
    grid-template-columns: 1fr;
  }

  .royalform {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .delivery-inner {
    flex-direction: column;
  }

  .delivery-buttons {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-row {
    flex-direction: column;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
}
