/* ===== CUSTOM STYLES FOR JR GRILLZ ===== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ===== HERO BLOBS ===== */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 38, 66, 0.25), transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233, 127, 110, 0.2), transparent 70%);
  bottom: 10%;
  left: -80px;
  animation-delay: -3s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.15), transparent 70%);
  top: 40%;
  right: 10%;
  animation-delay: -5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal[data-revealed="false"] {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

/* ===== FAQ ACCORDION ===== */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-content {
  max-height: 200px;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ===== NAVBAR SCROLLED STATE ===== */
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(100, 26, 43, 0.08);
}

/* ===== MOBILE MENU ===== */
#mobileMenu {
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BUTTON HOVER GLOW ===== */
a[href^="tel:"],
button[type="submit"] {
  position: relative;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-blob { animation: none; }
  .scroll-reveal { opacity: 1; transform: none; }
  .faq-content { transition: none; }
}

/* ===== FOCUS VISIBLE ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #b82642;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== IMAGE LAZY-LOAD TRANSITION ===== */
img[loading="lazy"] {
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* ===== GALLERY HOVER ===== */
.rounded-2xl.overflow-hidden {
  position: relative;
}

.rounded-2xl.overflow-hidden::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(100, 26, 43, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.rounded-2xl.overflow-hidden:hover::after {
  opacity: 1;
}

/* ===== CARD LIFT ON HOVER ===== */
.group:hover {
  transform: translateY(-2px);
}

.group {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
