@font-face {
  font-family: 'IvyPresto Display';
  src: url('../fonts/ivy-presto-display.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'High Spirited';
  src: url('../fonts/High Spirited.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --nf-primary: #a52a4c;
  --nf-primary-dark: #7d1f39;
  --nf-gold: #d4af37;
  --nf-cream: #fdf6f0;
  --nf-dark: #2b1c22;
  --nf-font-display: 'IvyPresto Display', Georgia, 'Times New Roman', serif;
  --nf-font-script: 'High Spirited', cursive;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--nf-dark);
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--nf-dark) 0%, #4a2f27 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader-text {
  font-family: var(--nf-font-display);
  color: var(--nf-gold);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  letter-spacing: 1px;
  text-align: center;
  padding: 0 1.5rem;
  animation: preloader-pulse 1.6s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.03); }
}

.announce-bar {
  background: linear-gradient(135deg, var(--nf-dark) 0%, #4a2f27 100%);
  color: var(--nf-gold);
  text-align: center;
  font-family: var(--nf-font-display);
  letter-spacing: 0.5px;
  font-size: 1.05rem;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--nf-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.navbar {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

.brand-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.brand-logo-footer {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

h1, h2, h3,
.section-title,
.navbar-brand,
footer h5 {
  font-family: var(--nf-font-display);
}

.testimonial-card p {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.navbar-brand span {
  color: var(--nf-primary);
}

.btn-nf {
  background-color: var(--nf-primary);
  border-color: var(--nf-primary);
  color: #fff;
}

.btn-nf:hover {
  background-color: var(--nf-primary-dark);
  border-color: var(--nf-primary-dark);
  color: #fff;
}

.btn-outline-nf {
  border-color: #fff;
  color: #fff;
}

.btn-outline-nf:hover {
  background-color: #fff;
  color: var(--nf-primary);
}

.btn-outline-nf-dark {
  border: 1px solid var(--nf-primary);
  color: var(--nf-primary);
  background-color: transparent;
}

.btn-outline-nf-dark:hover {
  background-color: var(--nf-primary);
  color: #fff;
}

.badge-rating {
  background-color: var(--nf-gold);
  color: var(--nf-dark);
  font-weight: 600;
}

/* Main Banner */
.banner-carousel {
  margin-top: var(--nf-nav-height, 76px);
}

.banner-slide-img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-carousel .carousel-indicators {
  margin-bottom: 1.5rem;
}

.banner-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--nf-gold);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
}

.banner-carousel .carousel-control-prev,
.banner-carousel .carousel-control-next {
  width: 60px;
}

.banner-control-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
  border: 2px solid var(--nf-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--nf-gold);
}

/* Section titles */
.section-title {
  font-weight: 700;
  color: var(--nf-primary);
}

.section-eyebrow {
  font-family: var(--nf-font-script);
  letter-spacing: 0.5px;
  text-transform: none;
  font-size: 1.2rem;
  color: var(--nf-gold);
  font-weight: 400;
}

section {
  scroll-margin-top: 70px;
}

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

/* Product cards */
.product-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(165,42,76,0.2);
}

.product-card .product-img {
  aspect-ratio: 600 / 520;
  background-size: cover;
  background-position: center;
}

/* Feature icons */
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(165,42,76,0.1);
  color: var(--nf-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}

/* Testimonials */
.testimonial-card {
  border-radius: 12px;
  border: 1px solid #eee;
  height: 100%;
}

.testimonial-stars {
  color: var(--nf-gold);
}

/* Testimonial Slider */
.testimonial-slider {
  position: relative;
  padding: 0 50px;
}

.testimonial-slider-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-slide {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding: 0 12px;
  box-sizing: border-box;
}

@media (max-width: 991.98px) {
  .testimonial-slide {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575.98px) {
  .testimonial-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .testimonial-slider {
    padding: 0 40px;
  }
}

.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background-color: #fff;
  color: var(--nf-primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 5;
  transition: background-color 0.2s ease;
}

.testimonial-nav-btn:hover {
  background-color: var(--nf-primary);
  color: #fff;
}

.testimonial-nav-btn.prev {
  left: 0;
}

.testimonial-nav-btn.next {
  right: 0;
}

.testimonial-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.testimonial-nav-btn:disabled:hover {
  background-color: #fff;
  color: var(--nf-primary);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.testimonial-dot.active {
  background-color: var(--nf-primary);
  transform: scale(1.2);
}

/* Contact */
.contact-info-item i {
  color: var(--nf-primary);
  width: 28px;
  margin-right: 8px;
  flex-shrink: 0;
}

.contact-info-item > a {
  display: inline-flex;
  align-items: flex-start;
  width: 28px;
  margin-right: 8px;
  flex-shrink: 0;
}

.contact-info-item > a i {
  margin-right: 0;
}

.contact-card {
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

footer {
  background-color: var(--nf-dark);
  color: #eee;
}

footer a {
  color: #ddd;
  text-decoration: none;
}

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

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: 8px;
}

.social-icon:hover {
  background-color: var(--nf-primary);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 1000;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.05);
}
