/* ============================================================
   House of Nool — Custom Stylesheet
   Parent Company: Emaralixhub FZ LLC
   Stack: Bootstrap 5 + Custom CSS
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --hon-dark:   #0f0f0f;
  --hon-gold:   #c49a45;
  --hon-light:  #faf9f7;
  --hon-muted:  #6b7280;
  --hon-border: #e8e4de;
  --hon-radius: 12px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: var(--hon-dark);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

/* ---- Utility ---- */
.letter-spacing-2 { letter-spacing: 0.15em; }
.letter-spacing-3 { letter-spacing: 0.25em; }
.opacity-75 { opacity: .75; }
.opacity-90 { opacity: .90; }
.text-gold { color: var(--hon-gold) !important; }


/* ============================================================
   NAVBAR
   ============================================================ */
.hon-navbar {
  background: var(--hon-dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: .75rem 0;
}

.hon-navbar .navbar-brand {
  font-family: var(--font-serif);
  letter-spacing: 0.2em;
  font-size: 1.3rem;
}

/* Unique Premium Logo Container */
.hon-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px; /* Larger circular container */
  width: 75px;
  background: #ffffff; /* pure white backing to blend any background issues */
  border: 1px solid var(--hon-gold); /* elegant thin gold border */
  border-radius: 50%; /* perfectly circular */
  padding: 2px; /* minimal padding so logo fills the space */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); /* soft shadow */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin: -15px 0; /* center vertically in the navbar height */
}

.hon-logo-container:hover {
  transform: scale(1.08) rotate(2deg);
  border-color: #ffffff;
  box-shadow: 0 6px 16px rgba(196, 154, 69, 0.4);
}

.hon-logo-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.hon-navbar .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: .4rem .7rem !important;
  transition: color .2s;
}

.hon-navbar .nav-link:hover { color: #fff !important; }

.hon-search {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #fff !important;
  border-radius: 6px !important;
}
.hon-search::placeholder { color: rgba(255,255,255,0.4); }
.hon-search:focus {
  background: rgba(255,255,255,0.12) !important;
  box-shadow: none !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hon-hero {
  min-height: 82vh;
  background:
    linear-gradient(rgba(15,15,15,0.48), rgba(15,15,15,0.48)),
    url('/static/images/hero1.png')
    center/cover no-repeat;
  position: relative;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  transition: box-shadow .25s;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.10) !important;
}
.product-card-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--hon-radius) var(--hon-radius) 0 0;
  background: #f3f1ee;
}
.product-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img { transform: scale(1.04); }

.product-card-placeholder {
  height: 280px;
}

.product-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0;
  transition: opacity .2s;
}
.product-card:hover .product-card-wishlist { opacity: 1; }

.product-card-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.product-card-category { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail-img-container {
  position: relative;
  width: 100%;
  background-color: #f3f1ee;
}

.product-detail-main-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-detail-main-img:hover {
  transform: scale(1.02);
}

.product-thumb {
  transition: opacity .2s;
}
.product-thumb:hover { opacity: .75; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
  background: #f3f1ee;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .25s;
}
.category-card:hover { transform: translateY(-4px); }
.category-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.category-card-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: .12em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  text-transform: uppercase;
}

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */
.hon-filter-sidebar {
  background: #faf9f7;
  position: sticky;
  top: 80px;
}

/* ============================================================
   USP STRIP
   ============================================================ */
.hon-usp-strip {
  background: #faf9f7;
  border-top: 1px solid var(--hon-border);
  border-bottom: 1px solid var(--hon-border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.hon-footer {
  background: #0f0f0f;
  color: #d1d5db; /* Lighter grey for better baseline contrast */
}
.hon-footer h5, .hon-footer h6 { color: #ffffff; }
.hon-footer a { color: #9ca3af; transition: color 0.2s ease-in-out; }
.hon-footer a:hover { color: #ffffff !important; }
.hon-footer .text-muted { color: #9ca3af !important; }
.hon-footer hr { border-color: rgba(255, 255, 255, 0.15); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-section {
  background-color: var(--hon-light);
  border-top: 1px solid var(--hon-border);
  border-bottom: 1px solid var(--hon-border);
  overflow: hidden;
}
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--hon-border);
  border-radius: var(--hon-radius);
  padding: 2.25rem 2rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hon-gold);
}
.testimonial-quote-icon {
  font-size: 2.25rem;
  color: rgba(196, 154, 69, 0.12); /* Soft transparent gold */
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
.testimonial-rating {
  color: var(--hon-gold);
  font-size: 0.95rem;
}
.testimonial-comment {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.6;
  font-style: italic;
  color: #2b2b2b;
}

/* ---- Testimonial Infinite Scrolling Ticker ---- */
.testimonial-ticker-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.testimonial-ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll-testimonials 45s linear infinite;
}
.testimonial-ticker-track:hover {
  animation-play-state: paused;
}
.testimonial-ticker-item {
  width: 380px;
  flex-shrink: 0;
  white-space: normal;
}
@keyframes scroll-testimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}


/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 1050;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37,211,102,0.55);
  color: #fff;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-dark {
  background: var(--hon-dark);
  border-color: var(--hon-dark);
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
}
.btn-dark:hover {
  background: #2d2d2d;
  border-color: #2d2d2d;
  transform: translateY(-1px);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control:focus, .form-select:focus {
  border-color: var(--hon-dark);
  box-shadow: 0 0 0 3px rgba(15,15,15,0.08);
}

/* ============================================================
   CART / CHECKOUT
   ============================================================ */
.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

/* ============================================================
   COLLECTION CARD HOVER
   ============================================================ */
.collection-card { transition: transform .25s, box-shadow .25s; }
.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 576px) {
  .hon-hero { min-height: 60vh; }
  .product-card-img { height: 200px; }
  .product-detail-main-img { height: 280px; }
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hon-hero-carousel {
  width: 100%;
}

.hon-hero-slide {
  min-height: 82vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-content-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media (max-width: 576px) {
  .hon-hero-slide {
    min-height: 60vh;
  }
}
