/* Variáveis CSS */
:root {
    /* Paleta de cores principal */
    --primary-blue: #1a4b84;
    --secondary-blue: #2c6cb0;
    --light-blue: #a8c6e5;
    --dark-blue: #0d2b4d;
    --wood-brown: #a67c52;
    --light-wood: #d4b795;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --dark-gray: #343a40;
    
    /* Fontes */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Tamanhos */
    --container-width: 1200px;
    --header-height: 80px;
    --footer-height: 300px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--wood-brown);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-link {
    color: var(--primary-blue);
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.btn-link:hover::after {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-blue);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary-blue);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background-color: #25d366;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Adicionado para evitar quebra de linha */
    flex-shrink: 0; /* Impede que o botão encolha */
    flex-grow: 0; /* Impede que o botão cresça */
}

.whatsapp-btn a {
    color: var(--white);
}

.whatsapp-btn a:hover {
    background-color: #128c7e;
    color: var(--white);
}

.whatsapp-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-gray);
    transition: all 0.3s ease;
}

/* Hero Banner */
.hero-banner {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: var(--header-height);
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Highlights Section */
.highlights {
    padding: 5rem 0;
    background-color: var(--off-white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.highlight-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.highlight-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

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

.highlight-card p {
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 calc(33.333% - 1.33rem);
    background-color: var(--off-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
}

.stars {
    color: #ffc107;
}

/* Blog Preview Section */
.blog-preview {
    padding: 5rem 0;
    background-color: var(--off-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.blog-content p {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--wood-brown);
}

.footer-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-info i {
    margin-right: 10px;
    color: var(--light-blue);
}

.footer-nav ul li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: var(--light-gray);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-nav a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

/* Responsividade */
@media (max-width: 1024px) {
    .highlights-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        transition: left 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
    }
    
    .main-nav li {
        margin: 0 0 1.5rem 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .highlights-grid,
    .blog-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .whatsapp-btn {
        padding: 6px 10px; /* Ajusta o padding para o novo tamanho da fonte */
        font-size: 0.8rem; /* Reduz o tamanho da fonte para telas muito pequenas */
    }

    .whatsapp-btn span {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Estilos para o menu */
.menu-section {
    padding: 5rem 0;
    background-color: var(--off-white);
}

.menu-categories {
    text-align: center;
    margin-bottom: 3rem;
}

.menu-categories .btn {
    margin: 0 0.5rem;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

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

.menu-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-item-image {
    flex: 0 0 30%; /* Alterado de 40% para 30% */
    height: 200px; /* Adicionado para padronizar a altura */
    overflow: hidden;
}

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

.menu-item-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Alterado de flex-start para center */
    flex-wrap: wrap; /* Adicionado para quebrar linha se necessário */
    margin-bottom: 1rem;
}

.menu-item-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    margin-right: 1rem; /* Adicionado para espaçamento */
}

.menu-item-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.menu-item-description {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.menu-item-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: auto; /* Empurra as tags para o final */
    margin-bottom: 1rem;
}

.menu-item-tag {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.menu-item-actions {
    text-align: right;
}

.menu-item-actions .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item {
        flex-direction: row;
    }

    .menu-item-image {
        flex: 0 0 40%;
        height: auto;
    }

    .menu-item-content {
        flex: 1;
    }

    .menu-item-title {
        font-size: 1.2rem;
    }

    .menu-item-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .menu-item {
        flex-direction: column;
    }

    .menu-item-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

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

    .menu-item-title {
        font-size: 1.1rem;
    }

    .menu-item-price {
        font-size: 1.2rem;
    }
}
@media (max-width: 480px) {
    .whatsapp-btn .whatsapp-ddd {
        display: none;
    }
}
@media (max-width: 480px) {
    .whatsapp-btn {
        font-size: 0.75rem;
        padding: 6px 8px;
    }

    .whatsapp-btn a {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .whatsapp-btn .whatsapp-ddd {
        display: none;
    }
}


