/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below images */
}

/* Color Palette - Nature-inspired */
:root {
    /* Primary Colors - Forest Greens */
    --primary-dark: #1b4332;      /* Dark forest green */
    --primary: #2d6a4f;           /* Main green */
    --primary-light: #40916c;     /* Light green */
    --primary-lighter: #74c69d;   /* Very light green */
    
    /* Secondary Colors - Earth Tones */
    --secondary: #8b4513;         /* Saddle brown */
    --secondary-light: #a0522d;   /* Sienna */
    --accent: #d4af37;            /* Golden accent */
    
    /* Neutral Colors */
    --neutral-dark: #2c3e50;      /* Dark slate */
    --neutral: #34495e;           /* Medium slate */
    --neutral-light: #ecf0f1;     /* Light gray */
    --neutral-lighter: #f8f9fa;   /* Very light gray */
    
    /* Background Colors */
    --bg-primary: #f8f9fa;        /* Main background */
    --bg-secondary: #ffffff;      /* Card background */
    --bg-accent: #e8f5e8;         /* Light green background */
    
    /* Text Colors */
    --text-primary: #2c3e50;      /* Main text */
    --text-secondary: #7f8c8d;    /* Secondary text */
    --text-light: #ffffff;        /* Light text */
    
    /* Status & Brand Colors */
    --success: #27ae60;           /* Success green */
    --warning: #f39c12;           /* Warning orange */
    --error: #e74c3c;             /* Error red */
    --whatsapp-primary: #25d366;
    --whatsapp-secondary: #128c7e;

    /* Shadows */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/*--------------------------------------------------------------
# Decorative Elements
--------------------------------------------------------------*/
.section-compass,
.testimonial-compass {
    position: absolute;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: compassFloat 5s ease-in-out infinite;
}

.section-compass {
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    box-shadow: 0 0 10px rgba(45, 106, 79, 0.4);
}

.testimonial-compass {
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    box-shadow: 0 0 8px rgba(45, 106, 79, 0.4);
    animation-duration: 6s; /* Slightly different timing */
}

.section-compass i,
.testimonial-compass i {
    color: var(--accent);
    animation: compassSpin 10s linear infinite;
}

.section-compass i {
    font-size: 1.2em;
}

.testimonial-compass i {
    font-size: 1em;
    animation-duration: 12s; /* Slightly different timing */
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes compassFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Seção de Preços */
#precos {
    background-color: var(--bg-accent);
}

.pricing-accordion {
    margin: 30px 0;
    animation: fadeInUp 1s ease-out;
}

.price-item {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.price-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.price-item:hover::before {
    transform: scaleX(1);
}

.price-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.price-header:hover {
    background: rgba(0, 0, 0, 0.2);
}

.price-header i:first-child {
    font-size: 1.5rem;
    margin-right: 15px;
}

.price-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    flex-grow: 1;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.price-item.active .toggle-icon {
    transform: rotate(180deg);
}

.price-details {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    color: var(--text-light);
}

.price-item.active .price-details {
    padding: 20px;
    max-height: 500px; /* Ajuste conforme necessário */
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-row:last-child {
    border-bottom: none;
}

.price-label {
    font-size: 0.95rem;
}

.price-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-light);
}

.price-note {
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    margin-top: 15px;
    opacity: 0.8;
    color: var(--text-light);
}

.price-details .price-note {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .price-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-value {
        margin-top: 5px;
    }
}

.info-box {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark)); /* Changed to green gradient */
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    color: var(--text-light); /* Changed to light text color for better contrast */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.info-box h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.info-box h3 i {
    margin-right: 10px;
    color: var(--accent-light);
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 10px;
    position: relative;
}

.info-box li::before {
    content: '•';
    color: var(--accent-light);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #833AB4, #E1306C, #FCAF45);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .pricing-container {
        grid-template-columns: 1fr;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-value {
        margin-top: 5px;
    }
}

@keyframes compassSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
header {
    padding-top: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.header-background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.header-background-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.header-background-slideshow img.active {
    opacity: 1;
}

img.logo {
    width: 150px;
    height: auto;
    z-index: 5;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Darker overlay for better text contrast */
    z-index: 3; /* Increased z-index to be above images */
}

header h1 {
    font-size: 3em;
    font-weight: 700;
    position: relative;
    z-index: 4; /* Increased z-index to be above overlay */
    animation: fadeInDown 1s ease-out;
    margin-bottom: 0.5em;
    color: var(--text-light);
}

.header-subtitle {
    font-size: 1.5em;
    font-weight: 300;
    position: relative;
    z-index: 4; /* Increased z-index */
    animation: fadeInUp 1s ease-out 0.5s both;
    margin-bottom: 0.5em;
}

.header-tagline {
    font-size: 1.2em;
    font-weight: 400;
    font-style: italic;
    position: relative;
    z-index: 4; /* Increased z-index */
    color: var(--text-light);
    max-width: 80%;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 1s both;
    opacity: 0.95;
}

.header-text-content {
    position: relative;
    z-index: 4;
    text-align: center;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
nav {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 1em;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow-medium);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0.3em 0.5em;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9em;
    padding: 0.5em 0.8em;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover, nav a:focus {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    outline: none;
}

nav a:hover::after, nav a:focus::after {
    width: 80%;
}

nav a i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

nav a:hover i, nav a:focus i {
    transform: rotate(15deg);
}

/*--------------------------------------------------------------
# Announcement Banner
--------------------------------------------------------------*/
.announcement-banner {
    text-align: left; /* Alinhado à esquerda */
    border: 2px solid var(--primary-light);
    border-radius: 15px;
    background-color: var(--bg-accent);
}

.announcement-banner .announcement-content {
    padding: 1em;
}

.announcement-banner h2 {
    color: var(--primary-dark);
    font-size: 1.8em;
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinhado à esquerda */
    gap: 0.5em;
}

.announcement-banner p {
    max-width: 800px;
    margin: 0 auto 1.5em auto;
    line-height: 1.7;
    color: var(--text-primary);
}

.announcement-banner .cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
.section {
    max-width: 1200px;
    margin: 2em auto;
    padding: 2em;
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 20px var(--shadow-light);
    border-radius: 15px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: calc(0.2s * var(--section-index));
    border: 1px solid rgba(116, 198, 157, 0.1);
    position: relative;
}

.section h2 {
    color: var(--primary-dark);
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 0.5em;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.section h2 i {
    font-size: 0.8em;
    color: var(--primary);
}

.section h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    bottom: -10px;
    left: 0;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.section:hover h2::after {
    width: 100px;
}

.section p {
    line-height: 1.6;
    color: var(--text-primary);
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.service-card {
    text-align: center;
    padding: 2em;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--neutral-lighter) 100%);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: var(--primary-lighter);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3em;
    color: var(--primary);
    margin-bottom: 1em;
    transition: color 0.3s ease;
}

.service-card:hover i {
    color: var(--accent);
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1em;
    font-size: 1.3em;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
}

/* Reservation Info */
.reservation-info {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin: 2em auto; /* Use auto for horizontal centering */
    flex-wrap: wrap;
    max-width: 100%; /* Ensure it doesn't overflow */
}

.reservation-card {
    text-align: center;
    padding: 1.5em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    border-radius: 15px;
    width: 370px;
    max-width: 90%; /* Ensure cards don't overflow on smaller screens */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-medium);
    border: 2px solid transparent;
    position: relative;
}

.reservation-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px var(--shadow-dark);
    border-color: var(--accent);
}

.reservation-card i {
    font-size: 2em;
    margin-bottom: 0.5em;
    color: var(--accent);
}

.reservation-card h3 {
    margin-bottom: 0.5em;
    color: var(--text-light);
    font-weight: 600;
}

.reservation-card p {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--accent);
}

/* Call-to-action button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 1em 2em;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--shadow-medium);
    position: relative;
    overflow: hidden;
    max-width: 90%; /* Ensure button doesn't overflow */
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover, .cta-button:focus {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-dark);
    border-color: var(--accent);
    outline: none;
}

.cta-button:hover::before, .cta-button:focus::before {
    left: 100%;
}

/* Gallery */
.gallery {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2em 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-out, opacity 0.7s ease-out, margin-top 0.7s ease-out;
}

.gallery.visible {
    max-height: 3000px; /* Increased to accommodate all images */
    opacity: 1;
    margin-top: 2em;
}


.gallery img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.5s ease;
    opacity: 0;
    animation: zoomIn 0.8s ease-out forwards;
    animation-delay: calc(0.3s * var(--image-index));
    box-shadow: 0 5px 15px var(--shadow-medium);
    border: 3px solid transparent;
}

.gallery img:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 15px 35px var(--shadow-dark);
    border-color: var(--accent);
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--neutral-lighter) 100%);
    padding: 2em;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4em;
    color: var(--primary-lighter);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-left-color: var(--accent);
}

.stars {
    color: var(--accent);
    font-size: 1.2em;
    margin-bottom: 1em;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1em;
    font-size: 1.1em;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.testimonial-card h4 {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Rules Accordion */
.rules-accordion {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 2em;
}

.rule-item {
    background-color: var(--neutral-lighter);
    border-radius: 10px;
    border: 1px solid var(--neutral-light);
    overflow: hidden;
}

.rule-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1em 1.5em;
    background-color: var(--bg-secondary);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1em;
    font-weight: 600;
    color: var(--primary-dark);
    transition: background-color 0.3s ease;
}

.rule-header:hover {
    background-color: var(--bg-accent);
}

.rule-header i {
    font-size: 1.2em;
    color: var(--primary);
    margin-right: 1em;
    min-width: 20px;
}

.rule-header h3 {
    flex-grow: 1;
    margin: 0;
    font-size: 1.1em;
}

.rule-icon {
    transition: transform 0.4s ease;
}

.rule-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.5em;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, padding 0.5s ease-out;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.rule-details p {
    padding-bottom: 1em;
}

.rule-item.active .rule-header {
    background-color: var(--primary-light);
    color: var(--text-light);
}

.rule-item.active .rule-header i {
    color: var(--accent);
}

.rule-item.active .rule-icon {
    transform: rotate(180deg);
}

.rule-item.active .rule-details {
    max-height: 500px; /* Ajuste conforme necessário */
    opacity: 1;
    padding: 1.5em;
}


#reserva {
    text-align: center;
}

/* Cancellation Policy Toggle */
.cancellation-policy {
    text-align: center;
    margin-top: 2em;
}

.policy-toggle-btn {
    background: none;
    border: 2px solid var(--primary-light);
    color: var(--primary-dark);
    padding: 0.8em 1.5em;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.policy-toggle-btn:hover {
    background-color: var(--primary-light);
    color: var(--text-light);
}

.policy-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease-out;
    margin-top: 0;
    background-color: var(--bg-accent);
    border-radius: 10px;
    padding: 0 2em;
}

.policy-details.visible {
    max-height: 200px;
    opacity: 1;
    padding: 1.5em 2em;
    margin-top: 1em;
}

.card-link, .card-link:hover {
    text-decoration: none;
    color: inherit;
}

.location-address {
    text-align: center;
    margin-top: 1.5em;
    padding: 1em;
    background-color: var(--bg-accent);
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 500;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    margin-top: 2em;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5em;
    font-size: 1.5em;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
    padding: 1em;
    background-color: var(--neutral-lighter);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    max-width: 100%; /* Ensure it doesn't overflow */
    margin: 0 auto 1em auto; /* Center and maintain bottom margin */
}

.contact-item:hover {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--neutral-lighter) 100%);
    border-color: var(--primary-lighter);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.5em;
    color: var(--primary);
    margin-right: 1em;
    min-width: 30px;
    transition: color 0.3s ease;
}

.contact-item:hover i {
    color: var(--accent);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.contact-form input,
.contact-form textarea {
    padding: 1em;
    border: 2px solid var(--neutral-light);
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background-color: var(--bg-secondary);
    font-family: 'Montserrat', sans-serif;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(45, 106, 79, 0.2);
    background-color: var(--bg-secondary);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--whatsapp-primary) 0%, var(--whatsapp-secondary) 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover, .whatsapp-float:focus {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    color: white;
    outline: none;
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i, .whatsapp-float:focus i {
    transform: rotate(15deg);
}

.whatsapp-tooltip {
    position: absolute;
    left: -180px; /* Adjusted for better positioning */
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px; /* Adjusted for arrow position */
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid var(--primary-dark);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 0;
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    left: -190px; /* Adjusted for hover state */
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: 2em 0 1em 0;
    margin-top: 3em;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary-lighter) 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    padding: 0 1em; /* Adjusted padding for smaller screens */
}

.footer-section h3 {
    margin-bottom: 1em;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--accent);
}

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

.social-links a {
    color: var(--text-light);
    font-size: 1.5em;
    transition: all 0.3s ease;
    padding: 0.5em;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-links a:hover, .social-links a:focus {
    color: var(--accent);
    transform: scale(1.2);
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2em;
    margin-top: 2em;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--neutral-light);
}

.content-image-container {
    margin: 2em auto; /* Center the container */
    max-width: 800px; /* Max width for images */
    padding: 0 1em; /* Add some padding on sides */
    box-sizing: border-box;
}

.content-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-medium);
    object-fit: cover;
}

/* Lightbox Styles */
#lightbox-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark overlay */
    z-index: 9999; /* Ensure it's on top of everything */
}

#lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--bg-secondary);
    padding: 1em;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for its own width */
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh; /* Limit image height */
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

#lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2em;
    cursor: pointer;
    z-index: 10000; /* Ensure close button is clickable */
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-close:hover {
    color: var(--accent);
    background-color: rgba(0, 0, 0, 0.7);
}

.lightbox-nav-btn {
    position: fixed; /* Position fixed relative to viewport */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--text-light);
    font-size: 2.5em;
    cursor: pointer;
    padding: 0.5em;
    border-radius: 50%;
    z-index: 10000; /* Ensure it's clickable */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lightbox-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--accent);
}

#lightbox-prev {
    left: 20px; /* Position relative to viewport */
}

#lightbox-next {
    right: 20px; /* Position relative to viewport */
}

@media (max-width: 768px) {
    #lightbox-prev {
        left: 10px; /* Adjust for smaller screens */
    }
    #lightbox-next {
        right: 10px; /* Adjust for smaller screens */
    }
    .lightbox-nav-btn {
        font-size: 2em;
        padding: 0.3em;
    }
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 768px) {
    img.logo {
        width: 100px;
    }

    header h1 {
        font-size: 2em;
        text-align: center;
    }
    
    .header-subtitle {
        font-size: 1.2em;
    }
    
    .header-tagline {
        font-size: 1em;
        max-width: 90%;
    }
    
    nav {
        display: none; /* Hide navbar on mobile */
    }
    
    .section {
        margin: 1em;
        padding: 1em; /* Reduced padding for very small screens */
    }
    
    .services-grid,
    .testimonials,
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1em; /* Further reduced gap for mobile */
    }
    
    .contact-item {
        padding: 0.5em; /* Further adjusted padding for mobile */
        margin: 0 auto 1em auto; /* Ensure centering and spacing */
        max-width: 100%; /* Ensure it fits */
    }

    .contact-item i {
        margin-right: 0.5em; /* Adjusted margin for mobile */
        min-width: 25px; /* Adjusted min-width for icon */
    }
    
    .reservation-info {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery img {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }

    .section-compass {
        top: 15px;
        right: 15px;
        width: 25px;
        height: 25px;
    }

    .section-compass i {
        font-size: 0.9em;
    }

    .testimonial-compass {
        width: 18px;
        height: 18px;
    }

    .testimonial-compass i {
        font-size: 0.6em;
    }

    .policy-toggle-btn {
        width: 100%;
        display: flex;
        justify-content: center; /* Centraliza o conteúdo do botão */
    }
}

@media (max-width: 600px) and (min-width: 481px) {
    nav {
        padding: 0.6em 0.4em;
    }
    
    nav a {
        margin: 0.15em 0.15em;
        font-size: 0.7em;
        padding: 0.35em 0.5em;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.5em;
        flex-direction: column;
        align-items: center;
        max-height: 60vh; /* Limita a altura máxima da navbar a 60% da viewport height */
        overflow-y: auto; /* Adiciona rolagem se o conteúdo exceder a altura */
    }
    
    nav a {
        display: flex;
        width: 90%;
        margin: 0.15em 0; /* Reduzindo a margem vertical */
        padding: 0.4em; /* Reduzindo o padding */
        justify-content: center;
    }
    
    header {
        height: 200px; /* Adjusted height for smaller mobile screens */
    }
    
    header h1 {
        font-size: 1.6em;
        text-align: center;
    }
    
    .header-subtitle {
        font-size: 1em;
    }
    
    .header-tagline {
        font-size: 0.9em;
        max-width: 95%;
        line-height: 1.4;
    }
    
    .section h2 {
        font-size: 1.5em;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Loyalty Program Section */
#fidelidade {
    background-color: var(--bg-accent);
}

.loyalty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.loyalty-card {
    text-align: center;
    padding: 2em;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--neutral-lighter) 100%);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.loyalty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.loyalty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: var(--primary-lighter);
}

.loyalty-card:hover::before {
    transform: scaleX(1);
}

.loyalty-card i {
    font-size: 3em;
    color: var(--primary);
    margin-bottom: 1em;
    transition: color 0.3s ease;
}

.loyalty-card:hover i {
    color: var(--accent);
}

.loyalty-card h3 {
    color: var(--neutral-dark); /* Alterado para uma cor mais escura para melhor contraste */
    margin-bottom: 1em;
    font-size: 1.3em;
    font-weight: 700; /* Aumentado o peso da fonte para melhor visibilidade */
}

.loyalty-card p {
    color: var(--text-secondary);
}

.loyalty-note {
    font-size: 0.9em;
    font-style: italic;
    margin-top: 1em;
    color: var(--text-secondary);
}

/* Estilo para imagens dentro de cards ou containers de conteúdo */
.image-card-style {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Estilo para imagens de promoções */
.promo-image-style {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}