/* ===== VARIÁVEIS ===== */
:root {
    --portuguese-red: #D52B1E;
    --portuguese-green: #006600;
    --warm-beige: #F5F1E6;
    --terra-cotta: #E2725B;
    --olive: #808000;
    --gold: #D4AF37;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--warm-beige);
    color: var(--gray-800);
    line-height: 1.5;
    min-height: 100vh;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== HEADER ===== */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .logo-container {
        margin-bottom: 0;
    }
}

.logo-circle {
    width: 3rem;
    height: 3rem;
    background-color: var(--portuguese-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.logo-title h1 {
    color: var(--portuguese-red);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.logo-title p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Navigation Links */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-links {
        gap: 2rem;
    }
}

.nav-link {
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--portuguese-red);
}

/* Buttons */
.btn-primary {
    background-color: var(--portuguese-red);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #b22217;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background-image: linear-gradient(rgba(213, 43, 30, 0.9), rgba(213, 43, 30, 0.9)), url('https://picsum.photos/1200/800?random=10');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 8rem 0;
    }
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem;
    border: 3px solid var(--portuguese-red);
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.hero-badge p {
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .hero-badge p {
        font-size: 1.25rem;
    }
}

.hero-badge i {
    margin-right: 0.5rem;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}

.section.bg-white {
    background-color: var(--white);
}

.section.bg-warm {
    background-color: var(--warm-beige);
}

.section.bg-light {
    background-color: var(--gray-100);
}

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

.section-title {
    color: var(--portuguese-red);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    color: var(--gray-600);
    max-width: 36rem;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-text {
    color: var(--gray-700);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    padding: 0.75rem;
    border-radius: 9999px;
    margin-right: 1rem;
}

.feature-icon i {
    font-size: 1.25rem;
}

.feature-icon.green-bg {
    background-color: rgba(0, 102, 0, 0.1);
}

.feature-icon.green-bg i {
    color: var(--portuguese-green);
}

.feature-icon.gold-bg {
    background-color: rgba(212, 175, 55, 0.1);
}

.feature-icon.gold-bg i {
    color: var(--gold);
}

.feature-icon.terra-bg {
    background-color: rgba(226, 114, 91, 0.1);
}

.feature-icon.terra-bg i {
    color: var(--terra-cotta);
}

.feature-item h3 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: var(--gray-600);
}

/* Gallery */
.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gallery-img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.gallery-img.img-top {
    margin-top: 0;
}

.gallery-img.img-bottom {
    margin-top: 2rem;
}

/* ===== MENU SECTION ===== */
.menu-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dish-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.dish-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.dish-card-content {
    padding: 1.5rem;
}

.dish-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.dish-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
}

.dish-price {
    background-color: var(--portuguese-red);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
}

.dish-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.dish-prep-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.menu-footer {
    margin-top: 3rem;
    text-align: center;
}

.menu-info {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    box-shadow: var(--shadow-md);
}

.menu-info i {
    color: var(--portuguese-red);
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.menu-info-title {
    font-weight: 700;
    color: var(--gray-800);
}

.menu-info-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ===== HOURS SECTION ===== */
.hours-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hours-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hours-card {
    background-color: var(--portuguese-red);
    color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.hours-card-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.hours-item-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hours-item-left i {
    font-size: 1.5rem;
}

.hours-item-left h3 {
    font-weight: 700;
    font-size: 1.125rem;
}

.hours-item-left p {
    opacity: 0.9;
}

.hours-item-right p {
    font-weight: 700;
    font-size: 1.5rem;
}

.info-box {
    margin-top: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.info-box h4 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.info-box li i {
    margin-top: 0.25rem;
}

/* Why Choose Section */
.why-choose h2 {
    margin-bottom: 2rem;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reason-item {
    display: flex;
    align-items: flex-start;
}

.reason-icon {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-right: 1.5rem;
}

.reason-icon i {
    font-size: 1.5rem;
}

.reason-icon.olive-bg {
    background-color: rgba(128, 128, 0, 0.1);
}

.reason-icon.olive-bg i {
    color: var(--olive);
}

.reason-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.reason-item p {
    color: var(--gray-600);
}

.cta-box {
    margin-top: 3rem;
    background-color: var(--warm-beige);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
}

.cta-box h3 {
    color: var(--portuguese-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.cta-box .btn-primary {
    width: 100%;
}

@media (min-width: 768px) {
    .cta-box .btn-primary {
        width: auto;
    }
}

/* ===== LOCATION SECTION ===== */
.location-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.location-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.location-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.location-card-title i {
    color: var(--portuguese-red);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-item i {
    color: var(--gray-400);
    margin-top: 0.25rem;
}

.location-item h4 {
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.location-item p {
    color: var(--gray-600);
}

.tip-card {
    background-color: var(--portuguese-green);
    color: var(--white);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.tip-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tip-card p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.capacity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Map */
.map-placeholder {
    background: linear-gradient(to bottom right, var(--gray-300), var(--gray-400));
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 24rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.map-placeholder:hover {
    transform: scale(1.02);
}

.map-content {
    text-align: center;
    padding: 2rem;
}

.map-content i {
    font-size: 4rem;
    color: var(--portuguese-red);
    margin-bottom: 1rem;
}

.map-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.map-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.map-button {
    background-color: var(--white);
    color: var(--portuguese-red);
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.map-button:hover {
    background-color: var(--gray-100);
}

.map-button i {
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-circle {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--portuguese-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-circle span {
    color: var(--white);
    font-size: 1.25rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.footer-logo h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.2s;
}

.social-link:hover {
    background-color: var(--portuguese-red);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-hours {
    margin-bottom: 2rem;
}

.footer-hours-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-800);
}

.footer-hours-item span:first-child {
    color: var(--gray-400);
}

.footer-hours-item span:last-child {
    font-weight: 500;
}

.footer-info-box {
    background-color: var(--gray-800);
    padding: 1rem;
    border-radius: 0.5rem;
}

.footer-info-box p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-info-box i {
    margin-right: 0.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-item i {
    color: var(--gray-400);
}

.footer-contact-item span {
    color: var(--gray-300);
}

.footer-copyright {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
}

.footer-copyright p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-copyright p:last-child {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--portuguese-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: background-color 0.2s;
    z-index: 40;
}

.back-to-top:hover {
    background-color: #b22217;
}

.back-to-top.hidden {
    display: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ===== UTILITY CLASSES ===== */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}