/*!
Theme Name: burger-belly
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: burger-belly
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

burger-belly is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #E63946; border-radius: 3px; }

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

/* Bento card hover */
.bento-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(230, 57, 70, 0.15); }

/* Range slider styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(to right, #E63946 0%, #E63946 var(--range-progress, 50%), #2a2a2a var(--range-progress, 50%), #2a2a2a 100%);
  height: 6px;
  border-radius: 3px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E63946;
  margin-top: -7px;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
  transition: box-shadow 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(230, 57, 70, 0.2);
}
input[type="range"]::-moz-range-track {
  background: #2a2a2a;
  height: 6px;
  border-radius: 3px;
}
input[type="range"]::-moz-range-progress {
  background: #E63946;
  height: 6px;
  border-radius: 3px;
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E63946;
  border: none;
  cursor: pointer;
}

/* Horizontal scroll snap for mobile menu */
.snap-x { scroll-snap-type: x mandatory; }
.snap-center { scroll-snap-align: center; }

/* AOS custom overrides */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* Masonry columns gap fix */
.columns-2 > *, .columns-3 > *, .columns-4 > * {
  margin-bottom: 1rem;
}

/* Select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23F5F5DC' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* ── Hero enhancements ── */

/* Red text glow */
.hero-glow {
  text-shadow: 0 0 40px rgba(230, 57, 70, 0.5), 0 0 80px rgba(230, 57, 70, 0.2);
}

/* Floating badge animation */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Ember rise animation */
@keyframes emberRise {
  0%   { transform: translateY(0) translateX(0) scale(1);   opacity: 0; }
  10%  { opacity: 0.8; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(-100vh) translateX(calc(var(--drift, 30px) * 1)) scale(0.3); opacity: 0; }
}

/* Give each ember a random horizontal drift via nth-child */
#embers div:nth-child(odd)  { --drift:  40px; }
#embers div:nth-child(even) { --drift: -40px; }
#embers div:nth-child(3n)   { --drift:  15px; }
#embers div:nth-child(5n)   { --drift: -60px; }

/* Shimmer sweep on primary CTA */
.group .absolute { pointer-events: none; }

/* ── Marquee ticker ── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

/* ── Gallery item ── */
.gallery-item { box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.gallery-item:hover { box-shadow: 0 8px 40px rgba(230,57,70,0.15); }

/* ── Line clamp ── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Stat counter ── */
.counter { font-variant-numeric: tabular-nums; }
