/* 
   Hazara Packages Custom CSS - High End Visual Overhaul
*/

:root {
  /* Cyan extracted from logo */
  --brand-color: #1fbce8;
  --brand-color-hover: #18a0c6;
  --brand-cyan: #1fbce8;
}

body {
  font-family: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  color: #e4e4e7; /* Light zinc text for dark mode */
  background-color: #050505; /* OLED Black */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar for a premium feel */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #050505; 
}
::-webkit-scrollbar-thumb {
  background: #27272a; 
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46; 
}

/* Hide scrollbar for horizontal scroll containers but allow scroll */
.hide-scroll::-webkit-scrollbar {
  display: none;
}
.hide-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Base interactive transitions */
.btn-primary {
  background-color: var(--brand-color);
  color: #050505;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px; /* Fully rounded pill */
  box-shadow: 0 0 20px rgba(31, 188, 232, 0.2);
}
.btn-primary:hover {
  background-color: var(--brand-color-hover);
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 0 30px rgba(31, 188, 232, 0.4);
}
.btn-primary:active {
  transform: translateY(1px) scale(0.96);
}

.btn-secondary {
  background-color: transparent;
  color: #e4e4e7;
  border: 1px solid #27272a;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}
.btn-secondary:hover {
  background-color: #18181b;
  border-color: #3f3f46;
  transform: scale(0.98);
}
.btn-secondary:active {
  transform: scale(0.96);
}

/* Smooth Image Loading / Hover */
.product-card-img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .product-card-img {
  transform: scale(1.08);
}

/* Section Spacing - Macro Whitespace */
.section-padding {
  padding-top: 10rem;
  padding-bottom: 10rem;
}
@media (max-width: 768px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Double-Bezel Architectural Utilities (Dark Mode) */
.double-bezel-outer {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2rem;
  padding: 0.375rem;
}
.double-bezel-inner {
  background: #09090b; /* Very dark zinc */
  border-radius: calc(2rem - 0.375rem);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
  overflow: hidden;
  height: 100%;
}

/* Highly Diffused Ambient Shadow for Dark Mode */
.shadow-ambient {
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.5);
}

/* Haptic Magnetic Hover */
.haptic-hover {
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}
.haptic-hover:hover {
  transform: scale(0.98);
}
.haptic-hover:active {
  transform: scale(0.95);
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

@media (max-width: 767px) {
  .section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  input, select, textarea {
    font-size: 16px !important;
  }

  .product-card-img {
    transform: none !important;
  }

  .hp-mobile-sticky-cart {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin: 0 !important;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(9, 9, 11, 0.96);
    border-top: 1px solid #27272a;
    backdrop-filter: blur(16px);
  }

  .hp-mobile-sticky-cart .btn-primary {
    flex: 1;
  }

  /* Keep floating Call/WhatsApp above sticky cart on mobile */
  .hp-contact-fab {
    bottom: calc(5.25rem + env(safe-area-inset-bottom)) !important;
  }
}

/* <picture> wrappers around absolutely-positioned images must not create a box */
picture.contents { display: contents; }
