/* =========================================
   DEALER NETWORK / NEWSLETTER ENHANCEMENTS
   ========================================= */

:root {
    --nl-bg-dark: #1F1815;
    /* Dark Walnut/Black */
    --nl-gold: #D4A373;
    --nl-input-bg: rgba(255, 255, 255, 0.05);
    --nl-border: rgba(255, 255, 255, 0.1);
}

.dealer-network-section {
    position: relative;
    padding: 8rem 0;
    background-color: var(--nl-bg-dark);
    margin-top: 0;
    overflow: hidden;
}

/* Background Texture */
.dealer-network-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/wood-texture-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    /* Subtle wood grain check */
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Gold Accent Line Top */
.dealer-network-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--nl-gold), transparent);
}

.dealer-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

.dealer-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.dealer-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Premium Form Container */
.dealer-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--nl-border);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.dealer-form {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Input Group Styling */
.input-group {
    flex: 1;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--nl-gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.dealer-input {
    width: 100%;
    background: var(--nl-input-bg);
    border: 1px solid var(--nl-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s;
}

.dealer-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--nl-gold);
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.1);
}

.dealer-btn {
    background: var(--nl-gold);
    color: #fff;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 1.9rem;
    /* Align with input height approx */
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.2);
}

.dealer-btn:hover {
    background: white;
    color: var(--nl-bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .dealer-form {
        flex-direction: column;
        gap: 2rem;
    }

    .input-group {
        width: 100%;
    }

    .dealer-btn {
        width: 100%;
        margin-top: 0;
    }

    .dealer-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .dealer-header h2 {
        font-size: 2.5rem;
    }
}