/* Font and Color Variables */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #4a90e2;
    --accent-color: #357abd;
    --text-color: #333;
    --text-light: #6B717E;
    --white: #FFFFFF;
    --bg-light: #F5F5F7;
    --transition: all 0.3s ease;
}

/* Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5; /* Gray background */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    height: 100px; /* Fixed height for consistency */
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 80px;
}

.reserve-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.reserve-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Benavente Logo */
.benavente-logo {
    max-width: 150px;
    margin: 0 auto 20px;
}

.benavente-logo-img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* Make logo white */
}

/* Hero Section with Slideshow */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    color: var(--white);
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Darker overlay */
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 7s ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* Welcome Section */
.welcome-section {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.welcome-text {
    max-width: 700px;
    margin: 0 auto;
}

.welcome-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.welcome-text p {
    color: #666;
    font-size: 16px;
}

/* Restaurants Section */
.restaurants-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    position: relative;
    color: #000000;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    border: none;
    background: #eee;
    color: #555;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #4a90e2;
    color: white;
}

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Restaurant Cards */
.restaurant-card {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.restaurant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.restaurant-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.restaurant-card:hover .restaurant-image img {
    transform: scale(1.05);
}

/* Restaurant slideshow styles */
.restaurant-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.restaurant-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.restaurant-slideshow .slide.active {
    opacity: 1;
}

.restaurant-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 230px;
}

.restaurant-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #333;
}

.restaurant-info .description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.restaurant-details {
    font-size: 0.85rem;
    color: #777;
}

.restaurant-details p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.restaurant-details i {
    margin-right: 8px;
    color: #4a90e2;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('../homepage/images/cubo-radiante-2.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background-color: #4a90e2;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-logo {
    height: 100px;
    margin-bottom: 20px;
}

.footer-info {
    text-align: center;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    height: 100px;
    margin-bottom: 15px;
    transform: translateY(-15px);
}

.footer-info p {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-info .reserve-btn {
    background-color: white;
    color: #4a90e2;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0;
    transform: translateY(-10px);
}

.footer-info .social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.footer-info .social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-info .social-links a:hover {
    color: rgba(255,255,255,0.7);
}

.footer-links {
    grid-column: 3;
    grid-row: 1;
}

.footer-contact {
    grid-column: 1;
    grid-row: 1;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #4a90e2;
    color: #fff;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: #4a90e2;
    transform: translateY(-3px);
}

/* Modal Styles */
.restaurant-modal, .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.restaurant-modal.active, .modal.active {
    display: block;
}

.modal-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
}

.modal-header h2 {
    font-size: 26px;
    margin: 0;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #4a90e2;
}

.modal-body {
    display: flex;
    padding: 0;
}

.modal-slideshow {
    width: 50%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: block !important;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    width: 50%;
    padding: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.info-section {
    margin-bottom: 25px;
}

.info-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #4a90e2;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.info-section p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.info-section a {
    color: #4a90e2;
    text-decoration: none;
}

.info-section a:hover {
    text-decoration: underline;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    text-align: right;
    background-color: #f9f9f9;
}

.btn-reservation {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-reservation:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
}

/* Reservation Form */
.reserva-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.reserva-form-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.reserva-form {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.reserva-form h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.reserva-form .form-group {
    margin-bottom: 15px;
}

.reserva-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.reserva-form .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.reserva-form .submit-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
}

.reserva-form .submit-btn:hover {
    background-color: #357abd;
}

.reserva-form .close-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 0;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
}

.reserva-form .close-btn:hover {
    background-color: #e5e5e5;
}

/* Responsividade */
@media (max-width: 1200px) {
    .restaurant-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .restaurant-card {
        height: auto;
    }
    
    .restaurant-image {
        height: 180px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info, .footer-links, .footer-contact {
        grid-column: 1;
    }
    
    .footer-contact {
        grid-row: 1;
    }
    
    .footer-info {
        grid-row: 2;
    }
    
    .footer-links {
        grid-row: 3;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .restaurant-grid {
        grid-template-columns: 1fr;
    }
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* Add slideshow navigation styles */
.modal-slideshow {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 5;
    padding: 0 15px;
}

.prev-slide, .next-slide {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prev-slide:hover, .next-slide:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slideshow-dot.active {
    background-color: #333;
}

/* Hero slideshow styles */
.hero-slideshow {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 7s ease-in-out;
}

/* Restaurant card slideshow styles */
.restaurant-card .slides-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.restaurant-modal .modal-slideshow {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.restaurant-modal .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Make sure images in slides are properly sized */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Optional hover effect */
.slide:hover img {
    transform: scale(1.05);
}

/* Animation for slide transitions */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Restaurant card styles */
.restaurant-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.restaurant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.restaurant-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.restaurant-card .modal-slideshow {
    height: 100%;
    width: 100%;
}

.restaurant-card .slide {
    height: 100%;
    width: 100%;
}

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

.restaurant-card:hover .slide.active img {
    transform: scale(1.05);
}

.restaurant-card .slideshow-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}

.restaurant-card .slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.restaurant-card .slideshow-dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.restaurant-card .slideshow-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.restaurant-card:hover .slideshow-nav {
    opacity: 1;
}

.restaurant-card .prev-slide,
.restaurant-card .next-slide {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.restaurant-card .prev-slide:hover,
.restaurant-card .next-slide:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Enhanced transitions for restaurant cards */
.restaurant-card .slide {
    transform: scale(1.05);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.restaurant-card .slide.active {
    transform: scale(1);
}

/* Enhanced transitions for modal slideshows */
.modal-slideshow .slide {
    transform: translateX(10px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.modal-slideshow .slide.active {
    transform: translateX(0);
}

/* Add better animation for slide transitions */
@keyframes crossfade {
    0% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* Apply animation to slideshow images */
.restaurant-card .modal-slideshow img,
.restaurant-modal .modal-slideshow img {
    transition: transform 5s ease-in-out;
}

.restaurant-card .slide.active img,
.restaurant-modal .slide.active img {
    transform-origin: center center;
    animation: slowZoom 10s infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Slideshow transition effects */
.transitioning .slide {
    transition: opacity 1.2s cubic-bezier(0.645, 0.045, 0.355, 1), transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-slide.transition-out {
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Additional effects for the slides */
.modal-slideshow .slide {
    filter: brightness(0.9);
    transform: translateX(30px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), 
                transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1),
                filter 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.modal-slideshow .slide.active {
    filter: brightness(1);
    transform: translateX(0) scale(1);
}

/* Restaurant card slide effect */
.restaurant-card .slide {
    filter: brightness(0.9) blur(1px);
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), 
                transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1),
                filter 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.restaurant-card .slide.active {
    filter: brightness(1) blur(0px);
    transform: translateY(0) scale(1);
}

/* Ken Burns effect for hero slides */
.hero-slide {
    transform-origin: center center;
    background-size: 105% auto;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-in-out, background-size 8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    background-size: 100% auto;
}

.hero-slide:nth-child(even).active {
    background-position: center 45%;
}

.hero-slide:nth-child(odd).active {
    background-position: center 55%;
}

/* Hover effects for restaurant cards */
.restaurant-card .modal-slideshow .slide {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.restaurant-card .modal-slideshow .slide.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

/* Trigger slide change only on hover */
.restaurant-card:hover .transitioning .slide {
    transition: opacity 0.6s cubic-bezier(0.645, 0.045, 0.355, 1), 
                transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1),
                filter 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Hover indicator for restaurant cards */
.restaurant-card .hover-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.restaurant-card:hover .hover-indicator {
    opacity: 1;
}

/* Navigation buttons appear only on hover */
.restaurant-card .slideshow-nav {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.restaurant-card:hover .slideshow-nav {
    opacity: 1;
}

/* Modal slideshow styles */
.restaurant-modal .modal-slideshow .slide {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.restaurant-modal .modal-slideshow .slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

/* Ken Burns effect only for active slides */
.slide.active img {
    animation: none; /* Remove automatic animation */
    transition: transform 0.5s ease-in-out;
}

.restaurant-card:hover .slide.active img,
.restaurant-modal:hover .slide.active img {
    animation: slowZoom 8s infinite alternate; /* Apply animation only on hover */
}

/* Dot indicators become more visible on hover */
.slideshow-dots {
    transition: opacity 0.3s ease;
    opacity: 0.6;
}

.restaurant-card:hover .slideshow-dots,
.restaurant-modal:hover .slideshow-dots {
    opacity: 1;
}

/* Slow down image transitions */
.restaurant-card .modal-slideshow .slide,
.restaurant-modal .modal-slideshow .slide {
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Hide reservation button in modal footer */
.modal-footer .btn-reservation {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}
.nav-list a:hover {
    color: #4a90e2;
}

.nav-list a:hover::after {
    width: 100%;
}
.nav-list {
        display: none;
    }
.nav {
   display: flex;
    align-items: center;
    }
.nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 1010;
}
.nav-arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
.nav-arrow i {
    font-size: 24px;
}

@media (max-width: 768px) {
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    .prev-arrow {
        left: -45px;
    }
    
    .next-arrow {
        right: -45px;
    }
    
    .nav-arrow i {
        font-size: 20px;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100px; /* Fixed height for consistency */
}

.header.hidden {
    transform: translateY(-100%);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .nav {
        margin-top: 20px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        padding: 40px 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-info {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .testimonial-text {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info, .footer-links, .footer-contact {
        grid-column: 1;
    }
    
    .footer-contact {
        grid-row: 1;
    }
    
    .footer-info {
        grid-row: 2;
    }
    
    .footer-links {
        grid-row: 3;
    }
}


/* === NAVBAR ESTILO HOMEPAGE === */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100px;
}

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

.logo-image {
    height: 80px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: #4a90e2;
}

.nav-list a:hover::after {
    width: 100%;
}

.reserve-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.reserve-btn:hover {
    background: #357abd;
}

body {
    padding-top: 100px; /* Compensação da navbar fixa */
}
