/* ============================================
   Custom CSS - Origem Cozinha de Casa
   ============================================ */

:root {
    --primary-color: #b19a50;
    --secondary-color: #f5e3a9;
    --accent-color: #ff6b6b;
    --dark-color: #2d3436;
    --light-color: #ffffff;
    --text-color: #2d3436;
    --success-color: #b19a50;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    color: var(--text-color);
    line-height: 1.7;
}

/* Navbar */
.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Dropdown menu */
.dropdown-menu {
    animation: fadeIn 0.3s ease;
}

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

.dropdown-item {
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: rgba(40, 167, 69, 0.1);
    padding-left: 1.5rem;
}

.btn-primary-custom {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Estilos do Modal de Autenticação */
.auth-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.auth-modal-header {
    background: linear-gradient(135deg, #b19a50 0%, #c9b26f 100%);
    border-radius: 16px 16px 0 0;
    padding: 1.5rem;
    border: none;
}

.auth-modal-title {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.auth-modal-body {
    padding: 2rem;
}

.auth-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.auth-input {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.auth-input:focus {
    border-color: #b19a50;
    box-shadow: 0 0 0 0.2rem rgba(177, 154, 80, 0.15);
}

.auth-btn-primary {
    background: linear-gradient(135deg, #b19a50 0%, #c9b26f 100%);
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(177, 154, 80, 0.3);
}

.auth-btn-primary:hover {
    background: linear-gradient(135deg, #9a8444 0%, #b19a50 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(177, 154, 80, 0.4);
}

.auth-btn-primary:active {
    transform: translateY(0);
}

.auth-text {
    color: #6c757d;
    font-size: 0.95rem;
}

.auth-link {
    color: #28a745;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-link:hover {
    color: #218838;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(177, 154, 80, 0.9), rgba(245, 227, 169, 0.8)),
                url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=1920') center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.saldo-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin-top: 1rem;
}

.saldo-badge .numero {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

/* Seções */
.section {
    padding: 5rem 0;
    scroll-margin-top: 50px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Card Cardápio */
.cardapio-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
    border: 3px solid transparent;
}

.cardapio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.cardapio-card.esgotado {
    opacity: 0.6;
    border-color: #dc3545;
}

/* Cardápio do Dia - Destaque */
.cardapio-card.destaque {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border: 3px solid #b19a50;
    position: relative;
}

.badge-cardapio-dia {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #f5e3a9 0%, #b19a50 100%);
    color: #fff;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(177, 154, 80, 0.4);
    font-size: 0.9rem;
}

.badge-cardapio-dia i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.componente-grupo {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 20px;
}

.componente-grupo h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dee2e6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cardapio-info-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cardapio-info-row .badge {
    font-size: 0.85rem;
    padding: 5px 12px;
}

.cardapio-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.cardapio-dia-semana {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.cardapio-data {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.cardapio-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.cardapio-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 12px 15px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s;
}

.cardapio-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cardapio-item-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #212529;
}

.cardapio-item-info p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.cardapio-footer {
    border-top: 2px solid #f0f0f0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.cardapio-preco {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cardapio-disponivel {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.btn-pedir {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    border: none;
    color: white;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-pedir:hover:not(:disabled) {
    background: #218838;
    transform: translateY(-2px);
}

.btn-pedir:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.btn-pedir.btn-sem-saldo {
    background: linear-gradient(135deg, #f5e3a9 0%, #b19a50 100%);
    cursor: pointer;
    opacity: 1;
    color: #fff;
}

.btn-pedir.btn-sem-saldo:hover {
    background: linear-gradient(135deg, #b19a50 0%, #8a7740 100%);
    transform: translateY(-1px);
}

.btn-pedir.btn-avulso {
    background: linear-gradient(135deg, #f5e3a9 0%, #b19a50 100%);
    cursor: pointer;
    font-size: .85rem;
    color: #fff;
}

.btn-pedir.btn-avulso:hover {
    background: linear-gradient(135deg, #b19a50 0%, #8a7740 100%);
    transform: translateY(-1px);
}

/* Card Pacote */
.pacote-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
    position: relative;
    border: 3px solid transparent;
}

.pacote-card.destaque {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.pacote-card.destaque::before {
    content: '⭐ MAIS VENDIDO';
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pacote-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pacote-nome {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.pacote-quantidade {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pacote-preco {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.pacote-economia {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pacote-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pacote-features li {
    padding: 0.35rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.78rem;
}

.pacote-features li:last-child {
    border-bottom: none;
}

.pacote-features li i {
    color: var(--success-color);
    margin-right: 0.4rem;
    font-size: 0.75rem;
}

/* Alerta */
.alert-custom {
    border-radius: 15px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

/* Modal */
.modal-content {
    border-radius: 20px;
}

.modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Sobre Nós */
.sobre-chef-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sobre-chef-img:hover {
    transform: scale(1.05);
}

.galeria-marmitas img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.galeria-marmitas img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.galeria-videos-titulo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.galeria-videos-titulo::before,
.galeria-videos-titulo::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, #b19a50);
}

.galeria-videos-titulo::after {
    background: linear-gradient(to left, transparent, #b19a50);
}

.galeria-videos video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: block;
    background: #000;
}

.sobre-card-stat {
    background: white;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.sobre-card-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sobre-card-stat .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Footer */
footer {
    background: #a3a362;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

footer a {
    color: white;
    text-decoration: none;
}

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

/* Responsivo */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .saldo-badge .numero {
        font-size: 1.8rem;
    }
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.7);
    color: #fff;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5); }
    50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.85); }
}
