/* Lucky Cafe & Bakers — custom enhancements (kept separate from vendor style.css) */

/* ---------- Real-photo friendly image treatment ---------- */
/* Vendor theme was built around pre-cut circular PNG icons. Real photos are
   rectangular, so we force a consistent circular crop wherever the theme
   expects an icon-style dish image. */
.single-menu-nav .menu-img,
.single-dishes .dish-img,
.single-menu-item .menu-img {
  overflow: hidden;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.single-menu-nav .menu-img img,
.single-dishes .dish-img img,
.single-menu-item .menu-img img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ---------- Lazy-load fade-in ---------- */
img[loading="lazy"] {
  transition: opacity .5s ease;
}

/* ---------- Bakery highlight section ---------- */
.bakery-area {
  position: relative;
  overflow: hidden;
}
.bakery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  transition: transform .4s ease, box-shadow .4s ease;
  height: 100%;
}
.bakery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.bakery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
}
.bakery-card:hover img {
  transform: scale(1.08);
}
.bakery-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: #fff;
}
.bakery-card-caption h5 {
  color: #fff;
  margin-bottom: 2px;
}
.bakery-card-caption span {
  font-size: 13px;
  opacity: .85;
}

/* ---------- Real photo gallery grid ---------- */
.real-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.real-gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
}
.real-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.real-gallery-grid a:hover img {
  transform: scale(1.1);
}
.real-gallery-grid a::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  background: rgba(0,0,0,0);
  opacity: 0;
  transition: all .35s ease;
}
.real-gallery-grid a:hover::after {
  background: rgba(0,0,0,.35);
  opacity: 1;
}
@media (max-width: 991px) {
  .real-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .real-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ---------- Stat / info cards (About page) ---------- */
.info-stat-card {
  text-align: center;
  padding: 30px 15px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.info-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,.1);
}
.info-stat-card .items {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: #c33;
  margin: 10px 0 4px;
}

/* ---------- Contact page ---------- */
.contact-info-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform .3s ease;
}
.contact-info-card:hover { transform: translateY(-4px); }
.contact-info-card .cic-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #c33;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.contact-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  line-height: 0;
}
.contact-map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
@media (max-width: 767px) {
  .contact-map-wrap iframe { height: 280px; }
}

/* ---------- Breadcrumb hero background (real photo) ---------- */
.breadcrumb-area.real-bg {
  position: relative;
  background-size: cover;
  background-position: center;
}
.breadcrumb-area.real-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,10,5,.72), rgba(20,10,5,.6));
}
.breadcrumb-area.real-bg .container { position: relative; z-index: 2; }
.breadcrumb-area.real-bg .page-title,
.breadcrumb-area.real-bg .breadcrumb-item,
.breadcrumb-area.real-bg .breadcrumb-item a { color: #fff; }

/* ---------- Hero real-photo frame ---------- */
.banner-img-real {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
  transform: rotate(-2deg);
  transition: transform .5s ease;
}
.banner-img-real:hover { transform: rotate(0deg); }
.banner-img-real img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ---------- Small responsive polish ---------- */
@media (max-width: 575px) {
  .banner-content h1 { font-size: 34px; }
  .common-title-area h2 { font-size: 26px; }
}
img { max-width: 100%; height: auto; }

/* ---------- Call-to-order / WhatsApp CTA ---------- */
.cta-order-wrap {
  background: linear-gradient(155deg, #fff 0%, #fff7f2 100%);
  border-radius: 20px;
  padding: 46px 34px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 26px;
}
.cta-order-wrap h3 {
  margin-bottom: 4px;
}
.cta-order-wrap > p {
  color: #7a7a7a;
  margin-bottom: 6px;
}
.cta-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  width: 100%;
}
.cta-pill-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #d94040, #b32424);
  color: #fff !important;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(179,36,36,.35);
  transition: transform .3s ease, box-shadow .3s ease;
  min-width: 230px;
  justify-content: flex-start;
}
.cta-pill-btn.whatsapp-btn {
  background: linear-gradient(135deg, #34d372, #1fa855);
  box-shadow: 0 10px 24px rgba(31,168,85,.35);
}
.cta-pill-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(179,36,36,.42);
  color: #fff !important;
}
.cta-pill-btn.whatsapp-btn:hover {
  box-shadow: 0 16px 32px rgba(31,168,85,.42);
}
.cta-pill-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.cta-pill-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.cta-pill-text strong {
  font-size: 16px;
  font-weight: 700;
}
.cta-pill-text span {
  font-size: 13px;
  opacity: .88;
}
/* subtle shimmer sweep, not a garish pulse */
.cta-pill-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: ctaShimmer 3.2s ease-in-out infinite;
}
@keyframes ctaShimmer {
  0% { left: -60%; }
  35% { left: 130%; }
  100% { left: 130%; }
}

/* ---------- Header call / WhatsApp CTA ----------
   Compact, flat, icon-only buttons — matches the theme's existing solid
   .btn look (no gradients/glow/shimmer) and can never overflow the header
   column regardless of viewport width. */
.header-cta-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.header-cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #c33;
  color: #fff !important;
  text-decoration: none;
  font-size: 17px;
  border: 1px solid transparent;
  transition: background .3s ease, transform .2s ease, border-color .3s ease;
}
.header-cta-btn.whatsapp-btn {
  background: #25D366;
}
.header-cta-btn:hover {
  transform: translateY(-2px);
  background: transparent;
  border-color: #c33;
  color: #c33 !important;
}
.header-cta-btn.whatsapp-btn:hover {
  border-color: #25D366;
  color: #25D366 !important;
}

@media (max-width: 480px) {
  .header-cta-row .btn { padding: 8px 18px; font-size: 14px; }
}
@media (max-width: 375px) {
  .header-cta-row { gap: 6px; }
  .header-cta-btn { width: 36px; height: 36px; font-size: 15px; }
  .header-cta-row .btn { padding: 7px 14px; font-size: 13px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
