/* Base Styles */
:root {
    --primary-color: #8B0000;
    --secondary-color: #ffffff;
    --text-color: #333333;
    --accent-color: #FFD700;
    --bg-color: #f9f9f9;
    --overlay-dark: rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    background-color: #A60000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: var(--secondary-color);
}

.logo img {
    height: 60px;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(1.2);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
    color: var(--secondary-color);
}

nav ul li a:hover {
    color: var(--accent-color);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

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

.btn-reserva {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    margin-left: 10px;
}

.btn-delivery:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-reserva:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section Styles */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    color: var(--secondary-color);
    padding: 1rem;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 1s ease;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
    color: var(--secondary-color);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
    margin-top: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    margin-right: 15px;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    outline: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #A60000;
    z-index: 999;
    padding-top: 80px;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0;
    visibility: hidden;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(to bottom, #A60000, #8B0000);
}

.mobile-nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 2rem;
    margin-top: 1rem;
}

.mobile-nav ul li {
    list-style: none;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 1rem 0;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0.8rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-nav ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.mobile-nav ul li a:hover::after {
    width: 30px;
}

.mobile-nav .mobile-cta {
    margin-top: 1.5rem;
    border-bottom: none !important;
}

.mobile-nav .mobile-cta a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.mobile-nav .mobile-cta:first-of-type a {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.mobile-nav .mobile-cta:first-of-type a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background-color: #f0f0f0;
}

.mobile-nav .mobile-cta:last-of-type a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 0.8rem;
    backdrop-filter: blur(5px);
}

.mobile-nav .mobile-cta:last-of-type a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-color);
}

.mobile-nav .mobile-cta a::after {
    display: none;
}

/* Seção Sobre */
.sobre {
    padding: 6rem 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.sobre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23A60000" opacity="0.03"/></svg>');
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

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

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    letter-spacing: -0.5px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

.divider span {
    height: 1px;
    width: 60px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.divider .mini-logo {
    width: 40px;
    height: auto;
    margin: 0 15px;
}

/* Novo layout da seção Sobre */
.sobre-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Carrossel na seção Sobre */
.sobreSwiper {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.sobreSwiper .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sobreSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 3s ease;
}

.sobreSwiper .swiper-slide:hover img {
    transform: scale(1.05);
}

.sobreSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.sobreSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Informações minimalistas */
.sobre-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 1rem;
}

.info-header {
    text-align: center;
    position: relative;
}

.label-ano {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.info-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.info-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.info-descricao {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.info-descricao p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    font-family: 'Poppins', sans-serif;
}

.horarios {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    padding-top: 1rem;
}

.horarios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.horario-linha {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.horario-dias {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.horario-tempo {
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 0.3px;
    font-weight: 400;
}

.info-cta {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.btn-conhecer {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn-conhecer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-conhecer:hover {
    color: white;
}

.btn-conhecer:hover::before {
    width: 100%;
}

/* Seção Cardápio */
.cardapio {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.categorias-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.categoria-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: white;
}

.categoria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.categoria-img {
    height: 200px;
    overflow: hidden;
}

.categoria-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.categoria-item:hover .categoria-img img {
    transform: scale(1.05);
}

.categoria-info {
    padding: 1.2rem;
    text-align: center;
}

.categoria-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding-bottom: 0.8rem;
}

.categoria-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 1200px) {
    .categorias-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .categorias-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        justify-content: space-between;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .desktop-nav, .cta-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        margin: 0;
        width: 80%;
        text-align: center;
        display: block;
    }

    .hero-content .btn {
        font-size: 0.85rem;
        padding: 0.8rem 1.5rem;
        box-sizing: border-box;
    }
    
    /* Estilos responsivos para a seção Sobre */
    .sobre {
        padding: 4rem 1rem;
    }
    
    .sobre-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sobreSwiper {
        height: 350px;
        order: 1;
    }
    
    .sobre-info {
        order: 2;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .info-header h3 {
        font-size: 2rem;
    }
    
    .label-ano {
        font-size: 1rem;
    }
    
    .info-descricao p {
        font-size: 1.1rem;
    }
    
    .horario-dias {
        font-size: 0.85rem;
    }
    
    .horario-tempo {
        font-size: 0.8rem;
    }
    
    .btn-conhecer {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cardapio {
        padding: 3rem 0;
    }
    
    .categorias-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .categoria-img {
        height: 180px;
    }
    
    .categoria-info h3 {
        font-size: 1rem;
    }
}
