/* ===== Navbar Base ===== */
header {
  position: relative;
  z-index: 1;
}

.custom-navbar {
  background: #C6FFF5;
  padding: 6px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1050;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: all 0.3s ease;
}

.custom-navbar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.navbar-nav .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
  color: #037465;
  margin: 0 10px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link i {
  font-size: 1.3rem;
  margin-bottom: 2px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover i {
  transform: translateY(-2px) scale(1.1);
  color: #34b1a0ff;
}

.navbar-nav .nav-link:hover {
  color: #34b1a0ff;
}

.nav-link .fa-shopping-cart {
  font-size: 1.25rem;
  color: #037465;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link:hover .fa-shopping-cart {
  transform: scale(1.15);
  color: #34b1a0ff;
}

#cartBadge {
  font-size: 0.7rem;
  padding: 4px 6px;
  margin-top: -20px;
  margin-left: 10px;
}

/* ===== Profile Dropdown ===== */
.profile-dropdown { position: relative; }
.profile-dropdown .nav-link { display: flex; flex-direction: column; align-items: center; }
.profile-dropdown .nav-link i { font-size: 1.35rem; margin-bottom: 2px; }
.profile-dropdown .profile-text { display: flex; align-items: center; gap: 4px; }
.profile-dropdown .arrow-icon { font-size: 0.65rem; margin-left: 4px; transition: transform 0.3s ease; }
.profile-dropdown.show .arrow-icon { transform: rotate(180deg); }

.profile-dropdown .dropdown-menu {
  background: #C6FFF5;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  padding: 5px 0;
  margin-top: 8px;
  min-width: 180px;
  text-align: center;
  z-index: 2000;
  animation: dropdownFade 0.35s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #037465;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.dropdown-item i {
  font-size: 1.1rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.dropdown-item:hover {
  background: rgba(52,177,160,0.15);
  color: #34b1a0ff;
  transform: translateY(-2px);
}

.dropdown-item:hover i {
  color: #34b1a0ff;
  transform: translateY(-2px);
}

/* ===== Mobile Menu ===== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #C6FFF5;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 15px;
    width: 220px;
    position: absolute;
    top: 60px;
    left: 10px;
    z-index: 1050;
    transition: all 0.3s ease;
  }
  .navbar-nav { text-align: left; flex-direction: column; gap: 12px; }
  .navbar-nav .nav-link { flex-direction: row; align-items: center; padding: 10px 12px; font-size: 0.95rem; }
  .navbar-nav .nav-link i { margin-bottom: 0; margin-right: 10px; }
  .profile-dropdown .profile-text { justify-content: space-between; width: 100%; }
  .dropdown-item { justify-content: flex-start; }
  .dropdown-menu { box-shadow: 0 0 25px #037469, 0 5px 15px rgba(0,0,0,0.3); animation: glow 2.5s infinite alternate; }
}
.offcanvas-title{
    text-align:center;
}
/* ===== Body & Background ===== */
body {
  background: url('desktop.png') no-repeat center top;
  background-size: cover;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

/* Mobile & Tablet backgrounds */
@media (max-width: 575px) { body { background: url('mobile.png') no-repeat center top; background-size: cover; } }
@media (min-width:576px) and (max-width: 991px) { body { background: url('tablet.png') no-repeat center top; background-size: cover; } }

/* ===== Customizations wrapper ===== */
#customizationWrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* push to top */
  margin-top: 50px;
  flex-grow: 1;
  min-height: 60vh;
}

/* Heading */
h2 {
  color: #037465;
  margin-bottom: 20px;
  font-style: italic;
  text-align: center;
}

/* Color box */
.color-box {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #037465;
  vertical-align: middle;
}

/* Buttons */
.action-buttons { margin-top: 10px; display: flex; gap: 10px; justify-content: center; flex-wrap: nowrap; }
.btn {
  background: #C4FFF5;
  color: #037465;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight:600;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  border:1px solid #037465;
}
.btn .arrow { display: inline-block; transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(6px); }
.btn:hover { background: linear-gradient(45deg,#037465,#049688); box-shadow:0 0 15px rgba(3,116,101,0.7),0 5px 20px rgba(3,116,101,0.4); transform: translateY(-3px); }

/* 3D Model container */
.model-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 300px;
  background: #C6FFF5;
  border-radius: 20px;
  box-shadow: 0 0 25px #54f4dc, 0 5px 15px rgba(0,0,0,0.2);
  padding: 10px;
  transition: box-shadow 0.5s ease;
}

.model-container canvas { width: 100% !important; height: calc(100% - 50px) !important; display: block; }
.model-container .btn {
  margin-top: 8px;
  width: 80%;
  padding: 8px 0;
  font-weight: bold;
  border-radius: 20px;
  background: linear-gradient(135deg,#54f4dc,#1f6d5c);
}
.model-container .btn:hover { background: linear-gradient(135deg,#1f6d5c,#54f4dc); transform: scale(1.05); box-shadow:0 0 15px #34b1a0ff,0 4px 10px rgba(0,0,0,0.2); }

/* Carousel */
#customizationCarousel {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 0 25px #037465, 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.5s ease;
}
/* Center carousel controls vertically with respect to model container */
#customizationCarousel .carousel-control-prev,
#customizationCarousel .carousel-control-next {
  top: 40%; /* vertically center */
  transform: translateY(-50%); /* perfect vertical alignment */
  width: 40px; /* adjust size if needed */
  height: 40px;
  background-color: #037465; /* set arrow background */
  border-radius: 50%; /* circular button */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8; /* slight transparency */
  transition: all 0.3s ease;
  z-index: 10;
  
}

#customizationCarousel .carousel-control-prev:hover,
#customizationCarousel .carousel-control-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* Change the arrow icon inside */
#customizationCarousel .carousel-control-prev-icon,
#customizationCarousel .carousel-control-next-icon {
  background-image: none; /* remove default Bootstrap arrow */
  display: inline-block;
  width: 15px;
  height: 15px;
  border-top: 3px solid white;
  border-right: 3px solid white;
}

#customizationCarousel .carousel-control-prev-icon {
  transform: rotate(-135deg); /* left arrow */
}

#customizationCarousel .carousel-control-next-icon {
  transform: rotate(45deg); /* right arrow */
}

#customizationCarousel:hover { transform: scale(1.02); }
.carousel-item img { border-radius: 15px; }

/* Empty wrapper top alignment */
#customizationWrapper:empty { justify-content: flex-start; margin-top: 50px; }

/* Neon glow for mobile dropdown menu */
@keyframes glow {
  0% { box-shadow:0 0 10px #037465; }
  50% { box-shadow:0 0 25px #34b1a0ff; }
  100% { box-shadow:0 0 10px #037465; }
}






