/* ──────────────────────────────────────────────────────────────
   Vinyl Wrap Quote Form – Minimal Clean Style with Space Grotesk
   Background: #26252b | No Shadows
   ────────────────────────────────────────────────────────────── */

/* Import Space Grotesk from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Base wrapper */
.vwqf-wrap {
    background: #26252b;
    padding: 4rem 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', 'Arial', sans-serif;
}

/* Form container */
.vwqf-form {
    background: transparent;
    max-width: 700px;
    width: 100%;
    padding: 0;
}

/* Header section */
.vwqf-header {
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.vwqf-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.vwqf-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: #b0b0b0;
    margin: 0;
    line-height: 1.6;
}

/* Form grid layout */
.vwqf-form-grid {
    display: grid;
    gap: 2rem;
}

/* Two-column layout */
.vwqf-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.vwqf-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Labels */
.vwqf-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d0d0d0;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vwqf-form label span { 
    color: #ff6b6b; 
}

/* Input fields - Clean minimal style */
.vwqf-form input[type="text"],
.vwqf-form input[type="email"],
.vwqf-form input[type="tel"],
.vwqf-form select,
.vwqf-form textarea {
    width: 90%;
    padding: 1rem 1.25rem;
    background: transparent;
    border: 1px solid #404040;
    border-radius: 0;
    color: #e0e0e0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color 0.2s ease;
}

.vwqf-form input:focus,
.vwqf-form select:focus,
.vwqf-form textarea:focus {
    outline: none;
    border-color: #00bcd4;
    background: transparent;
}

/* File inputs */
.vwqf-form input[type="file"] {
    padding: 0.75rem 0;
    border: 1px solid #404040;
    background: transparent;
    color: #b0b0b0;
}

.vwqf-form input[type="file"]::file-selector-button {
    background: transparent;
    border: none;
    color: #00bcd4;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.vwqf-form input[type="file"]::file-selector-button:hover {
    color: #4dd0e1;
}

/* Select styling */
.vwqf-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b0b0b0' viewBox='0 0 12 12'><path d='M0 3l6 6 6-6z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Submit button */
.vwqf-form input[type="submit"] {
    background: #000;
    color: #fff;
    border: 1px solid #404040;
    padding: 1.25rem 2rem;
    border-radius: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.vwqf-form input[type="submit"]:hover {
    background: #00bcd4;
    border-color: #00bcd4;
    color: #fff;
}

/* Messages */
.vwqf-msg {
    padding: 1rem 1.25rem;
    border: 1px solid #404040;
    border-radius: 0;
    margin-bottom: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
}

.vwqf-msg.success {
    border-color: #e0dd1e;
    color: #e0dd1e;
    background: #e0dd1e24;
}

.vwqf-msg.error { 
    border-color: #ff6b6b; 
    color: #ff9999; 
    background: rgba(255, 107, 107, 0.1);
}

/* Scrolling Service Banner - Fade at Both Ends with Transparent Background */
/* Scrolling Service Banner - Fade at Both Ends with Transparent Background */
.vwqf-service-banner {
    width: 100%;
    overflow: hidden;
    margin-top: 3rem;
    padding: 1.5rem 0;
    position: relative;
    background: transparent; /* Keep fully transparent for #e0dd1e base */
}

/* Left fade overlay (pseudo-element) */
.vwqf-service-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px; /* Adjust width for fade length */
    height: 100%;
    background: linear-gradient(to right, #e0dd1e 0%, rgba(224, 221, 30, 0) 100%);
    z-index: 2;
    pointer-events: none; /* Allows clicks through the overlay */
}

/* Right fade overlay (pseudo-element) */
.vwqf-service-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px; /* Match left fade width */
    height: 100%;
    background: linear-gradient(to left, #e0dd1e 0%, rgba(224, 221, 30, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.vwqf-service-text {
    display: inline-block;
    white-space: nowrap;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #26252b; /* Your dark gray text for contrast on yellow */
    position: absolute;
    left: 100%; /* Start off-screen right - JS will animate */
    top: 50%;
    transform: translateY(-50%);
    opacity: 1; /* Ensure visible from the start */
    z-index: 1; /* Below fades but above background */
    font-kerning: auto; /* Corrected syntax */
}

/* Fallback CSS Animation (if JS fails) */
@keyframes scrollText {
    0% { left: 100%; }
    100% { left: -100%; }
}

.vwqf-service-text.fallback {
    animation: scrollText 50s linear infinite; /* Match JS duration */
}

/* Fallback CSS Animation (if JS fails) */
@keyframes scrollText {
    0% { left: 100%; }
    100% { left: -100%; }
}

.vwqf-service-text.fallback {
    animation: scrollText 50s linear infinite; /* Match JS duration */
}

/* Responsive */
@media (max-width: 768px) {
    .vwqf-two-column {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vwqf-wrap {
        padding: 2rem 1rem;
    }
    
    .vwqf-title {
        font-size: 2rem;
    }

    .vwqf-service-banner::before,
    .vwqf-service-banner::after {
        width: 150px;
    }
}