/*
Theme Name: Le Palmier Restaurant
Theme URI: http://lepalmier.com.br
Author: Antigravity
Description: A modern, elegant theme for Le Palmier Restaurant.
Version: 1.0.0
Text Domain: le-palmier
*/

/* ==================== RESET ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif; /* Changed to Montserrat for a more modern feel */
    font-size: 16px;
    line-height: 1.6;
    color: #2D2D2D;
    background-color: #FDFCF8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(34, 71, 58, 0.95); /* Deep Forest Green #22473A */
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.navbar-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-links a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.navbar-links a:hover {
    color: #D4AF37; /* Modern Gold */
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; /* Important for blurred bg */
    color: #FFFFFF;
}

.hero-blur-bg {
    position: absolute;
    top: -50px; /* Headroom for movement */
    left: -50px;
    right: -50px;
    bottom: -50px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    filter: blur(10px) brightness(0.5); /* Slightly darker and more blurred for more modern look */
    z-index: 0;
    will-change: transform;
    animation: elegantMotion 30s infinite alternate linear;
}

@keyframes elegantMotion {
    0% { transform: scale(1.1) translate(0, 0); }
    50% { transform: scale(1.2) translate(-20px, 10px); }
    100% { transform: scale(1.15) translate(10px, -10px); }
}

.hero-container {
    position: relative;
    z-index: 1; /* Above blurred bg */
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 60px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.hero-left {
    flex: 1.2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.2;
    margin-bottom: 24px;
}

.info-box {
    background-color: rgba(212, 175, 55, 0.2);
    border-left: 4px solid #D4AF37;
    padding: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.info-box p {
    font-size: 18px;
}

/* Form Styling */
.hero-right {
    flex: 0.8;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.form-header strong {
    font-size: 22px;
    display: block;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background-color: #D4AF37;
    color: #22473A;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.form-submit:hover {
    background-color: #B8860B;
    transform: translateY(-2px);
}

/* ==================== SECTIONS COMMON ==================== */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #22473A;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #D4AF37;
    margin: 15px auto 0;
}

/* ==================== VIDEO SECTION ==================== */
.video-section {
    background-color: #22473A;
    color: white;
}

.video-section h2 {
    color: white;
}

/* ==================== CARDÁPIO ==================== */
.cardapio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cardapio-item img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cardapio-item img:hover {
    transform: scale(1.03);
}

/* ==================== TESTIMONIALS ==================== */
.depoimentos-section {
    background-color: #F7F5F0;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.testimonials-container {
    display: flex;
    gap: 40px;
    width: max-content;
    padding: 20px;
    animation: scrollModern 50s linear infinite;
    will-change: transform;
}

.depoimento-card-modern {
    flex-shrink: 0;
    width: 400px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatingEffect 6s ease-in-out infinite;
}

.depoimento-card-modern:nth-child(even) {
    animation-delay: -3s;
}

.depoimento-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(34, 71, 58, 0.1);
    animation-play-state: paused;
}

.depoimento-text {
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
    font-style: italic;
    flex-grow: 1;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-dash {
    width: 20px;
    height: 2px;
    background-color: #D4AF37;
}

.depoimento-author strong {
    color: #22473A;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scrollModern {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Halfway because we duplicate content */
}

@keyframes floatingEffect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.testimonials-container:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .depoimento-card-modern {
        width: 300px;
        padding: 25px;
    }
}

/* ==================== CLIENTS SECTION ==================== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.client-item {
    width: 100%;
    max-width: 180px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.6;
}

.client-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: #22473A;
    color: #E0E0E0;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer h4 {
    color: #D4AF37;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* Pulse Animation for WhatsApp */
@keyframes pulse-whatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}

/* Logo Visibility Enhancement */
.navbar-logo img, .hero-logo img, .footer-brand img {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    transition: filter 0.3s ease;
}

.navbar-logo img:hover, .hero-logo img:hover {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

/* Modern Social Icons Styling */
.footer-social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-social-links a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #22473A;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    .navbar-links.active {
        display: flex;
    }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-left { order: 1; }
    .hero-right { order: 2; width: 100%; }
}