/* landing-frontiers-cafe.css */
/* Premium, jaw-dropping styling for Frontier's 41 Cafe on the Landing Page */

.landing-section.landing-frontiers-cafe {
  background: 
    radial-gradient(circle at 12% 18%, rgba(217, 119, 6, 0.16), transparent 32rem),
    radial-gradient(circle at 88% 82%, rgba(13, 148, 136, 0.22), transparent 36rem),
    radial-gradient(circle at 50% 50%, rgba(20, 24, 23, 0.95), #061513);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-frontiers-cafe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #eab308, #14b8a6, transparent);
  opacity: 0.8;
}

/* Header & Eyebrow */
.cafe-header-wrap {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 2;
}

.cafe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde047;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.15);
}

.cafe-eyebrow svg {
  width: 15px;
  height: 15px;
  color: #facc15;
  flex-shrink: 0;
}

.cafe-main-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-family: Georgia, "Noto Serif Bengali", serif;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  background: linear-gradient(135deg, #ffffff 40%, #fef08a 85%, #99f6e4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.cafe-subtext {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto;
}

/* Toolbar: Filter Pills & Search */
.cafe-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cafe-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.cafe-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease-in-out;
  backdrop-filter: blur(8px);
}

.cafe-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  transform: translateY(-1px);
}

.cafe-tab-btn.is-active {
  background: linear-gradient(135deg, #d97706, #0d9488);
  border-color: rgba(254, 240, 138, 0.5);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.cafe-tab-badge {
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-weight: 800;
}

.cafe-tab-btn.is-active .cafe-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.cafe-search-wrap {
  width: 100%;
  max-width: 26rem;
  position: relative;
}

.cafe-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
}

.cafe-search-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.cafe-search-input:focus {
  border-color: #facc15;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

.cafe-search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

/* Cafe Cards Grid */
.cafe-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.cafe-card {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.cafe-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cafe-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 
    0 16px 36px -8px rgba(0, 0, 0, 0.5),
    0 0 24px -4px rgba(217, 119, 6, 0.25);
}

.cafe-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.cafe-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.cafe-card:hover .cafe-icon-box {
  transform: scale(1.08) rotate(3deg);
}

.cafe-icon-box svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

/* Icon box themes */
.cafe-theme-coffee {
  background: linear-gradient(135deg, #d97706, #92400e);
}
.cafe-theme-cold {
  background: linear-gradient(135deg, #0284c7, #1d4ed8);
}
.cafe-theme-juice {
  background: linear-gradient(135deg, #10b981, #047857);
}
.cafe-theme-citrus {
  background: linear-gradient(135deg, #eab308, #ca8a04);
}
.cafe-theme-creamy {
  background: linear-gradient(135deg, #ec4899, #be185d);
}

.cafe-card-info {
  flex: 1;
  min-width: 0;
}

.cafe-item-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #99f6e4;
  margin-bottom: 0.25rem;
}

.cafe-item-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  word-break: break-word;
}

.cafe-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cafe-price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde047;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  font-family: Georgia, "Noto Serif Bengali", serif;
  font-weight: 800;
  font-size: 1.18rem;
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.1);
}

.cafe-price-symbol {
  font-size: 0.95rem;
  color: #facc15;
}

.cafe-unit-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: capitalize;
}

.cafe-featured-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

/* Empty State */
.cafe-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.25rem;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.cafe-empty-state p {
  font-size: 1rem;
  margin: 0.5rem 0 0;
}

/* Footer note */
.cafe-footer-note {
  margin-top: 2.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 600;
}

.cafe-footer-note svg {
  width: 16px;
  height: 16px;
  color: #2dd4bf;
}

/* Landing Nav Button */
.landing-nav-cafe-btn {
  position: relative;
  color: #fde047 !important;
  font-weight: 800 !important;
}

.landing-nav-cafe-btn::after {
  content: "HOT";
  font-size: 0.55rem;
  background: #e11d48;
  color: #fff;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: top;
}

@media (max-width: 640px) {
  .cafe-items-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .cafe-toolbar {
    gap: 1rem;
  }
  .cafe-tab-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
}
