/* Estilos personalizados para o TemperChef */

:root {
    --color-primary: #2E7D32;      /* Verde principal */
    --color-primary-hover: #388E3C; /* Verde hover */
    --color-dark: #1a1a1a;         /* Preto suave */
    --color-gray-dark: #333333;    /* Cinza escuro */
    --color-gray: #666666;         /* Cinza médio */
    --color-gray-light: #999999;   /* Cinza claro */
}

/* Estrutura principal */
#full-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex: 1 0 auto;
}

/* Estilos para o cabeçalho */
.header-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.info-call {
    margin-right: 20px;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.social-icons-header a {
    color: #fff;
    margin-left: 10px;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.social-icons-header a:hover {
    color: var(--color-primary);
}

/* Ajustes para o cabeçalho */
#header-wrap {
    padding: 20px 0;
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: 100;
}

#header .col-md-12 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header {
    display: flex;
    align-items: center;
}

.logo-header img {
    margin-right: 10px;
    max-height: 50px;
}

.logo-header h3 {
    margin: 0;
    font-size: 24px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.logo-header span {
    font-size: 14px;
    opacity: 0.9;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Footer */
#footer {
    flex-shrink: 0;
    position: relative;
    width: 100%;
    padding: 60px 0 30px;
    background-color: var(--color-dark);
    z-index: 100;
}

#footer .container {
    position: relative;
    z-index: 1;
}

/* Ajustes de espaçamento */
#footer .row + .row {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Hover effects */
#footer a.hover-opacity-100:hover {
    opacity: 1 !important;
    color: var(--color-primary) !important;
    text-decoration: none;
}

/* Newsletter section */
#footer .newsletter-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 200px;
}

/* Newsletter form */
#footer .form-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

#footer .form-inline .form-control {
    width: 100%;
    margin-bottom: 10px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-align: center;
    height: 40px;
}

#footer .form-inline .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
}

#footer .btn-primary {
    width: 50%;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer .btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* Social icons spacing */
#footer .social-icons {
    margin-bottom: 20px;
}

#footer .social-icons a {
    transition: all 0.3s ease;
}

#footer .social-icons a:hover {
    color: var(--color-primary) !important;
}

/* Links e textos */
#footer h4, #footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

#footer p, #footer ul li {
    color: rgba(255,255,255,0.8);
}

#footer a {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

#footer a:hover {
    color: var(--color-primary);
}

/* Botões gerais do site */
.btn.colorful {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.btn.colorful:hover {
    background-color: var(--color-primary-hover) !important;
    border-color: var(--color-primary-hover) !important;
}

/* Elementos de destaque */
.colored {
    color: var(--color-primary) !important;
}

/* Ícones sociais no cabeçalho */
.social-icons-header {
    display: inline-block;
    margin-left: 20px;
    vertical-align: middle;
}

.social-icons-header a {
    display: inline-block;
    color: var(--color-gray-dark);
    font-size: 18px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons-header a:last-child {
    margin-right: 0;
}

.social-icons-header a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Ajuste para o cabeçalho em dispositivos móveis */
@media (max-width: 767px) {
    .header-meta {
        text-align: center;
    }
    
    .info-call {
        display: inline-block;
        margin-right: 15px;
        font-weight: 500;
    }
    
    .social-icons-header {
        display: inline-block;
    }
    
        #header-wrap {
        padding: 10px 0;
    }
    
    .logo-header {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .logo-header img {
        max-height: 40px;
    }
    
    .logo-header h3 {
        font-size: 20px;
    }
    
    .logo-header span {
        font-size: 12px;
    }
    
    .header-meta {
        justify-content: center;
    }
    
    /* Ajustes para seções em mobile */
    .flat-section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .box-info {
        margin-bottom: 30px;
    }
    
    .box-info .box-icon {
        margin-bottom: 15px;
    }
    
    /* Ajustes para o footer em mobile */
    #footer {
        padding: 40px 0 20px;
    }
    
    #footer h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    #footer .col-md-3 {
        margin-bottom: 30px;
    }
    
    /* Ajustes para o banner em mobile */
    .banner-parallax {
        min-height: 100vh;
    }
    
    .banner-parallax img {
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
    
    .banner-center-box {
        padding-top: 50px;
    }
}

/* Botões flutuantes de redes sociais */
.floating-social {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .floating-social {
        right: 15px;
        bottom: 15px;
    }
    
    .whatsapp-float, .instagram-float {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 20px;
    }
}

.floating-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.floating-social a:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.floating-social .whatsapp-float {
    background-color: #25D366;
}

.floating-social .instagram-float {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    #footer {
        padding: 40px 0 20px;
    }
    
    #footer .col-md-3 {
        margin-bottom: 30px;
    }

    #footer .btn-primary {
        width: 80%;
    }
    
    #footer .newsletter-section {
        min-height: 150px;
        margin-top: 20px;
    }
    
    /* Mostrar botões flutuantes apenas em mobile */
    .floating-social {
        display: flex;
    }
}

@media (min-width: 768px) {
    /* Esconder botões flutuantes em desktop */
    .floating-social {
        display: none;
    }
}

/* Estilos para a seção Sobre Nós */
#about-us {
    padding: 80px 0;
    background-color: #f9f9f9;
}

#about-us .about-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#about-us .about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

#about-us .about-image:hover img {
    transform: scale(1.03);
}

/* Estilos para os cards de produtos */
.box-preview {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.box-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.box-preview .box-img {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.box-preview .box-img img {
    transition: transform 0.5s ease;
    width: 100%;
}

.box-preview:hover .box-img img {
    transform: scale(1.05);
}

.box-preview .box-content {
    padding: 15px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}

.box-preview .box-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.box-preview:hover .box-content h4 a {
    color: var(--color-primary);
}

.box-preview .price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 18px;
}

#about-us .about-text,
.box-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray);
}

#about-us .about-text p,
.box-content p {
    margin-bottom: 20px;
}

.box-content p {
    margin-bottom: 1.2em;
}

.box-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

.box-content em {
    font-style: italic;
}

.box-content p:last-child {
    margin-bottom: 0;
}

.section-title h2 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--color-gray);
    font-weight: 400;
    margin-bottom: 30px;
}

/* Estilo para a imagem na seção Sobre Nós */
#about-us .video-preview {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#about-us .video-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

#about-us .video-preview img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    transition: transform 0.5s ease;
}

#about-us .video-preview:hover img {
    transform: scale(1.03);
}

#about-us .video-preview .embed-link-icon {
    background-color: var(--color-primary);
}

/* Estilos para a seção de depoimentos */
#testimonials {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.testimonial-single {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin: 10px;
}

.testimonial-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-single .ts-content {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.testimonial-single .ts-content p {
    font-style: italic;
    color: var(--color-gray);
    line-height: 1.8;
}

.testimonial-single .ts-content:before {
    content: '\201C';
    font-size: 60px;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-single .ts-person {
    display: flex;
    align-items: center;
}

.testimonial-single .ts-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-single .ts-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-single .ts-info h4 {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--color-gray-dark);
}

.testimonial-single .ts-info span {
    color: var(--color-primary);
    font-size: 14px;
}

@media (max-width: 767px) {
    #about-us {
        padding: 50px 0;
    }
    
    #about-us .about-text {
        margin-top: 20px;
    }
}

/* Estilos para o banner */
.banner-parallax {
    position: relative;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
}

.banner-center-box h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.banner-center-box .description {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 400;
}

/* Otimização para mobile */
@media (max-width: 767px) {
    .banner-center-box h1 {
        font-size: 28px;
    }
    
    .banner-center-box .description {
        font-size: 16px;
    }
    
    .banner-center-box .btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Animações */
.section-title, .box-info, .box-preview, .testimonial-single, .video-preview {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-title.animated, .box-info.animated, .box-preview.animated, .testimonial-single.animated, .video-preview.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Delay para elementos em sequência */
.box-preview:nth-child(1) { transition-delay: 0.1s; }
.box-preview:nth-child(2) { transition-delay: 0.2s; }
.box-preview:nth-child(3) { transition-delay: 0.3s; }
.box-preview:nth-child(4) { transition-delay: 0.4s; }

.testimonial-single:nth-child(1) { transition-delay: 0.1s; }
.testimonial-single:nth-child(2) { transition-delay: 0.2s; }
.testimonial-single:nth-child(3) { transition-delay: 0.3s; }