/**
 * AWARD-2026.CSS
 * Hyde Park Plumbing - Award-Winning Design Enhancements
 * Competition-grade micro-interactions, textures, and animations
 *
 * This file layers on top of design-system-2026.css to elevate
 * the design to award-winning status without touching SEO elements.
 */

/* ==========================================================================
   1. GLOBAL ATMOSPHERIC ENHANCEMENTS
   Subtle textures and ambient effects that create depth
   ========================================================================== */

/* Film grain overlay for organic texture */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Custom scrollbar - brand colors */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--hpp-gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--hpp-gold) 0%, var(--hpp-gold-dark) 100%);
    border-radius: 5px;
    border: 2px solid var(--hpp-gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--hpp-gold-dark) 0%, var(--hpp-primary) 100%);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--hpp-gold) var(--hpp-gray-100);
}

/* Smooth cursor for interactive elements */
body {
    cursor: default;
}

a, button, [role="button"], .clickable {
    cursor: pointer;
}


/* ==========================================================================
   2. MAGNETIC BUTTON EFFECTS
   Buttons that respond to cursor proximity
   ========================================================================== */

.btn-primary-2026,
.btn-secondary-2026,
.btn-cta-urgent {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Ripple effect on click */
.btn-primary-2026::after,
.btn-cta-urgent::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%),
        rgba(255, 255, 255, 0.3) 0%,
        transparent 50%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.3s ease-out;
}

.btn-primary-2026.rippling::after,
.btn-cta-urgent.rippling::after {
    transform: scale(3);
    opacity: 1;
}

/* Premium button shimmer effect */
.btn-primary-2026::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    transition: left 0.7s ease-in-out;
    z-index: 1;
}

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

/* Button press feedback */
.btn-primary-2026:active,
.btn-secondary-2026:active,
.btn-cta-urgent:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease !important;
}


/* ==========================================================================
   3. PREMIUM LINK UNDERLINES
   Animated underlines that expand on hover
   ========================================================================== */

/* Expandable underline for text links */
.entry-content-2026 a:not(.btn-primary-2026):not(.btn-secondary-2026),
.single-main a:not(.btn-primary-2026):not(.btn-secondary-2026),
.service-main-content a:not(.btn-primary-2026):not(.btn-secondary-2026):not(.service-card-compact) {
    position: relative;
    text-decoration: none;
    color: var(--hpp-primary);
    font-weight: 500;
}

.entry-content-2026 a:not(.btn-primary-2026):not(.btn-secondary-2026)::after,
.single-main a:not(.btn-primary-2026):not(.btn-secondary-2026)::after,
.service-main-content a:not(.btn-primary-2026):not(.btn-secondary-2026):not(.service-card-compact)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hpp-gold) 0%, var(--hpp-gold-dark) 100%);
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.entry-content-2026 a:not(.btn-primary-2026):not(.btn-secondary-2026):hover::after,
.single-main a:not(.btn-primary-2026):not(.btn-secondary-2026):hover::after,
.service-main-content a:not(.btn-primary-2026):not(.btn-secondary-2026):not(.service-card-compact):hover::after {
    width: 100%;
}


/* ==========================================================================
   4. SCROLL-TRIGGERED REVEAL ANIMATIONS
   Premium entrance effects as elements come into view
   ========================================================================== */

/* Base hidden state for scroll animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal="left"] {
    transform: translateX(-60px);
}

[data-reveal="right"] {
    transform: translateX(60px);
}

[data-reveal="scale"] {
    transform: scale(0.9);
}

[data-reveal="rotate"] {
    transform: perspective(1000px) rotateX(10deg) translateY(40px);
    transform-origin: center bottom;
}

/* Revealed state */
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotateX(0deg);
}

/* Staggered children */
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.15s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.2s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.25s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.3s; }
[data-reveal-stagger].revealed > *:nth-child(7) { transition-delay: 0.35s; }
[data-reveal-stagger].revealed > *:nth-child(8) { transition-delay: 0.4s; }

[data-reveal-stagger].revealed > * {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   5. ENHANCED CARD HOVER EFFECTS
   3D tilt and glow effects for premium feel
   ========================================================================== */

/* 3D perspective container */
.service-card-2026,
.area-card-2026,
.feature-card,
.review-card-2026 {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Enhanced hover with 3D tilt (applied via JS) */
.service-card-2026.card-3d,
.area-card-2026.card-3d {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

/* Glow effect on card hover */
.service-card-2026::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        rgba(178, 170, 126, 0) 0%,
        rgba(178, 170, 126, 0.3) 50%,
        rgba(178, 170, 126, 0) 100%
    );
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-card-2026:hover::before {
    opacity: 1;
}

/* Floating icon effect */
.service-card-2026 .service-icon,
.feature-card .feature-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card-2026:hover .service-icon,
.feature-card:hover .feature-icon {
    transform: translateY(-5px) scale(1.1);
}


/* ==========================================================================
   6. PREMIUM HERO ENHANCEMENTS
   Cinematic hero section effects
   ========================================================================== */

/* Gradient mesh background overlay */
.hero-2026::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(178, 170, 126, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(84, 48, 25, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(26, 35, 50, 0.2) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Animated gradient border on hero form card */
.hero-form-card {
    position: relative;
}

.hero-form-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(
        90deg,
        var(--hpp-gold) 0%,
        var(--hpp-gold-light) 25%,
        var(--hpp-gold) 50%,
        var(--hpp-gold-light) 75%,
        var(--hpp-gold) 100%
    );
    background-size: 200% 100%;
    border-radius: calc(var(--radius-2xl) + 3px);
    z-index: -1;
    animation: borderShimmer 3s linear infinite;
}

@keyframes borderShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hero title text shadow for depth */
.hero-content-2026 h1 {
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Animated floating badge */
.hero-badge {
    animation: floatBadge 3s ease-in-out infinite;
}

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


/* ==========================================================================
   7. TEXT GRADIENT & HIGHLIGHT EFFECTS
   Eye-catching typography treatments
   ========================================================================== */

/* Gold text gradient for emphasis */
.text-gold-gradient,
.section-heading span.highlight {
    background: linear-gradient(135deg, var(--hpp-gold) 0%, var(--hpp-gold-light) 50%, var(--hpp-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* Highlight marker effect */
.text-highlight {
    position: relative;
    display: inline;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    right: -4px;
    height: 35%;
    background: rgba(178, 170, 126, 0.25);
    z-index: -1;
    transform: skewX(-5deg);
}


/* ==========================================================================
   8. ENHANCED FORM INTERACTIONS
   Premium form field effects
   ========================================================================== */

/* Floating label effect */
.form-group-2026 {
    position: relative;
}

.form-group-2026 input,
.form-group-2026 textarea,
.form-group-2026 select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-group-2026 input:focus,
.form-group-2026 textarea:focus,
.form-group-2026 select:focus {
    border-color: var(--hpp-gold);
    box-shadow: 0 0 0 4px rgba(178, 170, 126, 0.15);
    background-color: var(--hpp-white);
}

/* Input success state */
.form-group-2026.valid input {
    border-color: var(--hpp-success);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232d8a4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
    padding-right: 44px;
}

/* Animated form submit button */
.form-submit-btn {
    position: relative;
    overflow: hidden;
}

.form-submit-btn .btn-text {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.form-submit-btn .btn-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.form-submit-btn.loading .btn-text {
    transform: translateY(-100%);
    opacity: 0;
}

.form-submit-btn.loading .btn-loader {
    transform: translateY(0);
    opacity: 1;
}

/* Spinner for loading state */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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


/* ==========================================================================
   9. REVIEW CARD ENHANCEMENTS
   Premium testimonial presentation
   ========================================================================== */

/* Quote decoration */
.review-card-2026::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--hpp-gold);
    opacity: 0.15;
    pointer-events: none;
}

/* Star rating animation */
.review-stars-2026 {
    display: flex;
    gap: 2px;
}

.review-stars-2026 .star {
    color: var(--hpp-gold);
    animation: starPop 0.4s ease-out backwards;
}

.review-stars-2026 .star:nth-child(1) { animation-delay: 0.1s; }
.review-stars-2026 .star:nth-child(2) { animation-delay: 0.2s; }
.review-stars-2026 .star:nth-child(3) { animation-delay: 0.3s; }
.review-stars-2026 .star:nth-child(4) { animation-delay: 0.4s; }
.review-stars-2026 .star:nth-child(5) { animation-delay: 0.5s; }

@keyframes starPop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    70% {
        transform: scale(1.3) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}


/* ==========================================================================
   10. NAVIGATION ENHANCEMENTS
   Premium header and menu effects
   ========================================================================== */

/* Active nav indicator with animated underline */
.nav-link-2026 {
    position: relative;
}

.nav-link-2026::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--hpp-gold);
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link-2026:hover::after,
.nav-link-2026.active::after {
    width: 100%;
    left: 0;
}

/* Header blur enhancement when scrolled */
.header-2026.is-scrolled {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Mobile menu item stagger */
.mobile-nav-2026 .nav-item {
    opacity: 0;
    transform: translateX(-30px);
}

.mobile-nav-2026.is-open .nav-item {
    animation: slideInNav 0.5s ease forwards;
}

.mobile-nav-2026.is-open .nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-2026.is-open .nav-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-2026.is-open .nav-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-2026.is-open .nav-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-2026.is-open .nav-item:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav-2026.is-open .nav-item:nth-child(6) { animation-delay: 0.35s; }
.mobile-nav-2026.is-open .nav-item:nth-child(7) { animation-delay: 0.4s; }
.mobile-nav-2026.is-open .nav-item:nth-child(8) { animation-delay: 0.45s; }

@keyframes slideInNav {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ==========================================================================
   11. SECTION DIVIDERS & VISUAL BREAKS
   Decorative elements between sections
   ========================================================================== */

/* Gradient wave divider */
.section-divider-wave {
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23faf8f5' d='M0,50 C360,100 720,0 1080,50 C1260,75 1350,50 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}

/* Decorative line with gold accent */
.section-line {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--hpp-gray-200) 20%,
        var(--hpp-gold) 50%,
        var(--hpp-gray-200) 80%,
        transparent 100%
    );
    margin: 60px auto;
    max-width: 600px;
}


/* ==========================================================================
   12. FOOTER PREMIUM EFFECTS
   Enhanced footer aesthetics
   ========================================================================== */

/* Footer gradient background */
.footer-2026 {
    background: linear-gradient(180deg, var(--hpp-dark) 0%, #0f1620 100%);
}

/* Social icon hover effects */
.social-link-2026 {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link-2026::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--hpp-gold);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: -1;
}

.social-link-2026:hover {
    transform: translateY(-3px);
}

.social-link-2026:hover::after {
    opacity: 0.2;
    transform: scale(1);
}


/* ==========================================================================
   13. TRUST BADGE ENHANCEMENTS
   Premium trust indicator effects
   ========================================================================== */

/* Animated checkmark on trust badges */
.trust-badge-2026 .check-icon {
    color: var(--hpp-success);
    animation: checkBounce 0.6s ease-out;
}

@keyframes checkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    75% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Hover glow on trust badges */
.trust-badge-2026 {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.trust-badge-2026:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(178, 170, 126, 0.2);
    border-color: var(--hpp-gold);
}


/* ==========================================================================
   14. STAT COUNTER ENHANCEMENTS
   Animated number counters with effects
   ========================================================================== */

/* Stat number glow */
.stat-number,
.proof-number {
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    inset: -10px -20px;
    background: radial-gradient(ellipse, rgba(178, 170, 126, 0.15) 0%, transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-item:hover .stat-number::after {
    opacity: 1;
}

/* Animated counting effect */
.stat-number.counting {
    animation: countPulse 0.1s ease;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}


/* ==========================================================================
   15. LOADING & SKELETON STATES
   Premium loading experiences
   ========================================================================== */

/* Skeleton loading shimmer */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--hpp-gray-100) 0%,
        var(--hpp-gray-50) 50%,
        var(--hpp-gray-100) 100%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Page transition overlay */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--hpp-dark);
    z-index: 10000;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.page-transition.active {
    transform: translateY(0);
}


/* ==========================================================================
   16. PARALLAX & DEPTH EFFECTS
   Multi-layer scrolling for depth
   ========================================================================== */

/* Parallax layer speeds */
[data-parallax="slow"] {
    will-change: transform;
}

[data-parallax="medium"] {
    will-change: transform;
}

[data-parallax="fast"] {
    will-change: transform;
}


/* ==========================================================================
   17. CURSOR EFFECTS
   Custom cursor interactions
   ========================================================================== */

/* Hide default cursor on interactive elements for custom cursor */
@media (hover: hover) and (pointer: fine) {
    .cursor-custom-container {
        cursor: none;
    }

    .cursor-custom-container a,
    .cursor-custom-container button {
        cursor: none;
    }
}

/* Custom cursor dot */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--hpp-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-dot.hovering {
    width: 40px;
    height: 40px;
    background: rgba(178, 170, 126, 0.3);
    mix-blend-mode: normal;
}

/* Custom cursor ring */
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--hpp-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    opacity: 0.5;
}

.cursor-ring.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--hpp-primary);
    opacity: 1;
}


/* ==========================================================================
   18. ACCESSIBILITY & REDUCED MOTION
   Respect user preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    [data-reveal-stagger] > * {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn-primary-2026::before,
    .hero-form-card::before,
    .text-gold-gradient,
    .review-stars-2026 .star,
    .hero-badge {
        animation: none;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary-2026,
    .btn-cta-urgent {
        border: 2px solid currentColor;
    }

    .service-card-2026,
    .review-card-2026 {
        border: 2px solid var(--hpp-gray-700);
    }
}


/* ==========================================================================
   19. PRINT STYLES
   Clean print output
   ========================================================================== */

@media print {
    .grain-overlay,
    .cursor-dot,
    .cursor-ring,
    .page-transition {
        display: none !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* ==========================================================================
   20. HOMEPAGE PREMIUM ENHANCEMENTS
   Award-winning hero and section effects
   ========================================================================== */

/* Hero gradient text effect */
.hero-title-2026 .gradient-text,
.gradient-text {
    background: linear-gradient(
        135deg,
        var(--hpp-gold) 0%,
        var(--hpp-gold-light) 25%,
        #fff 50%,
        var(--hpp-gold-light) 75%,
        var(--hpp-gold) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradientFlow 4s ease-in-out infinite;
}

@keyframes textGradientFlow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* Hero badge floating animation enhancement */
.hero-badge {
    animation: floatBadge 3s ease-in-out infinite, glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(178, 170, 126, 0.2); }
    50% { box-shadow: 0 0 35px rgba(178, 170, 126, 0.4); }
}

/* Premium section transitions */
.services-section-2026,
.areas-section-2026,
.why-choose-section-2026,
.reviews-section-2026 {
    position: relative;
}

/* Decorative corner accents */
.section-header-2026::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--hpp-gold), transparent);
    border-radius: 2px;
}

/* Service card hover enhancement */
.service-card-2026 {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-2026::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hpp-gold), var(--hpp-gold-light), var(--hpp-gold));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.service-card-2026:hover::after {
    transform: scaleX(1);
}

/* Premium image hover zoom */
.service-card-img {
    overflow: hidden;
}

.service-card-img img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-2026:hover .service-card-img img {
    transform: scale(1.08);
}

/* Service badge enhancement */
.service-badge {
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(212, 134, 58, 0.4);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Area cards hover effect */
.area-card-2026 {
    position: relative;
    overflow: hidden;
}

.area-card-2026::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(178, 170, 126, 0) 0%,
        rgba(178, 170, 126, 0.1) 50%,
        rgba(178, 170, 126, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.area-card-2026:hover::before {
    opacity: 1;
}

/* Enhanced trust badge row */
.trust-bar-2026 {
    position: relative;
}

.trust-bar-2026::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hpp-gold-light), transparent);
}

/* CTA section glow */
.emergency-cta-2026,
.final-cta-2026 {
    position: relative;
}

.emergency-cta-2026::before,
.final-cta-2026::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(178, 170, 126, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Proof ticker enhancement */
.proof-ticker-2026 {
    position: relative;
    overflow: hidden;
}

.proof-ticker-2026::before,
.proof-ticker-2026::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.proof-ticker-2026::before {
    left: 0;
    background: linear-gradient(90deg, var(--hpp-primary) 0%, transparent 100%);
}

.proof-ticker-2026::after {
    right: 0;
    background: linear-gradient(270deg, #3d2211 0%, transparent 100%);
}

/* Review section enhancements */
.review-card-2026 {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card-2026:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Van animation enhancement */
.hero-van {
    animation: vanFloat 4s ease-in-out infinite;
}

@keyframes vanFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-0.5deg); }
    50% { transform: translateY(-8px) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(0.5deg); }
}


/* ==========================================================================
   21. MOBILE PREMIUM ENHANCEMENTS
   Touch-optimized award-winning effects
   ========================================================================== */

@media (max-width: 768px) {
    /* Disable heavy effects on mobile for performance */
    .cursor-dot,
    .cursor-ring,
    .grain-overlay {
        display: none !important;
    }

    /* Simplified but still premium card hovers */
    .service-card-2026:active {
        transform: scale(0.98);
    }

    /* Touch-friendly button feedback */
    .btn-primary-2026:active,
    .btn-cta-urgent:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }

    /* Smoother scroll reveal on mobile */
    [data-reveal] {
        transform: translateY(30px);
    }

    /* Mobile van animation - subtle */
    .hero-van {
        animation: vanFloatMobile 5s ease-in-out infinite;
    }

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


/* ==========================================================================
   22. DARK SECTION ENHANCEMENTS
   Premium effects for dark backgrounds
   ========================================================================== */

/* Dark section text glow */
.hero-2026 h1,
.emergency-cta-2026 h2,
.final-cta-2026 h2 {
    text-shadow:
        0 0 40px rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Dark section button enhancement */
.hero-2026 .btn-secondary-2026,
.emergency-cta-2026 .btn-secondary-2026,
.final-cta-2026 .btn-secondary-2026 {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* ==========================================================================
   23. LOADING & PAGE READY STATES
   Elegant page load animations
   ========================================================================== */

/* Initial page load animation */
body.page-loading {
    overflow: hidden;
}

body.page-loading .hero-2026 {
    opacity: 0;
}

body.page-ready .hero-2026 {
    animation: heroReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Staggered content reveal */
body.page-ready .hero-content-2026 > * {
    animation: contentFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

body.page-ready .hero-content-2026 > *:nth-child(1) { animation-delay: 0.1s; }
body.page-ready .hero-content-2026 > *:nth-child(2) { animation-delay: 0.2s; }
body.page-ready .hero-content-2026 > *:nth-child(3) { animation-delay: 0.3s; }
body.page-ready .hero-content-2026 > *:nth-child(4) { animation-delay: 0.4s; }
body.page-ready .hero-content-2026 > *:nth-child(5) { animation-delay: 0.5s; }
body.page-ready .hero-content-2026 > *:nth-child(6) { animation-delay: 0.6s; }
body.page-ready .hero-content-2026 > *:nth-child(7) { animation-delay: 0.7s; }
body.page-ready .hero-content-2026 > *:nth-child(8) { animation-delay: 0.8s; }

@keyframes contentFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form card reveal */
body.page-ready .hero-form-container {
    animation: formSlideIn 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    opacity: 0;
}

@keyframes formSlideIn {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
