/* 
 * Chef.my Custom CSS
 * Theme colors based on brand
 */

 :root {
    --chef-orange: #f4821f; /* Bright orange from chef hat in logo */
    --chef-dark: #1e2022; /* Dark gray/almost black from logo text */
    --chef-beige: #f2e8d5; /* Warm beige from logo background */
    --chef-beige-light: #f8f4eb; /* Lighter shade of beige for subtle backgrounds */
    --chef-beige-dark: #e5d7bb; /* Darker shade of beige for borders, etc. */
    --chef-gray: #6c757d; /* Neutral gray for text */
    --chef-white: #ffffff; /* White */
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--chef-beige);
    color: var(--chef-dark);
}

a {
    color: var(--chef-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--chef-orange);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Background Colors */
.bg-chef-orange {
    background-color: var(--chef-orange);
}

.bg-chef-dark {
    background-color: var(--chef-dark);
}

.bg-chef-beige {
    background-color: var(--chef-beige);
}

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

/* Text Colors */
.text-chef-orange {
    color: var(--chef-orange);
}

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

.text-chef-beige {
    color: var(--chef-beige);
}

.text-chef-gray {
    color: var(--chef-gray);
}

/* Button Styles */
.btn-chef-orange {
    background-color: var(--chef-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-chef-orange:hover {
    background-color: #e0741b;
    color: white;
}

.btn-chef-dark {
    background-color: var(--chef-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-chef-dark:hover {
    background-color: #2c3032;
    color: white;
}

.btn-chef-outline {
    background-color: transparent;
    color: var(--chef-dark);
    border: 1px solid var(--chef-dark);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-chef-outline:hover {
    background-color: var(--chef-dark);
    color: white;
}

/* Navigation Styles */
.nav-link {
    font-weight: 500;
    padding: 8px 12px;
    margin: 0 6px;
    border-radius: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-link:hover {
    color: var(--chef-orange);
    background-color: var(--chef-beige-light);
    border-bottom-color: var(--chef-orange);
}

.nav-link.active {
    color: var(--chef-orange);
    background-color: var(--chef-beige-light);
    border-bottom-color: var(--chef-orange);
}

/* Mobile Navigation */
.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--chef-dark);
    background-color: transparent;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: var(--chef-beige-light);
    color: var(--chef-orange);
}

.mobile-nav-link.active {
    color: var(--chef-orange);
    background-color: var(--chef-beige-light);
}

/* Card Styles */
.card {
    background-color: var(--chef-white);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-body {
    padding: 1.5rem;
}

/* Recipe Card Specific */
.recipe-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.recipe-card .chef-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--chef-beige-light);
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    color: var(--chef-dark);
    margin-top: 0.5rem;
}

.recipe-card .chef-badge img {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
}

/* Chef Profile Card */
.chef-profile-card {
    text-align: center;
}

.chef-profile-card .chef-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--chef-orange);
}

/* Form Styles */
.form-control {
    background-color: var(--chef-beige-light);
    border: 1px solid var(--chef-beige-dark);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    color: var(--chef-dark);
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: white;
    border-color: var(--chef-orange);
    box-shadow: 0 0 0 0.2rem rgba(244, 130, 31, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--chef-dark);
}

/* AI Assistant Feature */
.ai-feature-box {
    background-color: var(--chef-white);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.ai-feature-box::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-color: var(--chef-orange);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.ai-feature-content {
    position: relative;
    z-index: 1;
}

.ai-feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--chef-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ai-feature-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

/* TikTok Integration Feature */
.tiktok-feed {
    background-color: var(--chef-white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.tiktok-post {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--chef-beige-dark);
}

.tiktok-header {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--chef-beige-light);
}

.tiktok-header img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.75rem;
}

.tiktok-content {
    aspect-ratio: 9/16;
    background-color: #000;
}

/* Privacy Policy Page Styles */
.privacy-section {
    background-color: var(--chef-white);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.privacy-section h2 {
    color: var(--chef-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--chef-beige-dark);
}

.privacy-section h3 {
    color: var(--chef-orange);
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

.privacy-section ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
}

.privacy-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--chef-orange);
    border-radius: 50%;
}

/* Helper Classes */
.text-gradient {
    background: linear-gradient(90deg, var(--chef-orange) 0%, #f7b056 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-chef-orange {
    border-color: var(--chef-orange);
}

.shadow-chef {
    box-shadow: 0 10px 15px -3px rgba(244, 130, 31, 0.1), 0 4px 6px -2px rgba(244, 130, 31, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .privacy-section {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

.pulse-chef {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 130, 31, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(244, 130, 31, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 130, 31, 0);
    }
}