@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-green: #A6CE39;
    --color-gray-bar: #DFD4D4;
    --color-text-dark: #111111;

    --font-main: 'Outfit', sans-serif;

    --transition-fast: 0.3s ease;
    --glow-shadow: 0 0 20px rgba(166, 206, 57, 0.4);
}

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

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

/* --- HEADER / NAVBAR --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-gray-bar);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: center;
    /* Centered as per list style look, or space-between if logo exists. User didn't specify logo in bar */
    align-items: center;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--color-black);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
}

/* Relevo e Brilho (Relief and Shine) */
.nav-link:hover,
.nav-link:focus {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 255, 255, 0.5);
    color: var(--color-green);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 70px;
    /* offset for fixed header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), var(--color-black));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(166, 206, 57, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 50px;
    color: #e0e0e0;
}

.hero-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    width: 300px;
    transition: transform 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
    text-align: center;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-green);
    box-shadow: 0 0 30px rgba(166, 206, 57, 0.2);
}

.glass-card h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--color-green);
}

.glass-card p {
    font-size: 0.9rem;
    color: #ccc;
}

/* --- SECTIONS GENERAL --- */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-green);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- VIDEO SECTION --- */
.video-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background-color: #111;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #333;
}

.video-placeholder {
    color: #555;
    font-size: 1.2rem;
}

/* --- RESTAURANTS GRID --- */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.resto-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.resto-card:hover {
    border-color: var(--color-green);
    transform: scale(1.02);
}

.resto-content {
    padding: 20px;
}

.resto-name {
    color: var(--color-green);
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.resto-desc {
    font-size: 0.95rem;
    color: #aaa;
}

/* --- CONTACT SECTION --- */
.contact-container {
    background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #333;
}

.contact-phone {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #1ebc57;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #222;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* --- FOOTER --- */
footer {
    background-color: #111;
    padding: 40px 20px;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- CAROUSEL --- */
.carousel-container {
    margin-top: 50px;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    align-items: center;
    /* Instead of padding-left 50%, we will center via JS or just center flex */
    justify-content: center;
    flex-wrap: wrap;
    /* Fallback for simple layout, JS will make it slider */
}

/* JS MODE overrides */
.js-carousel .carousel-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
}


.carousel-item {
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 4px solid var(--color-green);
    box-shadow: 0 0 20px rgba(166, 206, 57, 0.4);
}

.carousel-item img {
    display: block;
    height: 350px;
    /* Consistently tall */
    width: auto;
    /* Original Aspect Ratio */
    object-fit: cover;
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(166, 206, 57, 0.8), 0 0 10px #fff;
    border-color: #fff;
}


/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    /* Glass dark */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-green);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
}

.testimonial-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-stars {
    color: #FFD700;
    /* Gold */
    margin-bottom: 15px;
}

.testimonial-text {
    color: #ccc;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #444;
}


/* --- RESTAURANT LOGOS --- */
.resto-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}


/* --- HERO SLIDESHOW --- */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Same as old hero-bg */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 0.6;
    /* Matches the old opacity of single image */
}


/* --- ABOUT CAROUSEL --- */
.about-carousel-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    margin-top: 40px;
    background: transparent;
    /* Or a subtle background if needed */
}

.about-carousel-track {
    display: flex;
    animation: scroll-left 40s linear infinite;
    gap: 20px;
}

.about-carousel-item {
    flex: 0 0 auto;
    width: 200px;
    /* Adjust size as needed, proportional */
    height: 300px;
    /* Fixed height for uniformity */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    /* Shiny effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-carousel-item:hover {
    transform: scale(1.05);
    /* Slight zoom on hover */
    box-shadow: 0 0 25px rgba(166, 206, 57, 0.6);
    /* Greenish glow on hover */
    z-index: 10;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-220px * 9.5));
        /* Adjust based on item width + gap * half items */
    }
}


/* Language Modal */
.language-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    /* Hidden by default, shown by JS if needed */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.language-modal.active {
    display: flex;
}

.language-content {
    background-color: var(--color-black);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--color-green);
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 30px rgba(166, 206, 57, 0.3);
}

.language-content h2 {
    color: var(--color-white);
    margin-bottom: 30px;
    font-size: 1.5rem;
    line-height: 1.4;
}

.language-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.language-options button {
    background: none;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.language-options button:hover {
    background-color: rgba(166, 206, 57, 0.1);
    border-color: var(--color-green);
    transform: translateY(-5px);
}

.language-options img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.language-options span {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
    /* Above mobile menu bg */
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.mobile-menu-btn.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--color-green);
    /* Contrast on dark menu */
}

.mobile-menu-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--color-green);
}

/* Helper Class */
body.no-scroll {
    overflow: hidden;
}

/* --- MEDIA QUERIES (TABLET & MOBILE) --- */
@media (max-width: 900px) {
    .nav-container {
        justify-content: space-between;
        /* Space for logo/text if any, and burger */
        padding: 0 30px;
    }

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

    .nav-menu {
        position: fixed;
        top: 70px;
        /* Below header */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        /* Hidden to right */
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-container.active .nav-menu {
        transform: translateX(0);
    }

    .nav-link {
        color: #fff;
        /* White text on dark mobile menu */
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {

    /* Hero */
    .hero-title {
        font-size: 2.2rem;
        /* Smaller for mobile */
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Cards */
    .glass-card {
        width: 100%;
        max-width: 350px;
        /* Full width on small screens */
    }

    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
    }

    /* General Padding */
    .section {
        padding: 50px 20px;
    }

    /* Language Modal */
    .language-options {
        gap: 15px;
    }

    .language-options img {
        width: 60px;
        height: 60px;
    }

    .language-options span {
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-phone {
        font-size: 1.5rem;
    }

    .whatsapp-btn {
        width: 100%;
        /* Full width button */
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    /* Maps/Video */
    iframe {
        height: 250px;
    }
}