/* Custom styles for Casita Colibri San Jose */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf4f6;
}
::-webkit-scrollbar-thumb {
    background: #bc2a56;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9d2147;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(61, 10, 26, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #d4406e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover card lift effect */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(108, 31, 75, 0.15);
}

/* Animated gradient background */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Fade-in animation on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse animation for hero dot */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(0.8); opacity: 0.8; }
}

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

/* Room card image zoom on hover */
.room-card:hover .room-image {
    transform: scale(1.08);
}
.room-image {
    transition: transform 0.5s ease;
}

/* Amenity icon hover */
.amenity-card:hover .amenity-icon {
    transform: rotate(5deg) scale(1.1);
}
.amenity-icon {
    transition: transform 0.3s ease;
}

/* Mobile menu animation */
.mobile-menu-open {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Input focus glow */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(188, 42, 86, 0.15);
}

/* Section divider */
.section-divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, #bc2a56, #fbbf24);
    border-radius: 2px;
}

/* Testimonial card shimmer */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}
.testimonial-card:hover::before {
    left: 100%;
}
.testimonial-card {
    position: relative;
    overflow: hidden;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.float-anim {
    animation: float 3s ease-in-out infinite;
}

/* Counter animation */
.counter {
    display: inline-block;
}
</style>
