/**
 * assets/css/happy-hours.css
 * Layout ngang: card gold (trái ~50%) + 2 card ảnh khuyến mãi (phải ~25% mỗi cái).
 * Mobile: xếp chồng dọc.
 */

.section-happy-hours {
  background-color: var(--cream);
  padding: clamp(20px, 3vw, 40px) 0 clamp(48px, 8vw, 80px);
}

/* --- Row chính --- */
.hh-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 20px);
}

/* --- Card gold (thông tin chính) --- */
.hh-info-card {
  background: var(--gold);
  border-radius: clamp(16px, 2vw, 20px);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3.5vw, 40px);
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
}

.hh-info-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.6vw, 8px);
}

.hh-eyebrow {
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(247, 242, 231, 0.8);
}

.hh-title {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--cream);
  line-height: 1.1;
}

.hh-note {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.2vw, 14px);
  color: rgba(247, 242, 231, 0.7);
  margin-bottom: clamp(8px, 1vw, 12px);
}

.hh-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 24px;
  background: var(--cream);
  color: var(--green-deep);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(13px, 1.3vw, 15px);
  text-decoration: none;
  transition: transform 0.2s ease;
  align-self: flex-start;
}

.hh-btn:hover {
  transform: translateY(-1px);
}

.hh-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--cream);
  flex-shrink: 0;
}

.hh-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(247, 242, 231, 0.35);
  flex-shrink: 0;
}

.hh-info-right {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.5vw, 6px);
}

.hh-time-label {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.3vw, 16px);
  color: rgba(247, 242, 231, 0.85);
  margin-bottom: 4px;
}

.hh-time-value {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--cream);
  line-height: 1.1;
}

/* --- Card khuyến mãi (ảnh nền) --- */
.hh-promo-card {
  display: flex;
  flex-direction: column;
}

.hh-promo-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--champagne);
  position: relative;
  border-radius: clamp(16px, 2vw, 20px);
  overflow: hidden;
}

.hh-promo-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px) saturate(1.3);
  -webkit-backdrop-filter: blur(6px) saturate(1.3);
}

.hh-percent {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
}

.hh-off {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 500;
  margin-top: -2px;
}

.hh-promo-desc {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--green-deep);
  margin-top: clamp(4px, 0.5vw, 8px);
}

/* --- Mobile: 2 card ảnh luôn nằm 1 hàng --- */
.hh-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 20px);
}

.hh-info-card {
  grid-column: span 2;
}

.hh-promo-card {
  grid-column: span 1;
}

@media (max-width: 1023px) {
  .hh-promo-img {
    aspect-ratio: 1 / 1;
  }
}

/* --- Desktop ≥1024px: 3 cột ngang --- */
@media (min-width: 1024px) {
  .hh-row {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .hh-info-card {
    grid-column: span 1;
  }

  .hh-promo-img {
    aspect-ratio: auto;
    flex: 1;
  }
}
