/* ============================================================================
   REDWOLF MEDIA RENTAL — Custom Styles
   Premium + Light + Modern + Corporate + Event Technology
   ============================================================================ */

/* ---- Base (Equal & Even Font Scaling Matching Sales Platform) ---- */
html { 
  font-size: 15.5px;
  scroll-behavior: smooth; 
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (min-width: 640px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1440px) {
  html {
    font-size: 16.5px;
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 2400px) {
  html {
    font-size: 17.5px;
  }
}

::selection { background: #ED1C24; color: #fff; }

/* ---- Universal Interactive Cursor & Pointer Rules ---- */
a,
a:hover,
a:focus,
button,
button:hover,
button:focus,
input[type="button"],
input[type="submit"],
input[type="reset"],
select,
summary,
[role="button"],
[role="tab"],
.cursor-pointer {
  cursor: pointer;
}

a,
button,
.btn-primary,
.btn-secondary,
.btn-outline,
.hero-arrow,
.hero-dot,
.cat-filter-btn,
.category-tab-btn,
.category-card,
.product-card,
.app-card,
.client-logo-card,
.review-card,
.btn-add-to-cart,
.btn-open-rental-cart,
.thumb-btn,
#rentalCartTrigger,
#mobileMenuBtn,
#closeCartBtn,
#closeSummaryModal,
#btnDoneSummary,
#summaryWhatsAppSendBtn {
  cursor: pointer !important;
}

/* Ensure disabled buttons show not-allowed */
button:disabled,
button[disabled],
.btn-primary:disabled,
.btn-secondary:disabled,
[disabled] {
  cursor: not-allowed !important;
}

/* ---- Navbar Shadow on Scroll ---- */
.navbar-scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  border-bottom: 1px solid #E5E7EB;
}

/* ---- Hero Slider ---- */
.hero-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  min-height: clamp(560px, 85vh, 960px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease, transform 800ms ease;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-bg-img {
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-text-red {
  color: #ED1C24;
  text-shadow: 0 4px 24px rgba(237, 28, 36, 0.4);
}

.hero-text-grey {
  color: #E5E7EB; /* Light silver-grey */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-gradient-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.1) 100%);
}

/* Hero progress bar */
.hero-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  background: #ED1C24;
  border-radius: 2px;
  width: 0%;
  transition: width 50ms linear;
}

.hero-progress-bar.animating {
  animation: heroProgress 5500ms linear forwards;
}

@keyframes heroProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Hero dot indicators */
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 300ms ease;
  border: 2px solid transparent;
}

.hero-dot.active {
  width: 32px;
  border-radius: 6px;
  background: #ED1C24;
  border-color: #ED1C24;
  box-shadow: 0 0 12px rgba(237, 28, 36, 0.6);
}

.hero-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.75);
}

/* Hero arrows */
.hero-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  z-index: 30;
}

.hero-arrow:hover {
  background: #ED1C24;
  border-color: #ED1C24;
  color: white;
  box-shadow: 0 6px 20px rgba(237, 28, 36, 0.5);
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #ED1C24;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0.5rem;
  transition: all 200ms ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #C41920;
  box-shadow: 0 4px 16px rgba(237,28,36,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 200ms ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: #ED1C24;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0.5rem;
  border: 2px solid #ED1C24;
  transition: all 200ms ease;
  cursor: pointer;
}
.btn-outline:hover {
  background: #ED1C24;
  color: #fff;
}

/* ---- Product Card ---- */
.product-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  transition: all 300ms ease;
}

.product-card:hover {
  border-color: #ED1C24;
  box-shadow: 0 8px 30px rgba(237,28,36,0.08);
  transform: translateY(-4px);
}

.product-card .product-img {
  transition: transform 500ms ease;
}

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

/* ---- Category Card ---- */
.category-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  transition: all 300ms ease;
  cursor: pointer;
}

.category-card:hover {
  border-color: #ED1C24;
  box-shadow: 0 8px 24px rgba(237,28,36,0.08);
  transform: translateY(-2px);
}

/* ---- Section Heading ---- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ED1C24;
  margin-bottom: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: #ED1C24;
  border-radius: 1px;
}

.section-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

/* ---- Scroll Animations ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 700ms ease;
}

.animate-fade-in.visible {
  opacity: 1;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.animate-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.animate-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 480ms; }
.stagger-7 { transition-delay: 560ms; }
.stagger-8 { transition-delay: 640ms; }

/* ---- Category Carousel ---- */
.category-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1rem;
}

.category-carousel::-webkit-scrollbar {
  display: none;
}

.category-carousel > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ---- Application Cards ---- */
.app-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.app-card img {
  transition: transform 500ms ease;
}

.app-card:hover img {
  transform: scale(1.08);
}

.app-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  transition: background 300ms ease;
}

.app-card:hover::after {
  background: linear-gradient(to top, rgba(237,28,36,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

/* ---- How It Works Step ---- */
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ED1C24;
  background: rgba(237,28,36,0.08);
  border: 2px solid rgba(237,28,36,0.15);
  transition: all 300ms ease;
}

.step-card:hover .step-number {
  background: #ED1C24;
  color: #fff;
  border-color: #ED1C24;
  box-shadow: 0 4px 16px rgba(237,28,36,0.3);
}

/* ---- Gallery / Lightbox ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---- Rental Cart Sidebar ---- */
.rental-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
}

.rental-cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.rental-cart-panel {
  position: fixed;
  top: 0;
  right: -480px;
  width: 460px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 51;
  transition: right 400ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
}

.rental-cart-panel.open {
  right: 0;
}

/* ---- Generic Modals ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

/* ---- Form Inputs ---- */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  transition: all 200ms ease;
  background: #fff;
}

.form-input:focus {
  outline: none;
  border-color: #ED1C24;
  box-shadow: 0 0 0 3px rgba(237,28,36,0.08);
}

.form-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}

/* ---- Blog Card ---- */
.blog-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  transition: all 300ms ease;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

/* ---- Loading Spinner ---- */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #E5E7EB;
  border-top-color: #ED1C24;
  border-radius: 50%;
  animation: spin 600ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-slide.active .hero-bg-img {
    transform: none;
  }
  
  .animate-on-scroll,
  .animate-fade-in,
  .animate-slide-left,
  .animate-slide-right {
    opacity: 1;
    transform: none;
  }
}

/* ---- Responsive helpers ---- */
@media (max-width: 640px) {
  .hero-arrow { width: 36px; height: 36px; }
  .hero-dot { width: 8px; height: 8px; }
}

/* ---- Client Logos Grid & Card ---- */
.client-logo-card,
.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.75rem;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #E5E7EB;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.client-logo-card:hover,
.client-card:hover {
  border-color: #ED1C24;
  box-shadow: 0 16px 36px rgba(237, 28, 36, 0.16);
  transform: translateY(-3px) scale(1.02);
}
.client-logo-img {
  max-height: 80px;
  max-width: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: all 300ms ease;
}
@media (min-width: 640px) {
  .client-logo-img {
    max-height: 92px;
    max-width: 260px;
  }
}
@media (min-width: 1024px) {
  .client-logo-img {
    max-height: 100px;
    max-width: 280px;
  }
}
.client-logo-card:hover .client-logo-img,
.client-card:hover img {
  transform: scale(1.05);
}

/* ---- Clientele Continuous Infinite Marquee Scroller (1-Row) ---- */
.client-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.client-marquee-container {
  display: flex !important;
  flex-direction: row !important;
  overflow: hidden !important;
  user-select: none !important;
  width: 100% !important;
}
.client-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex-shrink: 0 !important;
  width: max-content !important;
  will-change: transform !important;
  animation: scrollMarqueeLeft 40s linear infinite !important;
}
.client-marquee-container:hover .client-marquee-track {
  animation-play-state: paused !important;
}

@keyframes scrollMarqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 3));
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-marquee-track {
    animation-duration: 90s !important;
  }
}

/* ---- Google Review Card (Premium Compact) ---- */
.review-card {
  background: #ffffff;
  border-radius: 1.15rem;
  border: 1px solid #E5E7EB;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}
.review-card:hover {
  border-color: rgba(237, 28, 36, 0.45);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08), 0 0 16px rgba(237, 28, 36, 0.08);
  transform: translateY(-3px);
}

/* ============================================================================
   PREMIUM BACKGROUND ANIMATIONS & LUMINOUS ORB DRIFT
   ============================================================================ */

@keyframes floatSlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(30px, -25px, 0) scale(1.08);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-35px, 20px, 0) scale(0.95);
  }
}

@keyframes floatVertical {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.28;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

@keyframes gridDrift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 64px 64px;
  }
}

@keyframes laserSweep {
  0% {
    left: -30%;
    opacity: 0;
  }
  20% {
    opacity: 0.75;
  }
  80% {
    opacity: 0.75;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes borderGlowPulse {
  0%, 100% {
    border-color: rgba(229, 231, 235, 0.9);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
  }
  50% {
    border-color: rgba(237, 28, 36, 0.35);
    box-shadow: 0 10px 30px -5px rgba(237, 28, 36, 0.1);
  }
}

.animate-float-slow {
  animation: floatSlow 14s ease-in-out infinite;
  will-change: transform;
}

.animate-float-reverse {
  animation: floatReverse 18s ease-in-out infinite;
  will-change: transform;
}

.animate-float-vertical {
  animation: floatVertical 7s ease-in-out infinite;
  will-change: transform;
}

.animate-pulse-glow {
  animation: pulseGlow 9s ease-in-out infinite;
  will-change: opacity, transform;
}

.bg-animated-grid {
  background-image: radial-gradient(#ED1C24 1px, transparent 1px);
  background-size: 24px 24px;
  animation: gridDrift 28s linear infinite;
  will-change: background-position;
}

.bg-animated-grid-subtle {
  background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 20px 20px;
  animation: gridDrift 35s linear infinite;
  will-change: background-position;
}

.laser-beam-line {
  position: absolute;
  top: 0;
  height: 1px;
  width: 40%;
  background: linear-gradient(90deg, transparent, #ED1C24, #ffffff, #ED1C24, transparent);
  animation: laserSweep 9s ease-in-out infinite;
  filter: drop-shadow(0 0 6px #ED1C24);
  pointer-events: none;
}

.product-spec-card-glow {
  transition: all 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-spec-card-glow:hover {
  transform: translateY(-6px);
  border-color: rgba(237, 28, 36, 0.45);
  box-shadow: 0 25px 45px -12px rgba(237, 28, 36, 0.14), 0 0 0 1px rgba(237, 28, 36, 0.15);
}

/* ============================================================================
   GLOBAL TYPOGRAPHY & OPTICAL CONTENT ALIGNMENT
   ============================================================================ */
p {
  line-height: 1.75;
  text-wrap: pretty;
}

article p,
main p,
.lead-text,
.content-area p {
  line-height: 1.8;
  text-wrap: pretty;
}

/* ============================================================================
   INTERACTIVE PRODUCTS NAVBAR DROPDOWN
   ============================================================================ */
@media (min-width: 1024px) {
  #productsDropdownContainer:hover #productsDropdownPanel,
  #productsDropdownContainer:focus-within #productsDropdownPanel,
  #productsDropdownPanel.products-dropdown-panel-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }

  #productsDropdownContainer:hover #productsDropdownChevron,
  #productsDropdownContainer:focus-within #productsDropdownChevron {
    transform: rotate(180deg) !important;
  }
}

.products-dropdown-panel-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
}

.category-nav-item.active {
  background-color: rgba(254, 242, 242, 0.95) !important;
  border-color: rgba(254, 202, 202, 0.8) !important;
}

.category-nav-item.active .category-name {
  color: #ED1C24 !important;
}

.category-nav-item.active .category-indicator {
  background-color: #ED1C24 !important;
  transform: scale(1.2) !important;
}

.category-nav-item.active .category-badge {
  background-color: #ED1C24 !important;
  color: #ffffff !important;
}

.category-nav-item.active img {
  transform: scale(1.06);
}

#dropdownPreviewImg {
  transition: opacity 180ms ease, transform 300ms ease;
  will-change: opacity, transform;
}



