/* ========================================
   JEASAUCE - Divine Design System
   Saviorly Spicy • Holy Heat
   ======================================== */

/* CSS Custom Properties (The Holy Variables) */
:root {
    /* Primary Colors - Fiery Salvation */
    --fire-red: #e63946;
    --ember-orange: #f77f00;
    --golden-glow: #fcbf49;
    --holy-gold: #eae2b7;
    
    /* Dark Theme - Blessed Darkness */
    --deep-wine: #1a0a0a;
    --charred: #0d0d0d;
    --smoke: #1f1f1f;
    --ash: #2a2a2a;
    
    /* Accent Colors */
    --divine-white: #f8f8f8;
    --cloud-white: #ffffff;
    --halo-glow: rgba(252, 191, 73, 0.3);
    
    /* Gradients */
    --fire-gradient: linear-gradient(135deg, var(--fire-red) 0%, var(--ember-orange) 50%, var(--golden-glow) 100%);
    --heaven-gradient: linear-gradient(180deg, #1a0a0a 0%, #2d1a1a 50%, #1a0a0a 100%);
    --card-gradient: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    
    /* Typography */
    --font-display: 'Cinzel Decorative', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-glow: 0 0 40px rgba(230, 57, 70, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--charred);
    color: var(--divine-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--smoke);
}

::-webkit-scrollbar-thumb {
    background: var(--fire-gradient);
    border-radius: 4px;
}

/* ========================================
   Animated Background Particles
   ======================================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--ember-orange);
    border-radius: 50%;
    opacity: 0.6;
    animation: floatUp 8s infinite;
    filter: blur(1px);
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* ========================================
   Navigation
   ======================================== */
.divine-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.98) 0%, rgba(13, 13, 13, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.nav-links a {
    color: var(--divine-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fire-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--ember-orange);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--fire-gradient);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(80px + var(--space-lg)) var(--space-md) var(--space-lg);
    position: relative;
    overflow: hidden;
    background: var(--heaven-gradient);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
    text-align: center;
}

.tagline-top {
    font-size: 0.9rem;
    color: var(--golden-glow);
    margin-bottom: var(--space-sm);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 8px;
    color: var(--divine-white);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.title-main {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(230, 57, 70, 0.5);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(248, 248, 248, 0.8);
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s ease 0.8s backwards;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    color: var(--golden-glow);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--fire-gradient);
    color: var(--cloud-white);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    animation: fadeInUp 1s ease 1s backwards;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 60px rgba(230, 57, 70, 0.5);
}

.cta-flame {
    animation: flicker 0.5s infinite alternate;
}

@keyframes flicker {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.halo-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(252, 191, 73, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: haloGlow 3s infinite alternate;
}

@keyframes haloGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.bottle-img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: floatBottle 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes floatBottle {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header.light h2 {
    color: var(--divine-white);
}

.section-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.section-subtitle {
    color: rgba(248, 248, 248, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Sauce Section
   ======================================== */
.sauce-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--smoke);
    position: relative;
}

.sauce-content {
    max-width: 1200px;
    margin: 0 auto;
}

.sauce-story {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.story-card {
    background: var(--card-gradient);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: var(--shadow-glow);
}

.story-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.story-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--golden-glow);
    margin-bottom: var(--space-xs);
}

.story-card p {
    color: rgba(248, 248, 248, 0.8);
    font-size: 1rem;
}

/* Heat Meter */
.heat-meter {
    background: var(--card-gradient);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
}

.heat-meter h3 {
    font-family: var(--font-display);
    color: var(--golden-glow);
    margin-bottom: var(--space-md);
}

.meter-container {
    max-width: 500px;
    margin: 0 auto;
}

.meter-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.meter-fill {
    height: 100%;
    width: 0%;
    background: var(--fire-gradient);
    border-radius: 10px;
    animation: fillMeter 2s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fillMeter {
    to { width: 95%; }
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(248, 248, 248, 0.6);
}

.heat-warning {
    margin-top: var(--space-md);
    color: var(--ember-orange);
    font-size: 0.9rem;
    font-style: italic;
}

/* ========================================
   Miracles Section
   ======================================== */
.miracles-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--charred);
}

.miracles-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-md);
}

.miracle-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--smoke);
    transition: all 0.4s ease;
    cursor: pointer;
}

.miracle-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.miracle-card.featured {
    grid-column: span 1;
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.miracle-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 13, 13, 0.9) 0%, transparent 50%);
}

.card-content {
    padding: var(--space-md);
    position: relative;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--golden-glow);
    margin-bottom: var(--space-xs);
}

.card-content p {
    color: rgba(248, 248, 248, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--smoke);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 250px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    background: var(--card-gradient);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.quote-icon {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-text {
    font-size: 1.3rem;
    color: var(--divine-white);
    font-style: italic;
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.author-name {
    color: var(--golden-glow);
    font-weight: 600;
}

.rating {
    font-size: 1.5rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.slider-dot.active {
    background: var(--ember-orange);
    transform: scale(1.2);
}

/* ========================================
   Uncle Nick Section
   ======================================== */
.uncle-nick-section {
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(135deg, var(--deep-wine) 0%, var(--charred) 100%);
}

.nick-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-lg);
    align-items: center;
}

.nick-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-image: var(--fire-gradient) 1;
    border-radius: var(--radius-md);
    z-index: 1;
}

.image-frame img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.nick-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.nick-intro {
    font-size: 1.2rem;
    color: rgba(248, 248, 248, 0.8);
    margin-bottom: var(--space-md);
}

.nick-facts {
    list-style: none;
    margin-bottom: var(--space-md);
}

.nick-facts li {
    padding: var(--space-xs) 0;
    font-size: 1.1rem;
    color: var(--divine-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nick-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--golden-glow);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--ember-orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: var(--space-xs);
}

.quote-attribution {
    display: block;
    text-align: right;
    color: rgba(248, 248, 248, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--smoke);
    text-align: center;
}

.contact-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.contact-subtitle {
    color: rgba(248, 248, 248, 0.7);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    background: var(--card-gradient);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    min-width: 250px;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-label {
    font-weight: 600;
    color: var(--golden-glow);
}

.contact-info {
    color: rgba(248, 248, 248, 0.7);
    font-size: 0.9rem;
}

/* ========================================
   Footer
   ======================================== */
.divine-footer {
    background: var(--charred);
    border-top: 1px solid rgba(230, 57, 70, 0.2);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: var(--golden-glow);
    margin-bottom: var(--space-md);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: rgba(248, 248, 248, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--ember-orange);
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: rgba(248, 248, 248, 0.5);
    margin-bottom: var(--space-sm);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(248, 248, 248, 0.6);
}

/* ========================================
   Mobile Responsiveness
   ======================================== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(80px + var(--space-md));
    }
    
    .hero-image {
        order: -1;
        margin-bottom: var(--space-md);
    }
    
    .bottle-img {
        max-height: 350px;
    }
    
    .halo-glow {
        width: 300px;
        height: 300px;
    }
    
    .nick-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nick-image {
        order: -1;
    }
    
    .nick-quote {
        text-align: left;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(13, 13, 13, 0.98);
        padding: var(--space-md);
        gap: var(--space-sm);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        display: block;
        padding: var(--space-sm);
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .miracles-grid {
        grid-template-columns: 1fr;
    }
    
    .miracle-card.featured {
        grid-column: span 1;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 2.5rem;
        --space-xl: 4rem;
    }
    
    .bottle-img {
        max-height: 280px;
    }
    
    .card-image {
        height: 250px;
    }
    
    .testimonial-card {
        padding: var(--space-md);
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
