﻿/* labelads.in – Custom Styles (Design System matching desing.png) */
html {
  scroll-behavior: smooth;
}

/* Mobile menu toggle */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}
#mobile-menu.open {
  max-height: 600px;
}

/* Section badge pill */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   ENHANCEMENT: Hero Section Images with Overlay
   ═══════════════════════════════════════════ */
.hero-img {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.hero-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(10,10,10,0.85), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}
.hero-img:hover::after {
  opacity: 1;
}

/* Campaign calculator slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dc2626;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dc2626;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

/* Gallery lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 100;
  justify-content: center;
  align-items: center;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Card hover lift */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Service card style from desing.png */
.service-card {
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  background: white;
}
.service-card:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.08);
}

/* FAQ accordion from desing.png */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 500;
  color: #1f2937;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: #dc2626;
}
.faq-item[open] summary {
  color: #dc2626;
}
.faq-item .faq-content {
  padding-bottom: 1.25rem;
  color: #6b7280;
  line-height: 1.7;
}

/* Testimonial active indicator */
.testimonial-item {
  padding: 1rem 1.5rem;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0 8px 8px 0;
}
.testimonial-item:hover,
.testimonial-item.active {
  border-left-color: #dc2626;
  background: #fef2f2;
}

/* Project card overlay */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.project-card img {
  transition: transform 0.4s ease;
}
.project-card:hover img {
  transform: scale(1.05);
}

/* Floating animation for hero elements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   ENHANCEMENT: Scroll Reveal Animations
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-left.visible,
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.scale-in {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}
/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════
   ENHANCEMENT: Full-Screen Image Cards
   ═══════════════════════════════════════════ */
.img-fullscreen {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #f3f4f6;
}
.img-fullscreen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.img-fullscreen:hover img {
  transform: scale(1.04);
}
.img-fullscreen::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(10,10,10,0.88), transparent);
  pointer-events: none;
  z-index: 1;
}
.img-fullscreen .img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  color: white;
  z-index: 2;
}
/* Aspect ratio helpers */
.img-hero    { aspect-ratio: 16 / 9; }
.img-square  { aspect-ratio: 1 / 1; }
.img-portrait{ aspect-ratio: 3 / 4; }
.img-wide    { aspect-ratio: 21 / 9; }
.img-card    { aspect-ratio: 4 / 3; }
.img-cinema  { aspect-ratio: 2.39 / 1; }

/* ═══════════════════════════════════════════
   ENHANCEMENT: Parallax Section
   ═══════════════════════════════════════════ */
.parallax-section {
  will-change: background-position;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll;
  }
}

/* ═══════════════════════════════════════════
   ENHANCEMENT: Logo in Header (2x size)
   ═══════════════════════════════════════════ */
header .logo-img {
  height: 11rem;
  width: auto;
  object-fit: contain;
  transform: translateY(2px);
  margin: -2.75rem 0;
}
footer .logo-img {
  height: 3rem;
  width: auto;
  object-fit: contain;
}
@media (max-width: 1024px) {
  header .logo-img {
    height: 7.5rem;
    margin: -1.875rem 0;
  }
  footer .logo-img {
    height: 2.5rem;
  }
}

/* ═══════════════════════════════════════════
   ENHANCEMENT: Glow Pulse (CTA / Badges)
   ═══════════════════════════════════════════ */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35); }
  50%       { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}
.glow-pulse { animation: glow-pulse 2.2s ease-in-out infinite; }

/* ═══════════════════════════════════════════
   ENHANCEMENT: Video Section
   ═══════════════════════════════════════════ */
.video-bg-section video {
  transition: opacity 0.5s ease;
}

/* ═══════════════════════════════════════════
   ENHANCEMENT: Pictorial thumbnail callouts
   ═══════════════════════════════════════════ */
.callout-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 2px solid rgba(220, 38, 38, 0.15);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.callout-thumb:hover {
  border-color: #dc2626;
  transform: translateY(-2px);
}
.callout-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.callout-thumb:hover img {
  transform: scale(1.12);
}

/* ═══════════════════════════════════════════
   ENHANCEMENT: Pricing card image header
   ═══════════════════════════════════════════ */
.pricing-card-img {
  position: relative;
  border-radius: 12px 12px 0 0;
  height: 9rem;
  width: 100%;
}
.pricing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pricing-card-img:hover img {
  transform: scale(1.05);
}
.pricing-card-img .pricing-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(255,255,255,0.95) 100%);
  z-index: 1;
}
.pricing-card-img .pricing-img-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(10,10,10,0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  z-index: 2;
}

/* ═══════════════════════════════════════════
   ENHANCEMENT: GSAP pre-state (prevent FOUC)
   ═══════════════════════════════════════════ */
.gsap-fade { opacity: 0; }
.gsap-ready .gsap-fade { opacity: 1; }
