/* ==========================================================================
   British Custom Patches - Black Friday Custom Patches Landing Page
   Bootstrap 5.3 Modern Dark Luxury Theme
   ========================================================================== */

:root {
  --bf-bg: #09090b;
  --bf-bg-subtle: #0f0f12;
  --bf-surface: #141417;
  --bf-card: #18181c;
  --bf-card-hover: #1f1f24;
  --bf-border: #27272e;
  --bf-border-light: rgba(255, 255, 255, 0.08);

  --bf-red: #e51c23;
  --bf-red-hover: #ff2d34;
  --bf-red-dark: #b81218;
  --bf-red-glow: rgba(229, 28, 35, 0.35);

  --bf-gold: #d4af37;
  --bf-gold-light: #fde047;

  --bf-text: #ffffff;
  --bf-text-muted: #a1a1aa;
  --bf-text-subtle: #71717a;

  --bf-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bf-font-display: 'Kanit', sans-serif;
  --bf-font-script: 'Pacifico', cursive;

  --bf-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6);
  --bf-shadow-glow: 0 0 25px rgba(229, 28, 35, 0.28);
}

/* Base & Typography */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bf-bg);
  color: var(--bf-text);
  font-family: var(--bf-font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--bf-red);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #09090b;
}
::-webkit-scrollbar-thumb {
  background: #27272e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bf-red);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--bf-font-display);
  letter-spacing: -0.01em;
}

.font-script {
  font-family: var(--bf-font-script);
}

/* Background Gradients & Effects */
.bg-grunge {
  background-color: #0b0b0e;
  background-image: 
    radial-gradient(circle at 75% 35%, rgba(229, 28, 35, 0.18) 0%, rgba(11, 11, 14, 0) 55%),
    radial-gradient(circle at 20% 30%, rgba(229, 28, 35, 0.10) 0%, rgba(11, 11, 14, 0) 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 2px, transparent 2px, transparent 6px);
}

.stitched-box {
  background: linear-gradient(145deg, #161619 0%, #101013 100%);
  border: 1px solid var(--bf-border);
  box-shadow: var(--bf-shadow-card);
  position: relative;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.section-divider::before,
.section-divider::after {
  content: "";
  height: 1px;
  width: 90px;
  background: linear-gradient(90deg, transparent, #3a3a42, transparent);
}

.badge-bf-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 28, 35, 0.12);
  border: 1px solid rgba(229, 28, 35, 0.3);
  color: #ff6b70;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 999px;
}

/* Buttons */
.btn-bf-primary {
  background: linear-gradient(135deg, var(--bf-red) 0%, var(--bf-red-dark) 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 112, 0.35);
  box-shadow: 0 6px 20px var(--bf-red-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.btn-bf-primary:hover {
  background: linear-gradient(135deg, var(--bf-red-hover) 0%, var(--bf-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(229, 28, 35, 0.45);
}

.btn-bf-outline {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid var(--bf-border);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.btn-bf-outline:hover {
  border-color: var(--bf-red);
  color: var(--bf-red) !important;
  background: rgba(229, 28, 35, 0.08);
}

/* --------------------------------------------------------------------------
   1. Sticky Navbar
   -------------------------------------------------------------------------- */
.bf-header {
  background: rgba(11, 11, 14, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bf-border);
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: all 0.3s ease;
}

.bf-brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.bf-nav-link {
  color: #d4d4d8 !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px !important;
  position: relative;
  transition: color 0.2s ease;
}
.bf-nav-link:hover,
.bf-nav-link.active {
  color: #ffffff !important;
}
.bf-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--bf-red);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   2. Promo Marquee Ticker
   -------------------------------------------------------------------------- */
.bf-ticker-bar {
  background: #111115;
  border-bottom: 1px solid #202026;
  padding: 8px 0;
  overflow: hidden;
  font-size: 0.8125rem;
  font-weight: 600;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
  gap: 3rem;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d4d4d8;
}
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   3. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 4rem 0 3.5rem 0;
  border-bottom: 1px solid var(--bf-border);
  overflow: hidden;
}

.bf-ribbon-badge {
  display: inline-block;
  background: var(--bf-red);
  color: #ffffff;
  font-family: var(--bf-font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.85rem;
  padding: 6px 20px;
  transform: rotate(-3deg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px var(--bf-red-glow);
  text-transform: uppercase;
  line-height: 1;
}

.hero-huge-title {
  font-family: var(--bf-font-display);
  font-weight: 900;
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.hero-huge-title .sub-top {
  font-size: 3.5rem;
  color: #ffffff;
}
.hero-huge-title .discount-main {
  font-size: 5rem;
  color: var(--bf-red);
  text-shadow: 0 6px 25px rgba(229, 28, 35, 0.5);
}
.hero-huge-title .discount-off {
  font-size: 4.5rem;
  color: #ffffff;
}

.patch-shadow {
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0 2px 8px rgba(229, 28, 35, 0.2));
}

/* --------------------------------------------------------------------------
   4. Shop by Category
   -------------------------------------------------------------------------- */
.category-card {
  background: linear-gradient(180deg, #19191d 0%, #121215 100%);
  border: 1px solid var(--bf-border);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 20px rgba(0, 0, 0, 0.4);
}
.category-card:hover {
  border-color: var(--bf-red);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 28px rgba(229, 28, 35, 0.22);
}

.cat-img-wrap {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.cat-img-wrap img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.category-card:hover .cat-img-wrap img {
  transform: scale(1.1);
}
.cat-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f4f4f5;
  transition: color 0.2s ease;
  margin-bottom: 0;
}
.category-card:hover .cat-title {
  color: var(--bf-red);
}

/* --------------------------------------------------------------------------
   5. Interactive Patch Customizer Studio (Dual Mode: Upload + Stitch)
   -------------------------------------------------------------------------- */
.customizer-section {
  padding: 3rem 0;
}

.customizer-dropzone {
  border: 2px dashed rgba(229, 28, 35, 0.45);
  background: rgba(22, 22, 26, 0.65);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
.customizer-dropzone:hover,
.customizer-dropzone.dragover {
  border-color: var(--bf-red);
  background: rgba(229, 28, 35, 0.08);
  box-shadow: 0 0 20px rgba(229, 28, 35, 0.15);
}

.upload-success-chip {
  display: none;
  align-items: center;
  gap: 8px;
  background: #1e1e24;
  border: 1px solid #383842;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #f4f4f5;
  margin-top: 8px;
}

/* Customizer Live Visualizer Preview Box */
.patch-stage-box {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.live-patch-preview-wrapper {
  position: relative;
  width: 260px;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.patch-uploaded-overlay {
  max-width: 170px;
  max-height: 170px;
  object-fit: contain;
  position: absolute;
  z-index: 15;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.65));
}

.live-spec-pill {
  background: #18181d;
  border: 1px solid #2f2f38;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e4e4e7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   6. Portfolio Showcase (5 Lifestyle Cards)
   -------------------------------------------------------------------------- */
.portfolio-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--bf-border);
  background: var(--bf-card);
  position: relative;
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover {
  border-color: var(--bf-red);
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(229, 28, 35, 0.25);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(9,9,11,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1rem;
  pointer-events: none;
}
.portfolio-badge {
  background: rgba(229, 28, 35, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 4px;
}
.portfolio-item-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}
.portfolio-item-desc {
  font-size: 0.75rem;
  color: #a1a1aa;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. Backing Options Section (4 Cards Grid)
   -------------------------------------------------------------------------- */
.backing-card {
  background: linear-gradient(180deg, #18181d 0%, #111114 100%);
  border: 1px solid var(--bf-border);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s ease;
}
.backing-card:hover,
.backing-card.active {
  border-color: var(--bf-red);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(229, 28, 35, 0.2);
}

.backing-photo-wrap {
  height: 150px;
  overflow: hidden;
  position: relative;
  background: #1f1f26;
}
.backing-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.backing-card:hover .backing-photo-wrap img {
  transform: scale(1.06);
}

.backing-card-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.backing-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.backing-icon-svg {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.backing-desc-text {
  font-size: 0.78rem;
  color: var(--bf-text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   8. What Our Customers Say (Swiper Slider)
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 3.5rem 0;
  position: relative;
}

.testimonial-card {
  background: linear-gradient(180deg, #19191d 0%, #131316 100%);
  border: 1px solid var(--bf-border);
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease;
}
.testimonial-card:hover {
  border-color: rgba(229, 28, 35, 0.5);
}

.star-rating {
  color: #f59e0b;
  font-size: 0.8125rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-quote {
  font-size: 0.84rem;
  line-height: 1.6;
  color: #e4e4e7;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bf-red);
}
.client-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1px;
}
.client-location {
  font-size: 0.7rem;
  color: #a1a1aa;
}

/* Swiper Controls Custom Styling */
.swiper-button-prev-custom,
.swiper-button-next-custom {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1a1a1f;
  border: 1px solid var(--bf-border);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background: var(--bf-red);
  border-color: var(--bf-red);
  color: #ffffff;
}

.swiper-pagination-bullet {
  background: #4b4b54 !important;
  opacity: 0.8 !important;
}
.swiper-pagination-bullet-active {
  background: var(--bf-red) !important;
  width: 22px !important;
  border-radius: 6px !important;
}

/* --------------------------------------------------------------------------
   9. FAQ Accordion (Bootstrap 5)
   -------------------------------------------------------------------------- */
.bf-accordion .accordion-item {
  background: #141417;
  border: 1px solid var(--bf-border);
  border-radius: 10px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.bf-accordion .accordion-button {
  background: #141417;
  color: #f4f4f5;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 1rem 1.25rem;
  box-shadow: none !important;
}
.bf-accordion .accordion-button:not(.collapsed) {
  background: #18181d;
  color: var(--bf-red);
}
.bf-accordion .accordion-button::after {
  filter: invert(1);
  transition: transform 0.25s ease;
}
.bf-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(320deg);
}
.bf-accordion .accordion-body {
  background: #141417;
  color: var(--bf-text-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  border-top: 1px solid #1f1f25;
  padding: 0.85rem 1.25rem 1.15rem 1.25rem;
}

/* --------------------------------------------------------------------------
   10. Mid-Page Banners
   -------------------------------------------------------------------------- */
.red-banner-grunge {
  background: radial-gradient(circle at 50% 50%, #f0242b 0%, #c81017 70%, #9b0b10 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 100, 105, 0.4);
  border-bottom: 1px solid rgba(255, 100, 105, 0.4);
}
.red-banner-grunge::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-25deg, rgba(0,0,0,0.08) 0px, rgba(0,0,0,0.08) 3px, transparent 3px, transparent 12px);
  pointer-events: none;
}

.newsletter-bar {
  background: linear-gradient(90deg, #5c0b0e 0%, #3a0608 50%, #5c0b0e 100%);
  border-top: 1px solid rgba(229, 28, 35, 0.3);
  border-bottom: 1px solid rgba(229, 28, 35, 0.3);
}

/* --------------------------------------------------------------------------
   11. Modern Redesigned Footer
   -------------------------------------------------------------------------- */
.bf-footer {
  background: #08080a;
  border-top: 1px solid #1d1d22;
  color: #a1a1aa;
  padding: 3.5rem 0 1.5rem 0;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.55rem;
}
.footer-links a {
  color: #a1a1aa;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}
.footer-links a i {
  font-size: 0.65rem;
  color: var(--bf-red);
}

.social-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #151518;
  border: 1px solid #282830;
  color: #d4d4d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.25s ease;
}
.social-circle-btn:hover {
  background: var(--bf-red);
  border-color: var(--bf-red);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  color: #d4d4d8;
}
.footer-contact-item i {
  color: var(--bf-red);
  margin-top: 3px;
  font-size: 0.85rem;
}

.footer-bottom-bar {
  border-top: 1px solid #1a1a20;
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: #71717a;
}

.payment-pill {
  background: #141418;
  border: 1px solid #282830;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.btn-scroll-top {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bf-red);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 4px 12px var(--bf-red-glow);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-scroll-top:hover {
  background: var(--bf-red-hover);
  transform: translateY(-2px);
}

