/* =========================
   LOGO
========================= */

.navbar .logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}
.white{
    color: #fff;
}

/* =========================
   NAVBAR
========================= */

.navbar-scrolled {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease-in-out;
}

/* Sticky navbar on scroll */
.sticky-top.scrolled,
.navbar.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* =========================
   CAROUSEL
========================= */

.carousel-item {
  position: relative;
  margin-top: 100px;
  height: 95vh;
  min-height: 95vh;
  overflow: hidden;
  background: #edf3f7;
}

/* fixed image size regardless of image dimensions */
#header-slider {
  width: 100%;
  height: 90%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* dark overlay */
.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
  z-index: 1;
}

/* caption centered */
/* caption centered at bottom */
.carousel-caption {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  width: 90%;
}

.carousel-caption h1 {
  color: #1f1f1f;
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 1;
  font-family: 'Allura', cursive;
}

.carousel-caption p {
  color: #008080;
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 15px auto 25px;
}

/* =========================
   CAROUSEL CONTROLS
========================= */

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ff69b4;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  z-index: 5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background-color: #e0559c;
}

.carousel-control-prev {
  left: 40px;
}

.carousel-control-next {
  right: 40px;
}

/* white arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
  width: 20px;
  height: 20px;
}

/* =========================
   SECTIONS
========================= */

section {
  padding: 80px 0;
}

/* =========================
   SCROLL TO TOP
========================= */

#scrollTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #ff69b4;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-size: 1.5rem;
  z-index: 1000;
}

/* =========================
   PRICING LIST
========================= */

.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 1rem;
  border-bottom: 1px dashed #e5e5e5;
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list li span:first-child {
  font-weight: 500;
}

.pricing-list li span:last-child {
  font-weight: 600;
}

.pricing-list li.muted span {
  color: #999;
  font-weight: 400;
}

/* =========================
   BUTTONS & COLORS
========================= */

.btn-pink {
  background-color: #ff69b4;
  color: #fff;
  border: none;
}

.btn-pink:hover {
  background-color: #e0559c;
  color: #fff;
}

.text-pink {
  color: #ff69b4 !important;
}

.bg-pink {
  background-color: #ff69b4 !important;
}

/* =========================
   PRODUCT CARD OVERLAY
========================= */

.product-card {
  overflow: hidden;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .card-overlay {
  opacity: 1;
}

.overlay-text {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {

  .carousel-item {
    height: 100vh;
    min-height: 75vh;
    margin-top: 20px;
  }

  #header-slider {
    height: 100vh;
  }

  .carousel-caption {
    width: 92%;
    bottom: 8%;
    padding: 0 10px;
  }

  .carousel-caption h1 {
    font-size: 2.7rem;
    line-height: 1.1;
  }

  .carousel-caption p {
    font-size: 1rem;
    margin-bottom: 18px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  section {
    padding: 60px 0;
  }

  #scrollTop {
    width: 45px;
    height: 45px;
    right: 20px;
    bottom: 20px;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

  .carousel-item {
    height: 88vh;
    min-height: 80vh;
    margin-top: 20px;
  }

  #header-slider {
    height:90vh;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .carousel-caption .btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }

  .navbar .logo {
    height: 42px;
  }
}

/* =========================
   GALLERY 3D CAROUSEL
========================= */

/* =========================
   GALLERY 3D CAROUSEL
========================= */

.gallery-carousel {
  perspective: 1200px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 0;
  transform-style: preserve-3d;
  animation: rotateGallery 18s infinite linear;
}

.gallery-item {
  width: 260px;
  height: 320px;
  margin: 0 -80px;
  transition: transform 0.5s, opacity 0.5s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* staircase / depth effect */
.gallery-item:nth-child(1) { transform: rotateY(45deg) translateZ(-200px); opacity: 0.5; }
.gallery-item:nth-child(2) { transform: rotateY(30deg) translateZ(-100px); opacity: 0.7; }
.gallery-item:nth-child(3) { transform: rotateY(0deg) translateZ(0px); opacity: 1; }
.gallery-item:nth-child(4) { transform: rotateY(-30deg) translateZ(-100px); opacity: 0.7; }
.gallery-item:nth-child(5) { transform: rotateY(-45deg) translateZ(-200px); opacity: 0.5; }

/* optional auto rotation */
@keyframes rotateGallery {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* mobile fix */
@media (max-width: 768px) {
  .gallery-item {
    width: 180px;
    height: 240px;
    margin: 0 -50px;
  }
}