/* Additional custom styles for Van Stavern Richard Mobile Home Service */

/* Smooth scroll offset for fixed navigation */
html {
    scroll-padding-top: 80px;
}

/* Custom geometric accent shapes */
.accent-shape {
    position: absolute;
    pointer-events: none;
}

.accent-circle {
    border-radius: 50%;
}

.accent-diamond {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.accent-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

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

/* Pulse animation for CTA */
@keyframes pulse-burgundy {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(149, 21, 51, 0.3);
    }
    50% {
        box-shadow: 0 15px 40px rgba(149, 21, 51, 0.5);
    }
}

.cta-btn:hover {
    animation: pulse-burgundy 1.5s ease-in-out infinite;
}

/* Image hover overlay */
.img-grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(149, 21, 51, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.img-grid-item:hover::after {
    opacity: 1;
}

/* Service card icon hover */
.service-card:hover .w-16 {
    transform: scale(1.1) rotate(5deg);
}

/* Floating animation for cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Custom selection color */
::selection {
    background: rgba(149, 21, 51, 0.2);
    color: #1a0a0e;
}

/* Focus visible styles */
:focus-visible {
    outline: 3px solid rgba(149, 21, 51, 0.3);
    outline-offset: 2px;
}

/* Loading state for buttons */
.cta-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-bottom: 1rem;
    }
    
    .process-step::after {
        display: none;
    }
}

/* Print styles */
@media print {
    .hero-card-float-1,
    .hero-card-float-2,
    .hero-card-float-3 {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
