/* CSS específico para a página Food Tech */

/* Paleta de cores Food Tech */
:root {
    --foodtech-red: #8B0000;
    --foodtech-orange: #FF6B35;
    --foodtech-dark: #2C2C2C;
    --foodtech-darker: #1a1a1a;
    --foodtech-yellow: #FFB347;
}

/* Fundo cinza escuro para página Food Tech */
body {
    background-color: var(--foodtech-dark);
    color: #ffffff;
}

/* Hero Section Food Tech */
.hero-foodtech {
    background: var(--foodtech-dark);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-foodtech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="food-grid" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23food-grid)"/></svg>');
    opacity: 0.3;
}

.hero-foodtech .hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-foodtech .hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-foodtech .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-question {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-question h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foodtech-yellow);
}

.hero-question p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Problemas do Food Service */
.problems-foodtech {
    padding: 80px 0;
    background: var(--foodtech-dark);
}

.problem-card-food {
    background: var(--foodtech-darker);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--foodtech-red);
}

.problem-card-food:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(139, 0, 0, 0.2);
    border-left-color: var(--foodtech-orange);
}

.problem-card-food .problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.problem-card-food h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foodtech-red);
}

.problem-card-food p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Sobre o Evento */
.about-foodtech {
    padding: 80px 0;
    background: var(--foodtech-dark);
}

.event-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.event-description {
    font-size: 1.3rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-dark);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.program-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.program-number {
    background: var(--foodtech-red);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.program-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--foodtech-red);
}

.program-content p {
    color: #333333;
    line-height: 1.6;
}

/* Cases de Sucesso */
.success-cases {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--foodtech-dark), #1a1a1a);
    color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.case-logo {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.case-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foodtech-yellow);
}

.case-results {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.case-metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--foodtech-orange);
    margin-bottom: 0.3rem;
}

.metric-label {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-card p {
    font-style: italic;
    opacity: 0.9;
    line-height: 1.6;
}

/* Benefícios da Automação */
.automation-benefits {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0 4rem;
}

.benefit-stat {
    background: var(--foodtech-darker);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--foodtech-orange);
}

.benefit-stat .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--foodtech-red);
    display: block;
    margin-bottom: 1rem;
}

.benefit-stat .stat-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.benefit-stat .stat-source {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.benefits-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.comparison-side {
    background: var(--foodtech-darker);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-side h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    padding: 0.8rem 0;
    font-size: 1rem;
    line-height: 1.5;
    border-bottom: 1px solid #f1f3f4;
}

.comparison-list li:last-child {
    border-bottom: none;
}

/* CTA Principal */
.main-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--foodtech-red), var(--foodtech-orange));
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.cta-benefit .benefit-icon {
    font-size: 1.5rem;
}

.cta-form {
    max-width: 600px;
    margin: 4rem auto 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--foodtech-yellow);
}

.foodtech-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.foodtech-form input,
.foodtech-form select {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.foodtech-form input:focus,
.foodtech-form select:focus {
    outline: none;
    border-color: var(--foodtech-yellow);
    box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.3);
    background: var(--foodtech-darker);
    color: #ffffff;
}

.foodtech-form button {
    width: 100%;
    margin-top: 1rem;
    background: var(--foodtech-yellow);
    color: var(--foodtech-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.foodtech-form button:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

/* FAQ Food Tech */
.faq-foodtech {
    padding: 80px 0;
    background: var(--foodtech-dark);
}

.faq-foodtech .faq-item {
    background: var(--foodtech-darker);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border-left: 4px solid var(--foodtech-red);
}

.faq-foodtech .faq-question {
    padding: 1.5rem 2rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foodtech-red);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-foodtech .faq-question:hover {
    background: #e9ecef;
}

.faq-foodtech .faq-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foodtech-orange);
}

.faq-foodtech .faq-answer {
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Galeria de Fotos do Evento */
.event-gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-foodtech .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-question h2 {
        font-size: 1.4rem;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .program-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefits-comparison {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-benefits {
        grid-template-columns: 1fr;
    }
    
    .foodtech-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

/* Animações específicas */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.program-item:nth-child(odd) {
    animation: slideInFromLeft 0.6s ease-out;
}

.program-item:nth-child(even) {
    animation: slideInFromRight 0.6s ease-out;
}

/* Efeitos especiais */
.case-card:hover .case-logo {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.benefit-stat:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}


/* Ajustes adicionais para tema escuro */
.foodtech-form input,
.foodtech-form select {
    background: var(--foodtech-darker);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.foodtech-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Melhorar contraste dos títulos */
.section-title {
    color: #ffffff;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Ajustar cores dos cards para melhor legibilidade */
.problem-card-food h3,
.benefit-stat h3,
.comparison-side h3 {
    color: #ffffff;
}

.problem-card-food p,
.benefit-stat p,
.comparison-side p {
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ items no tema escuro */
.faq-foodtech .faq-question {
    color: #ffffff;
}

.faq-foodtech .faq-answer {
    color: rgba(255, 255, 255, 0.9);
}

/* Header específico para Food Tech */
.header {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

.header .nav-link:hover {
    color: var(--foodtech-yellow) !important;
}

.header .logo img {
    filter: brightness(0) invert(1);
    max-height: 40px;
}

.header .btn-primary {
    background: var(--foodtech-yellow) !important;
    border-color: var(--foodtech-yellow) !important;
    color: #000000 !important;
}

.header .btn-primary:hover {
    background: #e6a340 !important;
    border-color: #e6a340 !important;
}

/* Mobile menu específico para Food Tech */
.mobile-menu {
    background: rgba(26, 26, 26, 0.98) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-item {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-item:hover {
    background: rgba(255, 179, 71, 0.1) !important;
    color: var(--foodtech-yellow) !important;
}

.btn-primary-mobile {
    background: var(--foodtech-yellow) !important;
    color: #000000 !important;
}

.mobile-menu-toggle span {
    background: #ffffff !important;
}
