/* ============================================
   Blaze Smoke Shop - custom styles
   ============================================ */

:root {
  --clr-dark: #17140f;
  --clr-cream: #f6f2ea;
  --clr-red: #c1272d;
  --clr-gold: #cba135;
  --clr-card-bg: #dbe2e6;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Roboto", "Plus Jakarta Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: #2a2a2a;
}

a {
  color: var(--clr-red);
  text-decoration: none;
}

a:hover {
  color: var(--clr-gold);
}

img {
  max-width: 100%;
  display: block;
}

.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.bg-alt {
  background-color: var(--clr-cream);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

/* ============ Buttons ============ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}

.btn-pill-dark {
  background-color: var(--clr-dark);
  color: #fff;
  border-color: var(--clr-dark);
}
.btn-pill-dark:hover {
  background-color: #000;
  color: #fff;
}

.btn-pill-light {
  background-color: #fff;
  color: var(--clr-dark);
  border-color: #fff;
}
.btn-pill-light:hover {
  background-color: transparent;
  color: #fff;
}

.btn-pill-outline {
  background-color: transparent;
  color: var(--clr-dark);
  border-color: var(--clr-dark);
}
.btn-pill-outline:hover {
  background-color: var(--clr-dark);
  color: #fff;
}

.btn-pill-gold {
  background-color: var(--clr-gold);
  color: var(--clr-dark);
  border-color: var(--clr-gold);
}
.btn-pill-gold:hover {
  background-color: #b8912e;
  color: var(--clr-dark);
}

/* ============ Header ============ */
#header {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.top-bar {
  padding: 0.4rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
}

.top-bar a {
  color: #6b6b6b;
}
.top-bar a:hover {
  color: var(--clr-dark);
}

.navbar {
  padding: 0.85rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--clr-dark) !important;
  letter-spacing: 0.02em;
}
.navbar-brand span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  display: block;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #8a8a8a;
  text-align: center;
}

.navbar-nav .nav-link {
  color: var(--clr-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--clr-red);
}

/* ============ Hero ============ */
.hero-section {
  position: relative;
  height: 640px;
  max-height: 80vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 90%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clr-gold);
  font-weight: 600;
}

/* ============ Category cards ============ */
.category-card {
  position: relative;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: var(--clr-card-bg);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%);
}

.category-body {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  right: 3rem;
  color: #fff;
}

.category-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.category-body p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

.category-arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--clr-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ============ Carousel buttons (best sellers / new arrivals) ============ */
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-dark);
  background: transparent;
  color: var(--clr-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.carousel-btn:hover {
  background: var(--clr-dark);
  color: #fff;
}

/* ============ Product slider ============ */
.product-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
  margin: 0;
}

.product-slider::-webkit-scrollbar {
  display: none;
}

.product-slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-slide {
  flex: 0 0 calc(50% - 0.75rem);
  scroll-snap-align: start;
}

@media (min-width: 992px) {
  .product-slide {
    flex: 0 0 calc(25% - 1.125rem);
  }
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel-btn:disabled:hover {
  background: transparent;
  color: var(--clr-dark);
}

/* ============ Product cards ============ */
.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #0b0b0b;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-dark);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.product-price {
  color: var(--clr-red);
  font-weight: 700;
  margin-bottom: 0;
}

/* ============ Essential tools banner ============ */
.banner-section {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 10, 0.55);
}

.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-content h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  max-width: 700px;
  margin-bottom: 0.75rem;
}

.banner-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* ============ Featured product ============ */
.main-image,
.thumb-image {
  background-color: #0b0b0b;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image {
  aspect-ratio: 4 / 5;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-image {
  aspect-ratio: 1 / 1;
}

.thumb-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.breadcrumb-text {
  font-size: 0.8rem;
  color: #9a9a9a;
  margin-bottom: 0.75rem;
}

.featured-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--clr-red);
}

.featured-price-old {
  font-size: 1.1rem;
  color: #a3a3a3;
  text-decoration: line-through;
}

/* ============ Testimonials ============ */
.testimonial-section {
  background-color: var(--clr-dark);
  color: #fff;
  padding: 5.5rem 0;
  text-align: center;
}

.quote-icon {
  font-size: 1.5rem;
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  max-width: 720px;
  margin: 0 auto 1rem;
}

.testimonial-author {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.testimonial-dots {
  position: static;
  margin-top: 0;
}

.testimonial-dots [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  opacity: 1;
}

.testimonial-dots .active {
  background-color: var(--clr-gold);
}

/* ============ Stay Connected / Instagram ============ */
.insta-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  overflow: hidden;
}

.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.insta-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.insta-badge-sale {
  background-color: var(--clr-red);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.4rem;
  right: auto;
  display: inline-block;
}

/* ============ Promo strip ============ */
.promo-strip {
  background-color: var(--clr-red);
  color: #fff;
  padding: 0.9rem 0;
  font-size: 0.9rem;
}

.promo-strong {
  font-weight: 700;
  text-transform: uppercase;
}

/* ============ Brand strip ============ */
.brand-strip {
  background-color: var(--clr-cream);
  padding: 2.5rem 0;
}

.brand-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #b3aca0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============ About ============ */
.about-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 1rem;
}

/* ============ FAQ ============ */
.faq-accordion .accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-accordion .accordion-item:first-of-type,
.faq-accordion .accordion-item:last-of-type {
  border-radius: 0;
}

.faq-accordion .accordion-button {
  background-color: transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--clr-dark);
  padding: 1.25rem 0;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--clr-red);
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  display: none;
}

.faq-accordion .accordion-button .faq-icon {
  margin-left: auto;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: var(--clr-dark);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-accordion .accordion-button:not(.collapsed) .faq-icon {
  transform: rotate(45deg);
  color: var(--clr-red);
}

.faq-accordion .accordion-body {
  padding: 0 0 1.5rem;
  color: #6b6b6b;
}

/* ============ Footer ============ */
.footer-section {
  background-color: var(--clr-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 4rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-section h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--clr-gold);
}

.footer-section hr {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 0;
}

.newsletter-form {
  gap: 0.5rem;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50px;
  padding: 0.6rem 1.1rem;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  border-color: var(--clr-gold);
}

.btn-newsletter {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background-color: var(--clr-gold);
  color: var(--clr-dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.social-icons a:hover {
  color: var(--clr-gold);
}

/* ============ Responsive ============ */
@media (max-width: 991.98px) {
  .navbar-brand span {
    text-align: center;
  }
  .navbar-collapse {
    padding: 1rem 0;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .banner-content h2 {
    font-size: 1.75rem;
  }
  .testimonial-quote {
    font-size: 1.25rem;
  }
  .section-py {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    height: 520px;
  }
  .category-body {
    right: 2.5rem;
  }
  .insta-badge {
    font-size: 1rem;
  }
}
