/* Variáveis de Cores e Tipografia */
:root {
    --primary-color: #2C3E50; /* Azul escuro elegante */
    --accent-color: #C0392B; /* Vermelho/Bordeaux para apetite e requinte */
    --accent-hover: #922B21;
    --light-bg: #F9F9F9;
    --text-color: #333333;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-text: 'Lato', sans-serif;
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--light-bg); }

/* Secções */
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

.section-subtitle {
    margin-top: -25px;
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}
.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

/* Header & Nav */
header {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    height: 160px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 130px;
    width: auto;
    display: block;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex !important;
    flex-direction: row !important;
    gap: 25px;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #2C3E50;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #C0392B;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('banner1.jpeg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 90px;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}
.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Sobre Nós */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-text {
    flex: 1;
}
.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.about-image {
    flex: 1;
}
.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s;
}
.about-image img:hover {
    transform: scale(1.03);
}

/* Serviços com Imagem de Fundo */
.services-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.service-card-bg {
    flex: 1;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 40px 35px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-bg:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.service-card-empresarial {
    background-image: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.88)), url('https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=800&q=80');
}

.service-card-domestico {
    background-image: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.88)), url('img2 eventosaniversario.jpg');
}

.service-card-bg h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.service-card-bg p {
    color: #e2e8f0;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.service-card-bg ul {
    list-style-type: none;
    padding: 0;
}

.service-card-bg ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #ffffff;
}

.service-card-bg ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Galeria & Carrossel Interativo */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #000;
}

.carousel-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.92;
}

.carousel-slide:hover img {
    transform: scale(1.06);
    opacity: 1;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
    color: var(--white);
    padding: 20px 15px 12px 15px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    text-align: center;
    font-weight: 600;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: background-color 0.3s, transform 0.3s;
}

.carousel-arrow:hover {
    background-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* Portefólio / Clientes */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.client-logo {
    background: var(--light-bg);
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    transition: 0.3s;
}
.client-logo:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Contactos */
.contact-container {
    display: flex;
    gap: 50px;
}
.contact-info, .contact-form-container {
    flex: 1;
}
.info-list {
    list-style: none;
    margin-top: 30px;
}
.info-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.input-group {
    margin-bottom: 20px;
}
.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
}

/* Animações (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade Mobile e Tablet */
@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
        flex-direction: column !important;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--white);
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex !important;
    }
    .menu-toggle {
        display: block;
    }
    .hero h1 { font-size: 2.5rem; }
    .about-container, .contact-container, .services-grid {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .carousel-wrapper {
        padding: 0 40px;
    }
    .carousel-slide {
        flex: 0 0 100%;
    }
    .carousel-slide img {
        height: 240px;
    }
}
/* Custom Hero para Lunch Meals */
.hero-lunch {
    background: url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
}

.active-link {
    color: var(--accent-color) !important;
}

/* Grid do Menu das 2 Semanas */
.menu-weeks-grid {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.week-card {
    flex: 1;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

.week-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.week-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

.day-list {
    list-style: none;
    padding: 20px 25px;
    margin: 0;
}

.day-list li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.day-list li:last-child {
    border-bottom: none;
}

.day-name {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.day-dish {
    font-size: 1.05rem;
    color: var(--text-color);
}

/* Caixa de CTA do Instagram */
.instagram-cta-box {
    background: var(--white);
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-top: 5px solid var(--accent-color);
}

.instagram-cta-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.instagram-cta-box p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.instagram-handle {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.btn-instagram {
    background-color: #E1306C;
    font-size: 1.1rem;
    padding: 14px 35px;
}

.btn-instagram:hover {
    background-color: #C13584;
}

/* Responsividade do Menu de 2 Semanas */
@media (max-width: 768px) {
    .menu-weeks-grid {
        flex-direction: column;
    }
}

/* Botão Flutuante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1EBE5D;
}

.whatsapp-icon {
    width: 34px;
    height: 34px;
    fill: #FFFFFF;
}

/* Formulário de Encomendas Lunch Meals */
.order-form-container {
    background: var(--white);
    max-width: 750px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--accent-color);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .input-group {
    flex: 1;
}

.days-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.checkbox-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    transition: background 0.2s, color 0.2s;
    user-select: none;
}

.checkbox-btn input[type="checkbox"] {
    display: none;
}

.checkbox-btn span {
    font-size: 0.95rem;
}

.checkbox-btn:has(input:checked) {
    background-color: var(--accent-color);
    color: var(--white);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-whatsapp-submit {
    background-color: #25D366;
    color: #FFFFFF;
    flex: 1;
    text-align: center;
    font-size: 1.05rem;
}

.btn-whatsapp-submit:hover {
    background-color: #1EBE5D;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .order-form-container {
        padding: 25px 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-whatsapp-submit, .btn-instagram {
        width: 100%;
    }
}