.blueprint-grid {
    background-image: radial-gradient(circle, #c3c6d6 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
}
.rt-landing-page .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
html {
    scroll-behavior: smooth;
}

/* Contact-form status banner (injected by inject_form_dynamics on ?inquiry=…) */
.rt-form-notice {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    border-left: 4px solid;
}
.rt-form-notice--ok {
    background: #E6F0FF;
    border-color: #0052CC;
    color: #003D99;
}
.rt-form-notice--err {
    background: #FDECEA;
    border-color: #C0392B;
    color: #922B21;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    animation: marquee 20s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hero entrance animations */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideRight {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-badge { animation: fadeSlideUp 0.6s ease-out 0.2s both; }
.hero-headline { animation: fadeSlideUp 0.8s ease-out 0.4s both; }
.hero-subtext { animation: fadeSlideUp 0.8s ease-out 0.6s both; }
.hero-buttons { animation: fadeSlideUp 0.8s ease-out 0.8s both; }
.hero-stats { animation: fadeSlideUp 0.8s ease-out 1s both; }
.hero-image { animation: scaleIn 1s ease-out 0.5s both; }
.hero-card { animation: fadeSlideRight 0.8s ease-out 1.2s both; }

/* Floating animation for decorative elements */
.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Pulse animation for active indicators */
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
.pulse-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: pulse-ring 2s ease-out infinite;
}

/* Card reveal animation */
.card-reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.card-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Text reveal animation */
.text-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.text-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section divider animation */
@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

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

/* Navbar scroll effect */
.rt-nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Keep fixed nav below the WP admin bar for logged-in users */
body.admin-bar .rt-nav { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .rt-nav { top: 46px; }
}

/* Glowing effect for CTAs */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 82, 204, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 82, 204, 0.5); }
}
.glow-on-hover:hover {
    animation: glow 2s ease-in-out infinite;
}

/* View Photos button — override WP theme styles */
.gallery-btn,
.gallery-btn:hover,
.gallery-btn:focus,
.gallery-btn:active,
.gallery-btn:visited {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 15px !important;
    margin: 0 !important;
    text-decoration: none !important;
    color: #0052CC !important;
    cursor: pointer !important;
}

/* Lightbox */
#photo-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
#photo-lightbox.open {
    display: flex;
}
#lb-img {
    max-height: 75vh;
    max-width: 100%;
    object-fit: contain;
}

/* ===== WP theme neutralization (landing page only) ===== */
/* Reproduces the original <body class="bg-white text-on-surface font-body"> */
.rt-landing-page { margin: 0; background: #ffffff; color: #111111; font-family: 'Source Serif 4', serif; }
/* Landing goes edge-to-edge — remove theme content width/padding */
.rt-landing-page .site-content, .rt-landing-page .entry-content, .rt-landing-page .wp-block-post-content, .rt-landing-page main { max-width: none !important; padding: 0 !important; margin: 0 !important; }
/* Hide theme header/footer — the landing carries its own nav + footer */
.rt-landing-page .site-header, .rt-landing-page .site-footer, .rt-landing-page header.wp-block-template-part, .rt-landing-page footer.wp-block-template-part { display: none !important; }
/* Kill theme link underlines inside our landing */
.rt-landing-page a, .rt-landing-page a:hover, .rt-landing-page a:visited, .rt-landing-page a:focus { text-decoration: none !important; }
