/* Parallax Scrolling and Enhanced Interactive Elements */

/* Parallax Hero Section */
.hero {
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding: calc(var(--space-xl) * 2) 0 var(--space-xl);
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/logo-background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.85);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Interactive Elements */
.card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.2);
    color: var(--primary-gold);
}

/* Button hover effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

/* Animated section transitions */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonial hover effect */
.testimonial {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Footer enhancements */
.footer-waimi {
    text-align: center;
    padding: var(--space-md) 0;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: var(--space-md);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Mobile responsiveness for parallax */
@media (max-width: 768px) {
    .hero::before {
        background-attachment: scroll;
    }
}