/*
 * Dream Brand Styles
 * Bold Red & Fire Theme
 * Hot Sauce & Ketchup Products
 */

/* ===================================
   DREAM BRAND CSS VARIABLES
   =================================== */

:root {
    /* Dream Brand Colors */
    --dream-red-dark: #5c0a0a;
    --dream-red: #c41e3a;
    --dream-red-light: #e63946;
    --dream-red-bright: #ff4444;

    --dream-orange: #ff6b35;
    --dream-orange-light: #ff8c42;
    --dream-yellow: #ffd700;

    /* Background variations */
    --dream-bg-primary: #0f0505;
    --dream-bg-secondary: #1a0a0a;
    --dream-bg-card: #2a1010;

    /* Gradients */
    --dream-gradient-red: linear-gradient(135deg, #c41e3a 0%, #ff6b35 50%, #c41e3a 100%);
    --dream-gradient-fire: linear-gradient(180deg, #ff4444 0%, #ff6b35 50%, #c41e3a 100%);
    --dream-gradient-hero: linear-gradient(180deg, rgba(15, 5, 5, 0.8) 0%, rgba(196, 30, 58, 0.3) 50%, rgba(15, 5, 5, 0.95) 100%);
}

/* ===================================
   DREAM PAGE STYLES
   =================================== */

.dream-page {
    background: var(--dream-bg-primary);
}

.dream-page .navbar {
    background: transparent;
}

.dream-page .navbar.scrolled {
    background: rgba(15, 5, 5, 0.95);
}

.dream-page .logo-text {
    color: var(--dream-red-light);
}

.dream-page .nav-link:hover,
.dream-page .nav-link.active {
    color: var(--dream-orange);
}

.dream-page .nav-link::after {
    background: var(--dream-orange);
}

/* Hero Section */
.dream-hero {
    background: var(--dream-gradient-hero);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.dream-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(196, 30, 58, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.dream-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.dream-hero .text-accent {
    color: var(--dream-orange);
}

/* Fire/Ember Particles */
.fire-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.ember {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: ember-rise 8s linear infinite;
}

@keyframes ember-rise {
    0% {
        transform: translateY(100vh) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Buttons */
.dream-page .btn-primary {
    background: var(--dream-gradient-red);
    box-shadow: 0 4px 30px rgba(196, 30, 58, 0.4);
}

.dream-page .btn-primary:hover {
    box-shadow: 0 6px 40px rgba(255, 107, 53, 0.5);
}

.dream-page .btn-outline {
    color: var(--dream-orange);
    border-color: var(--dream-orange);
}

.dream-page .btn-outline:hover {
    background: var(--dream-orange);
    color: #fff;
}

/* Section Headers */
.dream-page .section-header h2 .text-accent,
.dream-page .text-gold {
    color: var(--dream-orange);
}

.dream-page .divider {
    background: var(--dream-gradient-red);
}

/* Cards */
.dream-page .card {
    background: var(--dream-bg-card);
    border-color: rgba(196, 30, 58, 0.2);
}

.dream-page .card:hover {
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 8px 40px rgba(196, 30, 58, 0.2);
}

/* Product Cards */
.dream-product-card {
    background: var(--dream-bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(196, 30, 58, 0.2);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.dream-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--dream-gradient-red);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.dream-product-card:hover::before {
    transform: scaleX(1);
}

.dream-product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 20px 60px rgba(196, 30, 58, 0.2);
}

.dream-product-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, var(--dream-red-dark), var(--dream-red));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dream-product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
}

.dream-product-icon {
    font-size: 6rem;
    color: var(--dream-orange);
    opacity: 0.8;
    transition: var(--transition-normal);
}

.dream-product-card:hover .dream-product-icon {
    transform: scale(1.1);
    opacity: 1;
}

.dream-product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--dream-orange);
    color: #fff;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.dream-product-info {
    padding: var(--space-xl);
}

.dream-product-name {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: #fff;
}

.dream-product-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

/* Heat Level Indicator */
.heat-level {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.heat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.heat-indicator {
    display: flex;
    gap: 4px;
}

.heat-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.2);
    transition: var(--transition-fast);
}

.heat-dot.active {
    background: var(--dream-orange);
    box-shadow: 0 0 8px var(--dream-orange);
}

.heat-dot.active.hot {
    background: var(--dream-red);
    box-shadow: 0 0 8px var(--dream-red);
}

.heat-dot.active.extreme {
    background: var(--dream-red-bright);
    box-shadow: 0 0 12px var(--dream-red-bright);
    animation: pulse 0.5s infinite;
}

/* Features */
.dream-product-features {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.dream-product-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.dream-product-feature i {
    color: var(--dream-orange);
}

/* Recipe Cards */
.recipe-section {
    background: var(--dream-bg-secondary);
}

.recipe-card {
    background: var(--dream-bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(196, 30, 58, 0.2);
    overflow: hidden;
    transition: var(--transition-normal);
}

.recipe-card:hover {
    transform: translateY(-5px);
    border-color: var(--dream-orange);
    box-shadow: 0 10px 40px rgba(196, 30, 58, 0.15);
}

.recipe-image {
    height: 200px;
    background: linear-gradient(135deg, var(--dream-red-dark), var(--dream-red));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.recipe-image i {
    font-size: 4rem;
    color: var(--dream-orange);
    opacity: 0.6;
}

.recipe-time {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.recipe-time i {
    font-size: 0.9rem;
    color: var(--dream-orange);
}

.recipe-content {
    padding: var(--space-lg);
}

.recipe-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.recipe-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.recipe-tags {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.recipe-tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--dream-orange);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

/* Distribution Section */
.distribution-section {
    background: var(--dream-bg-primary);
}

.distribution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.distribution-card {
    background: var(--dream-bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(196, 30, 58, 0.2);
    transition: var(--transition-normal);
}

.distribution-card:hover {
    transform: translateY(-5px);
    border-color: var(--dream-orange);
}

.distribution-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--dream-orange);
}

.distribution-card h4 {
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}

.distribution-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .distribution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .distribution-grid {
        grid-template-columns: 1fr;
    }
}

/* Value Items */
.dream-page .value-item {
    background: var(--dream-bg-card);
    border-color: rgba(196, 30, 58, 0.2);
}

.dream-page .value-item:hover {
    border-color: rgba(255, 107, 53, 0.4);
}

.dream-page .value-icon {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(255, 107, 53, 0.1));
    color: var(--dream-orange);
}

/* Forms */
.dream-page .form-control {
    background: var(--dream-bg-card);
    border-color: rgba(196, 30, 58, 0.3);
}

.dream-page .form-control:focus {
    border-color: var(--dream-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Footer */
.dream-page .footer {
    background: var(--dream-bg-secondary);
    border-top-color: rgba(196, 30, 58, 0.2);
}

.dream-page .footer-title {
    color: var(--dream-orange);
}

.dream-page .social-link:hover {
    background: var(--dream-orange);
    border-color: var(--dream-orange);
}

/* About Section */
.dream-about-section {
    background: var(--dream-bg-secondary);
    position: relative;
    overflow: hidden;
}

.dream-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 0% 50%, rgba(196, 30, 58, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.dream-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.dream-about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 500px;
    background: linear-gradient(135deg, var(--dream-red-dark), var(--dream-red), var(--dream-orange));
    display: flex;
    align-items: center;
    justify-content: center;
}

.dream-about-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--dream-orange);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.dream-about-content h2 {
    margin-bottom: var(--space-lg);
}

.dream-about-content p {
    margin-bottom: var(--space-lg);
    line-height: 1.9;
}

@media (max-width: 1024px) {
    .dream-about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .dream-about-image {
        height: 350px;
    }
}

/* Spice Level Legend */
.spice-legend {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--dream-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(196, 30, 58, 0.2);
}

.spice-level-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.spice-level-item .heat-indicator {
    gap: 3px;
}

.spice-level-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .dream-page #products .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-sm) !important;
    }
    .dream-product-card {
        margin-bottom: 0 !important;
        border-radius: var(--radius-md) !important;
    }
    .dream-product-image {
        height: 140px !important;
        border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    }
    .dream-product-image i, .dream-product-image img {
        height: 100% !important;
    }
    .dream-product-info {
        padding: var(--space-sm) !important;
    }
    .dream-product-name {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
    }
    .dream-product-description {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .dream-product-features {
        display: none !important;
    }
    .dream-product-badge {
        font-size: 0.7rem !important;
        padding: 2px 4px !important;
        top: 8px !important;
        right: 8px !important;
    }
    .heat-level {
        font-size: 0.7rem !important;
        margin-bottom: var(--space-xs) !important;
    }
    .heat-dot {
        width: 6px !important;
        height: 6px !important;
    }
}