/* ==========================================================================
   Fiery Craft - Artisanal Hot Sauce Template
   Main CSS File - Bootstrap 5 Compatible
   ========================================================================== */

/* Root Variables - Pastel High-Contrast Color Palette */
:root {
    /* Primary Colors */
    --primary-red: #ff6b6b;
    --primary-orange: #ffa726;
    --primary-yellow: #ffeb3b;
    --primary-green: #4caf50;
    --primary-purple: #9c27b0;
    
    /* Light Shades */
    --light-red: #ffcdd2;
    --light-orange: #ffe0b2;
    --light-yellow: #fff9c4;
    --light-green: #c8e6c9;
    --light-purple: #e1bee7;
    
    /* Dark Shades */
    --dark-red: #c62828;
    --dark-orange: #ef6c00;
    --dark-yellow: #f57f17;
    --dark-green: #2e7d32;
    --dark-purple: #6a1b9a;
    
    /* Neutral Colors */
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --background-light: #fafafa;
    --background-dark: #34495e;
    
    /* Typography */
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-sm: 0.875rem;
    --line-height-base: 1.6;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Base Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Conservative Font Sizes */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

p {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
}

/* Header Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}

.navbar-brand {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-yellow);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-red), var(--light-orange));
    display: flex;
    align-items: center;
    padding-top: 76px;
}

.hero-section h1 {
    color: var(--dark-red);
    padding-top: 250px;
}

.hero-section h2 {
    color: var(--dark-orange);
}

.hero-section p {
    color: var(--text-dark);
    font-size: var(--font-size-lg);
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.feature-card i {
    color: var(--primary-red);
}

.feature-card h4 {
    color: var(--dark-red);
    margin-top: 1rem;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .card-title {
    color: var(--dark-red);
    font-weight: 600;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-top: 1rem;
}

.service-card .features {
    color: var(--text-dark);
    font-style: italic;
    font-size: var(--font-size-sm);
}

/* Feature Boxes */
.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
}

.feature-box i {
    color: var(--primary-green);
}

.feature-box h4 {
    color: var(--dark-green);
}

/* Price Cards */
.price-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.price-card .card-header {
    background: var(--primary-orange);
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

.price-card .price {
    color: var(--primary-red);
    font-weight: 700;
    margin-top: 1rem;
}

.price-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-orange);
}

/* Team Members */
.team-member {
    padding: 1.5rem;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-purple);
}

.team-member h4 {
    color: var(--dark-purple);
    margin-top: 1rem;
}

.team-member p {
    color: var(--text-dark);
    font-style: italic;
}

/* Review Cards */
.review-card {
    border: none;
    border-radius: 8px;
    background: var(--light-green);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
}

.review-card .card-text {
    font-style: italic;
    color: var(--dark-green);
}

.review-card .card-subtitle {
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 1rem;
}

/* FAQ Cards */
.faq-card {
    border: none;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-2px);
}

.faq-card .card-title {
    color: var(--dark-red);
    font-weight: 600;
}

.faq-card .card-text {
    color: var(--text-dark);
}

/* Gallery */
#gallery img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Contact Form */
#contact .form-control {
    border: 2px solid var(--light-orange);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: var(--font-size-base);
}

#contact .form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 167, 38, 0.25);
}

#contact .btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    padding: 0.75rem 2rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#contact .btn-primary:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
}

#contact .contact-info i {
    color: var(--primary-orange);
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.footer h5 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer hr {
    border-color: var(--primary-orange);
    margin: 2rem 0 1rem;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: var(--light-yellow);
    padding: 1rem 0;
}

.breadcrumb-icon {
    width: 24px;
    height: 24px;
}

/* Additional Page Content Cards */
.story-card,
.philosophy-card,
.process-card,
.ingredient-card,
.award-card,
.recipe-card,
.heat-card,
.storage-card,
.pairing-card,
.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.story-card:hover,
.philosophy-card:hover,
.process-card:hover,
.ingredient-card:hover,
.award-card:hover,
.recipe-card:hover,
.heat-card:hover,
.storage-card:hover,
.pairing-card:hover,
.tip-card:hover {
    transform: translateY(-3px);
}

.story-card h4,
.philosophy-card h4,
.process-card h4,
.ingredient-card h4,
.award-card h4 {
    color: var(--dark-red);
}

.recipe-card h4,
.heat-card h4,
.storage-card h4,
.pairing-card h4,
.tip-card h4 {
    color: var(--dark-orange);
}

/* Space Page */
#space {
    background: linear-gradient(135deg, var(--light-purple), var(--light-green));
    color: var(--text-dark);
}

#space h1 {
    color: var(--dark-purple);
}

/* Utility Classes */
.text-primary-red {
    color: var(--primary-red);
}

.text-primary-orange {
    color: var(--primary-orange);
}

.bg-light-red {
    background-color: var(--light-red);
}

.bg-light-orange {
    background-color: var(--light-orange);
}

/* Animation Classes (Sal.js compatible) */
[data-sal] {
    transition-duration: 0.8s;
    transition-timing-function: ease;
}

[data-sal="slide-up"] {
    opacity: 0;
    transform: translateY(50px);
}

[data-sal="slide-down"] {
    opacity: 0;
    transform: translateY(-50px);
}

[data-sal="slide-left"] {
    opacity: 0;
    transform: translateX(50px);
}

[data-sal="slide-right"] {
    opacity: 0;
    transform: translateX(-50px);
}

[data-sal].sal-animate {
    opacity: 1;
    transform: none;
} 


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

.x-link::after {
    content: '✦';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
