/* ================= BODY & FONT ================= */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* ================= TOP INFO BAR ================= */
.bg-primary {
  background-color: #1683aa !important;
  /* teal shade */
}

.small {
  font-size: 14px;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Carousel caption */
.carousel-caption {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 520px;
  text-align: left;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  /* readability on plain images */
}

.carousel-caption h1 {
  font-size: 60px;
  font-weight: 700;
}

.small-text {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Button hover effect */
.carousel-caption .btn {
  transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
  transform: translateX(5px);
}

/* ================= NAVBAR ================= */
.navbar-brand span {
  color: #1683aa;
}

.nav-link {
  font-weight: 500;
}

.nav-link.text-danger {
  color: #dc3545 !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
  }

  .hero-img {
    height: 50vh;
  }

  .carousel-caption {
    left: 5%;
    right: 5%;
    top: 50%;
    max-width: 100%;
    text-align: center;
  }

  .carousel-caption h1 {
    font-size: 32px;
  }

  .carousel-caption .small-text {
    font-size: 14px;
  }

  #services {
    padding-top: 20px;
  }
}

@media (max-width: 375px) {

  .hero-section,
  .hero-img {
    height: 45vh;
  }

  .carousel-caption h1 {
    font-size: 26px;
  }
}


.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  display: none;
  z-index: 100;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
  color: #1683aa;
  /* teal accent */
}

.dropdown-menu li a.active {
  color: #1683aa;
  font-weight: 600;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/*================== Services Section ==================*/
#services {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 50px;
}

.section-title {
  font-size: 36px;
  color: #333;
}

.section-divider {
  width: 80px;
  height: 3px;
  background-color: #1683aa;
  margin: 15px auto 0;
  border: none;
}

.service-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}

.service-card img {
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-caption {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 0;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
}

.big-card .service-caption {
  font-size: 20px;
}


/*============Party Collection===========*/
.product-row {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.product-row-inner {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s ease-in-out;
  /* smooth slide like carousel */
  will-change: transform;
}

.product-card {
  width: 100%;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  height: auto;
  overflow: visible;
}

.product-card img {
  width: 90%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
  /* zoom on hover */
}

.product-card:hover img {
  transform: scale(1.05);
}

.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: orange;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.product-info {
  text-align: center;
  padding: 8px 4px;
}

.product-info h6 {
  font-size: 14px;
  margin-bottom: 4px;
}

.product-info p {
  font-size: 13px;
  margin: 0;
}

/* ================= FOOTER ================= */


.elegant-footer {
  background: #f1ebe3;
  color: #444;
  font-size: 15px;
}

.brand-logo {
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-logo span {
  color: #e39414;
  /* classy orange tone */
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-heading::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #e39414;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.footer-text {
  color: #666;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #e39414;
  padding-left: 5px;
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
  color: #666;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #e39414;
  transform: translateY(-3px);
}

/* Newsletter */
.newsletter-wrapper {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
}

.newsletter-wrapper input {
  border: none;
  padding: 10px 15px;
  flex: 1;
  outline: none;
}

.newsletter-wrapper button {
  background: #111;
  color: #fff;
  border: none;
  padding: 10px 20px;
  transition: 0.3s ease;
}

.newsletter-wrapper button:hover {
  background: #e39414;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: #fff;
}

.copyright {
  font-size: 14px;
  color: #777;
}

/* ================= AUTH PANEL =============== */

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 999;
}

.auth-overlay.active {
  opacity: 1;
  visibility: visible;
}

.auth-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100%;
  background: #ffffff;
  padding: 32px 28px;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
  transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow-y: auto;
}

.auth-panel.active {
  right: 0;
}

/* Header */
.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.auth-header h5 {
  font-weight: 600;
  letter-spacing: 1px;
  color: #111;
}

.close-btn {
  font-size: 26px;
  cursor: pointer;
  color: #777;
  transition: transform 0.3s ease, color 0.3s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
  color: #000;
}

/* Inputs */
.auth-panel input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.auth-panel input:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* Password field */
.password-wrap {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #777;
  font-size: 16px;
  transition: color 0.25s ease;
}

.toggle-password:hover {
  color: #000;
}

/* Button */
.auth-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background: #111;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Links */
.forgot-link {
  display: inline-block;
  font-size: 13px;
  color: #555;
  margin-bottom: 14px;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.switch-text {
  text-align: center;
  font-size: 14px;
  margin-top: 18px;
}

.switch-text a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

.switch-text a:hover {
  text-decoration: underline;
}


.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 14px 12px;
  border-radius: 30px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.input-group label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  pointer-events: none;
  transition: 0.3s ease all;
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  background: #fff;
  padding: 0 6px;
  color: #1683aa;
}


.auth-btn {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  background: linear-gradient(90deg, #1683aa, #e39414);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  border: none;
  transition: all 0.3s ease;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Toggle password position fix */
.password-wrap .toggle-password {
  right: 15px;
}

/* Switch text */
.switch-text a {
  color: #1683aa;
  font-weight: 600;
}

.switch-text a:hover {
  text-decoration: underline;
}


.form-message {
  display: none;
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease;
}

.form-message.success {
  color: #28a745;
  /* green text */
  background: transparent;
  /* no background */
}

.form-message.error {
  color: #dc3545;
  /* red text */
  background: transparent;
  /* no background */
}

.form-message.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 480px) {
  .auth-panel {
    width: 100%;
    right: -100%;
  }
}

/* Side Cart */
/* ================= SIDE CART CONTAINER ================= */
#sideCart {
  position: fixed;
  top: 0;
  right: -400px;
  /* hidden by default */
  width: 380px;
  max-width: 90%;
  height: 100%;
  background: linear-gradient(145deg, #ffffff, #f0f0f5);
  /* soft modern gradient */
  box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15), -5px 0 30px rgba(0, 0, 0, 0.1);
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

/* ================= SIDE CART HEADER ================= */
#sideCart h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 10px;
}

/* ================= OVERLAY ================= */
#cartOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 900;
  backdrop-filter: blur(3px);
  /* modern blur effect */
}

/* ================= CART ITEMS ================= */
#cartItems {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 5px;
}

#cartItems::-webkit-scrollbar {
  width: 6px;
}

#cartItems::-webkit-scrollbar-thumb {
  background: rgba(22, 131, 170, 0.6);
  border-radius: 4px;
}

.cart-item {
  display: flex;
  align-items: center;
  background: #fff;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.05), -3px -3px 10px rgba(255, 255, 255, 0.8);
  padding: 10px 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item:hover {
  transform: translateX(5px);
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.1), -5px -5px 15px rgba(255, 255, 255, 0.9);
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ================= ITEM DETAILS ================= */
.item-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.item-info h6 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

.item-info p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  font-weight: 500;
}

/* ================= QTY & CONTROLS ================= */
.item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.qty-controls {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.qty-controls button {
  background: linear-gradient(145deg, #f0f0f5, #ffffff);
  border: none;
  font-weight: 600;
  color: #333;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin: 0 5px;
  cursor: pointer;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.05), -2px -2px 6px rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.qty-controls button:hover {
  background: linear-gradient(145deg, #e0e0e8, #ffffff);
  transform: scale(1.1);
}

.removeItem {
  font-size: 0.9rem;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.removeItem:hover {
  transform: scale(1.1);
  background-color: rgba(255, 80, 80, 0.2);
}

/* ================= SUBTOTAL ================= */
#cartSubtotal {
  font-weight: 700;
  font-size: 1.2rem;
  text-align: right;
  margin: 15px 0;
  color: #111;
}

/* ================= CART ACTIONS ================= */
#cartActions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

#cartActions button {
  width: 48%;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

#cartActions button:hover {
  transform: translateY(-2px);
  box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.1);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 500px) {
  #sideCart {
    width: 90%;
  }

  .cart-item img {
    width: 50px;
    height: 50px;
  }

  .qty-controls button {
    width: 24px;
    height: 24px;
  }
}