/* ==========================================================================
   NIMIS PHOTO WORLD - OFFERS PAGE STYLES (offers.css)
   Ultra-Professional Luxury Card Design & Layout
   ========================================================================== */

/* 1. Announcement Ticker Bar (Placed BELOW the Navigation Header) */
.offers-announcement-bar {
  background: linear-gradient(90deg, #ff8800 0%, #ff5500 50%, #d4af37 100%);
  color: #0b0b10;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  margin-top: var(--header-height, 92px);
  z-index: 990;
  box-shadow: 0 4px 20px rgba(255, 136, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.offers-announcement-bar.hidden {
  display: none !important;
}

.announcement-badge {
  background: #000;
  color: #ffaa33;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.announcement-text {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  letter-spacing: 0.2px;
}

.announcement-cta {
  background: #000;
  color: #fff;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.announcement-cta:hover {
  transform: scale(1.05);
  background: #1a1a24;
  color: #ffaa33;
}

/* 2. Offers Page Hero */
.offers-hero {
  position: relative;
  padding: 50px 0 35px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(255, 136, 0, 0.08) 0%, transparent 60%);
}

.offers-announcement-bar.hidden + main .offers-hero,
body.no-announcement .offers-hero {
  padding-top: calc(var(--header-height, 92px) + 50px);
}

.offers-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-primary, #0a0a0f) 85%);
  pointer-events: none;
}

.offers-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 136, 0, 0.12);
  border: 1px solid rgba(255, 136, 0, 0.35);
  border-radius: 999px;
  color: var(--accent, #ff8800);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.offers-tag-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #ff8800);
  box-shadow: 0 0 10px var(--accent, #ff8800);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.offers-hero-title {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text-primary, #fff);
}

.offers-hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-secondary, #b3b3c0);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* 3. Filter & Search Controls */
.offers-controls-wrap {
  margin: 0 auto 30px;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offers-search-bar {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.offers-search-bar input {
  width: 100%;
  padding: 12px 18px 12px 46px;
  background: rgba(20, 20, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  outline: none;
}

.offers-search-bar input:focus {
  border-color: var(--accent, #ff8800);
  box-shadow: 0 0 20px rgba(255, 136, 0, 0.2);
  background: rgba(28, 28, 36, 0.95);
}

.offers-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted, #7a7a8c);
  pointer-events: none;
}

.offers-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.filter-pill {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text-secondary, #b3b3c0);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 136, 0, 0.4);
  color: #fff;
}

.filter-pill.active {
  background: var(--accent, #ff8800);
  color: #0c0c12;
  border-color: var(--accent, #ff8800);
  box-shadow: 0 4px 18px rgba(255, 136, 0, 0.35);
  font-weight: 700;
}

.filter-pill .pill-count {
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.filter-pill.active .pill-count {
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}

/* 4. Luxury Professional Offers Grid */
.offers-grid-section {
  padding: 10px 0 80px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
}

.offer-card {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 22, 28, 0.9) 0%, rgba(14, 14, 18, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.offer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 136, 0, 0.45);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 136, 0, 0.18);
}

/* Card Media (Image) */
.offer-media-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #0d0d12;
}

.offer-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.offer-card:hover .offer-media-img {
  transform: scale(1.08);
}

.offer-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 14, 18, 0.95) 0%, rgba(14, 14, 18, 0.15) 55%, transparent 100%);
  pointer-events: none;
}

.offer-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #ff8800 0%, #e65100 100%);
  color: #0b0b10;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
}

/* Card Body (Clean: Title, Price, Claim Button) */
.offer-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-title {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
  color: #ffffff;
  min-height: 3.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.offer-card:hover .offer-title {
  color: var(--accent, #ff8800);
}

/* Pricing Bar */
.offer-price-bar {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  margin-top: auto;
}

.price-current {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent, #ff8800);
  line-height: 1;
}

.price-original {
  font-size: 0.95rem;
  color: var(--text-muted, #727282);
  text-decoration: line-through;
  font-weight: 500;
}

.price-save-tag {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 700;
  color: #2fe671;
  background: rgba(46, 230, 113, 0.12);
  border: 1px solid rgba(46, 230, 113, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
}

/* Full Width Professional CTA Button */
.btn-claim-offer {
  width: 100%;
  padding: 13px 18px;
  background: linear-gradient(135deg, #25d366 0%, #1ea952 100%);
  color: #052010;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.btn-claim-offer:hover {
  background: linear-gradient(135deg, #2cf577 0%, #20be5c 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-claim-offer svg {
  flex-shrink: 0;
}

/* 5. Empty State */
.offers-empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.empty-state-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  color: var(--accent, #ff8800);
  opacity: 0.7;
}

.empty-state-title {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.empty-state-text {
  font-size: 0.95rem;
  color: var(--text-secondary, #a8a8bb);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* 6. Studio Guarantee Section */
.offers-guarantee-section {
  padding: 50px 0;
  background: rgba(14, 14, 19, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 50px;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.guarantee-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.guarantee-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 136, 0, 0.12);
  color: var(--accent, #ff8800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.guarantee-content p {
  font-size: 0.84rem;
  color: var(--text-secondary, #9a9ab0);
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 768px) {
  .offers-announcement-bar {
    margin-top: 76px;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
  }
  .offers-grid {
    grid-template-columns: 1fr;
  }
  .offers-hero {
    padding: 35px 0 25px;
  }
}

@media (max-width: 480px) {
  .offers-announcement-bar {
    margin-top: 72px;
  }
}
