/* Variáveis CSS para as cores da marca */
:root {
    --brand-primary: #b8922d;
    --brand-primary-dark: #a8821d;
    --brand-primary-light: #c8a23d;
    --brand-secondary: #fef3c7;
    --brand-accent: #d4a13a;
}

/* Hotel Modern Styles */

/* Glassmorphism enhanced */
.glassmorphism {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glassmorphism:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    transform: translateY(-5px);
    box-shadow: 0 20px 40px 0 rgba(31, 38, 135, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

/* Animações de partículas aprimoradas */
.particle-float {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.3) 70%
    );
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-15px) translateX(5px) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-25px) translateX(-5px) scale(1.2);
        opacity: 1;
    }
    75% {
        transform: translateY(-10px) translateX(3px) scale(1.1);
        opacity: 0.8;
    }
}

/* Efeito de transição suave para imagens */
.image-transition {
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-transition.scale-effect {
    transform: scale(1.08);
}

/* Indicadores do carrossel */
.carousel-indicators button {
    transition: all 0.3s ease;
}

.carousel-indicators button:hover {
    transform: scale(1.2);
}

.carousel-indicators button.active {
    background: linear-gradient(45deg, #b8922d, #a8821d);
    box-shadow: 0 0 15px rgba(184, 146, 45, 0.5);
}

/* Botão aprimorado */
.btn-modern {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #b8922d, #a8821d);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-modern:hover {
    background: linear-gradient(135deg, #a8821d, #98721d);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(184, 146, 45, 0.4);
}

.btn-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-modern:hover::before {
    left: 100%;
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .glassmorphism {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
    }

    .particle-float {
        width: 4px;
        height: 4px;
    }

    .carousel-indicators {
        bottom: 1rem;
    }
}

/* Animação de entrada para a seção */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hotel-section {
    animation: fadeInUp 1s ease-out;
}

/* Efeito de parallax sutil */
.parallax-bg {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Gradiente de fundo animado */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-bg {
    background: linear-gradient(-45deg, #f3f4f6, #e5e7eb, #f9fafb, #f3f4f6);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Efeito de brilho no texto */
.text-shimmer {
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Estilos para a seção de Turismo - Cards Empilhados */
.tourism-cards-container {
    position: relative !important;
    height: 420px !important;
    width: 320px !important;
    margin: 0 auto !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.tourism-cards-container:hover {
    width: 600px !important;
}

.tourism-card {
    position: absolute !important;
    width: 300px !important;
    height: 400px !important;
    background: white !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    will-change: transform !important;
    transform-origin: center bottom !important;
}

/* Posicionamento inicial dos cards - empilhados com inclinação */
.tourism-cards-container .tourism-card:nth-child(1) {
    z-index: 30 !important;
    top: 0 !important;
    left: 0 !important;
    transform: rotate(0deg) !important;
}

.tourism-cards-container .tourism-card:nth-child(2) {
    z-index: 20 !important;
    top: 8px !important;
    left: 10px !important;
    transform: rotate(-3deg) !important;
}

.tourism-cards-container .tourism-card:nth-child(3) {
    z-index: 10 !important;
    top: 16px !important;
    left: 20px !important;
    transform: rotate(-6deg) !important;
}

/* Posicionamento no hover - cards se espalham */
.tourism-cards-container:hover .tourism-card:nth-child(1) {
    transform: translateX(-150px) translateY(-10px) rotate(-8deg) !important;
    z-index: 30 !important;
    top: 20px !important;
    left: 0 !important;
}

.tourism-cards-container:hover .tourism-card:nth-child(2) {
    transform: translateX(0px) translateY(-20px) rotate(0deg) !important;
    z-index: 20 !important;
    top: 0 !important;
    left: 150px !important;
}

.tourism-cards-container:hover .tourism-card:nth-child(3) {
    transform: translateX(150px) translateY(-10px) rotate(8deg) !important;
    z-index: 10 !important;
    top: 20px !important;
    left: 300px !important;
}

/* Efeitos individuais dos cards - sem conflito com o hover do container */
.tourism-card:hover:not(.tourism-cards-container:hover .tourism-card) {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4) !important;
    z-index: 40 !important;
}

/* Animações suaves para as imagens */
.tourism-card img {
    transition: transform 0.5s ease-out !important;
}

.tourism-card:hover img {
    transform: scale(1.08) !important;
}

/* Efeito de hover nos botões dos cards */
.tourism-card button {
    transform: translateY(0) !important;
    transition: all 0.3s ease !important;
}

.tourism-card:hover button {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3) !important;
}

/* Responsividade para os cards de turismo */
@media (max-width: 1024px) {
    .tourism-cards-container {
        width: 280px;
        height: 380px;
    }

    .tourism-cards-container:hover {
        width: 500px;
    }

    .tourism-card {
        width: 260px !important;
        height: 360px !important;
    }

    .tourism-cards-container:hover .tourism-card:nth-child(1) {
        transform: translateX(-100px) rotateZ(-5deg);
    }

    .tourism-cards-container:hover .tourism-card:nth-child(2) {
        left: 120px;
    }

    .tourism-cards-container:hover .tourism-card:nth-child(3) {
        transform: translateX(100px) rotateZ(5deg);
        left: 220px;
    }
}

@media (max-width: 768px) {
    .tourism-cards-container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .tourism-cards-container:hover {
        width: 100%;
    }

    .tourism-card {
        width: 280px !important;
        height: 340px !important;
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }

    .tourism-cards-container:hover .tourism-card {
        transform: none !important;
    }
}

/* Efeito de glassmorphism para o card de estatísticas */
.bg-white.rounded-2xl.shadow-xl {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* Estilos adicionais para garantir que os cards empilhados funcionem */
.tourism-cards-container .tourism-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Garantir que os cards fiquem sobre os outros elementos */
.tourism-cards-container {
    transform: translateZ(0);
}

.tourism-card {
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Footer Styles */
.footer-golden {
    color: #b8922d;
}

.footer-golden-hover:hover {
    color: #c8a23d;
}

.footer-gradient {
    background: linear-gradient(135deg, #b8922d 0%, #a8821d 100%);
}

.footer-gradient-hover:hover {
    background: linear-gradient(135deg, #c8a23d 0%, #b8922d 100%);
}

.footer-icon-golden {
    color: #b8922d;
}

.footer-icon-golden:hover {
    color: #c8a23d;
}

/* WhatsApp Button Animation */
.whatsapp-pulse {
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    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 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* WhatsApp floating button animation */
@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.whatsapp-pulse {
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

/* Reviews System Styles */
.review-stars {
    transition: color 0.2s ease;
}

.review-stars:hover {
    transform: scale(1.1);
}

.review-form-step {
    transition: all 0.3s ease;
}

.review-validation-success {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.review-validation-error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.review-star-button {
    transition: all 0.2s ease;
}

.review-star-button:hover {
    transform: scale(1.2);
}

/* Rating display improvements */
.rating-display {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-text {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Review card hover effects */
.review-card {
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Form validation styles */
.form-input-error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-input-success {
    border-color: #10b981;
    background-color: #f0fdf4;
}

/* Loading spinner */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
