/* WhatsApp Floating Widget Styles */
#whatsapp-toggle {
  box-shadow: 0 4px 24px rgba(30,138,70,0.18);
}
#whatsapp-chat {
  animation: whatsapp-fade-in 0.2s;
}
@keyframes whatsapp-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

.hero-bg {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
}

.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 89, 151, 0.15);
}

.floating-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* WhatsApp Chat Animations */
.chat-box-enter {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.chat-box-exit {
    opacity: 0 !important;
    transform: translateY(16px) !important;
}

/* Responsive WhatsApp Chat */
@media (max-width: 640px) {
    .floating-widget {
        right: 10px;
        bottom: 10px;
    }

    #whatsappChatBox {
        width: calc(100vw - 40px);
        max-width: 320px;
    }
}

/* WhatsApp Button Pulse */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

#whatsappFloatingBtn {
    animation: whatsapp-pulse 2s infinite;
}

/* Message input focus effects */
#whatsappMessage:focus {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* FAQ Animations */
.faq-button {
    transition: all 0.3s ease;
}

.faq-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-content:not(.hidden) {
    max-height: 500px;
    animation: fadeInDown 0.3s ease;
}

.faq-icon {
    transition: transform 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Item hover effects */
.faq-button:hover h4 {
    color: #059669 !important;
    transition: color 0.2s ease;
}

.faq-button:hover .faq-icon {
    color: #059669;
    transition: color 0.2s ease;
}

/* Modern Reserve Button Styles */
.modern-reserve-btn {
    position: relative;
    box-shadow: 0 4px 15px rgba(30, 138, 70, 0.3);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.modern-reserve-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-reserve-btn:hover::before {
    opacity: 1;
}

.modern-reserve-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1e8a46, #16a085, #0e5997, #2980b9);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-reserve-btn:hover::after {
    opacity: 0.7;
}

/* Pulse animation for reserve buttons */
@keyframes reserve-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(30, 138, 70, 0.3);
    }

    50% {
        box-shadow: 0 6px 25px rgba(30, 138, 70, 0.4);
    }

    100% {
        box-shadow: 0 4px 15px rgba(30, 138, 70, 0.3);
    }
}

.modern-reserve-btn:not(:hover) {
    animation: reserve-pulse 3s ease-in-out infinite;
}

/* Mobile optimizations for reserve buttons */
@media (max-width: 768px) {
    .modern-reserve-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Text Justification Styles */
.text-justified {
    text-align: justify;
    text-justify: inter-word;
}

/* Apply justified text to paragraphs and descriptive content */
p:not(.text-center):not(.text-left):not(.text-right),
.text-gray-600:not(.text-center):not(.text-left):not(.text-right):not(.text-sm):not(.text-xs),
.text-gray-700:not(.text-center):not(.text-left):not(.text-right):not(.text-sm):not(.text-xs),
.leading-relaxed,
.room-card p,
.faq-content p,
.drawer-content p {
    text-align: justify;
    text-justify: inter-word;
}

/* Maintain center alignment for specific elements */
.text-center,
h1,
h2,
h3,
h4,
h5,
h6,
.font-playfair,
button,
.text-sm,
.text-xs,
ul,
ol,
li {
    text-align: center;
}

/* Override for headers that should remain centered */
.text-center h1,
.text-center h2,
.text-center h3,
.text-center h4,
.text-center h5,
.text-center h6 {
    text-align: center !important;
}

/* Responsividade do Drawer */
@media (max-width: 640px) {
    #historyDrawer {
        max-width: 90vw;
    }
}

/* Suavizar transições */
#historyDrawerOverlay {
    opacity: 0;
}

#historyDrawerOverlay.opacity-100 {
    opacity: 1;
}

.section-divider {
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    height: 1px;
    margin: 4rem 0;
}

/* Contact Form Styles */
#contactForm input:invalid {
    border-color: #ef4444;
}

#contactForm input:valid {
    border-color: #10b981;
}

#contactForm label {
    font-weight: 500;
}

.form-error {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Status Messages Animation */
#statusMessage {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Focus Enhancements */
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    transform: translateY(-1px);
}

/* Required field indicator */
#contactForm label[for]:after {
    content: " *";
    color: #ef4444;
    font-weight: bold;
}

/* Remove required indicator for optional fields */
label[for="mensagem"]:after {
    content: "" !important;
}
/* Alinhamento para a caixa de Informações Importantes */
.info-importante ul, .info-importante li {
    text-align: left;
}
/* Alinhamento para a lista do WhatsApp */
.whatsapp-list, .whatsapp-list li {
    text-align: left;
}