/* Default transparent navbar */
#mainNav {
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, color 0.4s ease;
  background: transparent;
  backdrop-filter: none;
}

/* Navbar links default (when at top) */
#mainNav .nav-link,
#mainNav .navbar-brand {
  color: #e4c0b3 !important;
  transition: color 0.4s ease;
}

/* When scrolling */
#mainNav.scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Change link colors when scrolled */
#mainNav.scrolled .nav-link,
#mainNav.scrolled .navbar-brand {
  color: rgb(37, 36, 36) !important;
}


body {
  font-family: "Poppins", sans-serif;
}

.hero-container {
  margin-top: 30px;
}

.paragraph {
  color: #d2a99a;
}

.hero {
  min-height: 100vh;     /* fallback */
  min-height: 100dvh;   /* modern mobile-safe */
  background-color: #b84f1e;

  display: flex;
  align-items: center;
  justify-content: center;
}



/* Side cards: 70% of column width */
.side-card {
  margin: 0; 
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* Center card: 90% of column width */
.center-card {
  margin: 0;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}


/* Horizontal scroll container */
#categories-container {
  gap: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: auto;  
  scroll-behavior: smooth;
  white-space: nowrap;
}

/* Each card takes only its natural width (NO limit) */
#categories-container .card {
  flex: 0 0 auto;         
  min-width: 280px;       
  scroll-snap-align: start;
}

/* Hover effect */
#categories-container .card:hover {
  transform: translateY(-5px);
  transition: 0.2s ease;
}

/* Show horizontal scrollbar */
#categories-container::-webkit-scrollbar {
  height: 10px;           
}

#categories-container::-webkit-scrollbar-track {
  background: #f1f1f1;    
  border-radius: 10px;
}

#categories-container::-webkit-scrollbar-thumb {
  background: #b5b5b5;    
  border-radius: 10px;
}

#categories-container::-webkit-scrollbar-thumb:hover {
  background: #8e8e8e;    
}

.order-btn-stock,
.order-btn-custom {
  width: 200px;
  text-decoration: none;
  color: #d2a99a;
  border: 2px solid #d2a99a;
  border-radius: 20px;
  padding: 10px 18px;
  transition: 0.3s ease; 
}

.order-btn-stock:hover,
.order-btn-custom:hover {
  color: #f8f9fa;            
  border-color: #f8f9fa;     
}


.catalogue-card {
  width: 350px;
  height: 400px;      
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;       
  flex-direction: column;
}

.catalogue-card img {
  width: 100%;
  height: 50%;
  flex-shrink: 0;    
}

.card-body {
  padding: auto;
  margin-top: 20px;
}

.catalogue-card .card-body {
  width: 100%;
  position: relative;
  padding-bottom: 50px;
}

.catalogue-card .card-body .card-text {
  width: 100%;
  word-wrap: break-word;     
  white-space: normal;      
}

.catalogue-card .view-more-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

/* Solid brand button */
.btn-brand {
  background-color: #b84f1e;
  border-color: #b84f1e;
  color: #fff;
}

.btn-brand:hover {
  background-color: #a0451a;
  border-color: #a0451a;
  color: #fff;
}

/* Outline brand button */
.btn-outline-brand {
  color: #b84f1e;
  border-color: #b84f1e;
}

.btn-outline-brand:hover {
  background-color: #b84f1e;
  color: #fff;
  border-color: #b84f1e;
}

.text-brand {
  color: #b84f1e !important;
}


.btn-brand {
  background-color: #b84f1e;
  border-color: #b84f1e;
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
  background-color: #a0451a; /* slightly darker */
  border-color: #a0451a;
  color: #fff;
}

.icon-brand {
  color: #b84f1e !important;
}

.map-frame iframe {
  border-radius: 15px;      
  overflow: hidden;           
}




