/* Custom CSS for Property Survey London */

@keyframes parallaxMove {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-50px); }
}

.parallax-bg {
    animation: parallaxMove 20s ease-in-out infinite alternate;
    will-change: transform;
}

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

/* FAQ Animations */
.faq-content {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.faq-content.active {
    max-height: 200px;
    padding-top: 0;
}

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

.faq-toggle.active i {
    transform: rotate(180deg);
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Form styling */
.hubspot-form {
    font-family: 'Inter', sans-serif;
}

/* Image lazy loading */
img {
    loading: lazy;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1e3a8a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* Blog post styling */
.blog-post {
    line-height: 1.8;
}

.blog-post h2, .blog-post h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post p {
    margin-bottom: 1rem;
}

.blog-post img {
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Service cards */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: #f59e0b;
    transform: translateY(-5px);
}

/* Navigation fixes */
.nav-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Button animations */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Testimonial cards */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(30, 58, 138, 0.1);
    font-family: serif;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
}