/* Shared site styles extracted from index.html and thank-you.html */
body { font-family: 'Inter', sans-serif; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
:root { --brand-blue: rgb(36,105,196); --brand-blue-dark: rgb(30,90,160); --brand-white: #ffffff; }

.hero-bg {
    /* Start with the Request a Bid button blue (#2469C4) for a more uniform look */
    background-image: linear-gradient(to right, rgba(36, 105, 196, 0.98), rgba(15, 23, 42, 0.90));
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
    .glass-panel {
        background: rgba(31, 41, 55, 0.98);
        border: 1px solid rgba(75, 85, 99, 0.3);
    }
}

.service-scroll::-webkit-scrollbar { width: 4px; }
.service-scroll::-webkit-scrollbar-track { background: #f1f1f1; }
.service-scroll::-webkit-scrollbar-thumb { background: #d4af37; border-radius: 2px; }

@media (prefers-color-scheme: dark) {
    .service-scroll::-webkit-scrollbar-track { background: #374151; }
    .service-scroll::-webkit-scrollbar-thumb { background: #fbbf24; }
}

.texture-overlay {
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
}

@media (prefers-color-scheme: dark) {
    .texture-overlay {
        background-image: radial-gradient(rgba(75, 85, 99, 0.15) 1px, transparent 1px);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth hover transition for inputs */
input:focus ~ label, input:not(:placeholder-shown) ~ label {
    top: -0.85rem;
    font-size: 0.75rem;
    color: #1e2d5c;
}

@media (prefers-color-scheme: dark) {
    input:focus ~ label, input:not(:placeholder-shown) ~ label {
        color: #fbbf24;
    }
    textarea:focus ~ label, textarea:not(:placeholder-shown) ~ label {
        color: #fbbf24;
    }
}

/* Sticky contact button */
.sticky-contact-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    background: var(--brand-blue);
    color: var(--brand-white);
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.sticky-contact-button:hover { transform: translateY(-3px); }
.sticky-contact-button:active { transform: translateY(-1px); }
.sticky-contact-button .icon { width: 18px; height: 18px; display: inline-block; }

@media (max-width: 420px) {
    .sticky-contact-button span { display: none; }
    .sticky-contact-button { padding: 10px; right: 12px; bottom: 12px; }
}

/* Hide sticky on small/mobile screens to avoid covering the nav CTA */
@media (max-width: 767px) {
    .sticky-contact-button { display: none !important; }
}

/* Brand CTA helpers using exact logo blue */
.brand-cta { background: var(--brand-blue); color: var(--brand-white); }
.brand-cta:hover { background: var(--brand-blue-dark); }
.brand-submit { background: var(--brand-blue); color: var(--brand-white); }
.brand-submit:hover { background: var(--brand-blue-dark); }

/* Hide logo placeholders until real client logos are provided */
#logoStrip { display: none !important; }

/* Ensure mobile menu and overlay stay hidden on desktop to avoid stray UI */
@media (min-width: 768px) {
    #mobileMenu, #mobileMenuOverlay { display: none !important; }
}

/* Always show vertical scrollbar to match site pages and avoid layout shift */
html { overflow-y: scroll; }
