/* Variáveis de Cores */
:root {
    /* Cores Gerais */
    --primary-color: #2D5016; /* Verde terroso da logo (principal para títulos, botões primários) */
    --secondary-color: #D4AF37; /* Dourado da logo (destaque, preços, ícones) */
    --text-color: #333; /* Cor principal do texto */
    --light-text-color: #f8f8f8; /* Cor do texto em fundos escuros */
    --background-light: #f8f8f8; /* Fundo claro para seções */
    --background-dark: #2D5016; /* Verde terroso para header/footer */
    --border-color: #ddd; /* Cor padrão para bordas */
    --gold-text: #D4AF37; /* Dourado para textos especiais */

    /* Cores por Categoria (para hero sections, quick access e elementos específicos) */
    --saladas-green-light: #4A7C59; /* Verde mais harmonioso */
    --saladas-green-dark: #2D5016; /* Verde terroso */

    --gourmet-wine: #800020; /* Vinho */
    --gourmet-wood-brown: #8B4513; /* Marrom madeira */
    --gourmet-gold-soft: #D4AF37; /* Dourado da logo */

    --manicoba-earth-green: #2D5016; /* Verde terroso da logo */
    --manicoba-earth-brown: #A0522D; /* Tons terrosos (ex: sienna) */

    --caldos-yellow: #D4AF37; /* Dourado da logo */
    --caldos-red-brown: #8B0000; /* Marrom avermelhado (ex: para caldo de carne) */
    --caldos-green-soup: #2D5016; /* Verde terroso (ex: para caldo verde) */
}

/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* Header */
header {
    background-color: var(--background-dark);
    color: var(--light-text-color);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-text);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold-text);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

nav a:hover {
    color: var(--secondary-color);
}

/* Menu Hambúrguer */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--light-text-color);
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

.btn:hover {
    background-color: #8B0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #E68900;
}

/* Carrossel */
.carousel {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light-text-color);
    max-width: 600px;
    padding: 0 2rem;
}

.carousel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.carousel-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--light-text-color);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s ease;
}

.carousel-nav:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Acesso Rápido */
.quick-access {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.access-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

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

.access-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.access-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.access-card p {
    color: #666;
}

/* Cores específicas para cada categoria */
.saladas-bg {
    background: linear-gradient(135deg, var(--saladas-green-light), var(--saladas-green-dark));
    color: white;
}

.gourmet-bg {
    background: linear-gradient(135deg, var(--gourmet-wine), var(--gourmet-wood-brown));
    color: white;
}

.manicoba-bg {
    background: linear-gradient(135deg, var(--manicoba-earth-green), var(--manicoba-earth-brown));
    color: white;
}

.caldos-bg {
    background: linear-gradient(135deg, var(--caldos-yellow), var(--caldos-red-brown));
    color: white;
}

/* Seções de Menu */
.menu-section {
    padding: 4rem 0;
}

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

.menu-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

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

.menu-item-content {
    padding: 1.5rem;
}

.menu-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.menu-item p {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Disclaimer */
.disclaimer {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--light-text-color);
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section p, .footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    margin-top: 2rem;
}

/* Botões Flutuantes */
.float-buttons {
    position: fixed;
    bottom: 100px; /* Movido mais para cima para evitar conflito com o endereçamento do Manus */
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.whatsapp-float {
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

.instagram-float {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.instagram-float:hover {
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 992px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .carousel-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--background-dark);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .carousel-content h2 {
        font-size: 1.8rem;
    }
    
    .carousel-nav {
        padding: 10px 15px;
        font-size: 1.2rem;
    }
    
    .access-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .float-buttons {
        bottom: 90px; /* Ajustado para mobile */
        right: 15px;
        gap: 8px;
    }
    
    .whatsapp-float,
    .instagram-float {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .whatsapp-float img,
    .instagram-float img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        height: 50vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .carousel {
        height: 50vh;
    }
    
    .carousel-content h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}


/* Botões de Pedido */
.btn-pedido {
    display: inline-block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-pedido:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.btn-pedido i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Estilos para campos desabilitados */
.form-group.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.extra-option.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Mensagens de aviso */
.warning-message {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.9em;
}

/* Responsividade para botões de pedido */
@media (max-width: 768px) {
    .btn-pedido {
        padding: 10px 16px;
        font-size: 0.9em;
        width: 100%;
        margin-top: 10px;
    }
}



/* Modal de Pedido */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

.modal-header h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.pedido-resumo {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.pedido-resumo h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.pedido-resumo .produto {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.pedido-resumo .total {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.form-field.required label::after {
    content: " *";
    color: #e74c3c;
}

.form-field.conditional {
    display: none;
}

.form-field.conditional.show {
    display: block;
}

.taxa-entrega {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-modal {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancelar {
    background: #6c757d;
    color: white;
}

.btn-cancelar:hover {
    background: #5a6268;
}

.btn-confirmar {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.btn-confirmar:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
}

.btn-confirmar:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .pedido-resumo {
        padding: 15px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .btn-modal {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 15px;
        max-height: 95vh;
    }
    
    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
}



.whatsapp-float img,
.instagram-float img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

