<?php
// auction-policies.php - Bidding, Reserved Product & Winning Bid Policies
// File location: /bidwheels.net/auction-policies.php

require_once 'includes/functions.php';
require_once 'includes/header.php';
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="BidWheels.net auction policies including bidding rules, reserved product policy, and winning bid terms and conditions.">
    <title>Auction Policies - <?php echo SITE_NAME; ?></title>
    
    <style>
        .policies-page {
            background: linear-gradient(135deg, #EFEBE0 0%, #e5e0d4 100%);
            min-height: 100vh;
            padding: 60px 0;
        }
        
        .policies-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }
        
        /* Header */
        .policies-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .policies-header h1 {
            font-size: 48px;
            font-weight: 800;
            background: linear-gradient(135deg, #1a1a1a 0%, #FF8C3E 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
        }
        
        .policies-header p {
            color: #555;
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .last-updated {
            text-align: center;
            color: #888;
            font-size: 13px;
            margin-top: 10px;
        }
        
        /* Policies Grid */
        .policies-grid {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 40px;
        }
        
        /* Sidebar Navigation */
        .policies-nav {
            position: sticky;
            top: 100px;
            height: fit-content;
            background: white;
            border-radius: 24px;
            padding: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        }
        
        .policies-nav h3 {
            font-size: 18px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid #FF8C3E;
        }
        
        .nav-list {
            list-style: none;
            padding: 0;
        }
        
        .nav-list li {
            margin-bottom: 12px;
        }
        
        .nav-list a {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #555;
            text-decoration: none;
            padding: 8px 12px;
            border-radius: 12px;
            transition: all 0.3s;
            font-size: 14px;
        }
        
        .nav-list a i {
            width: 20px;
            color: #FF8C3E;
        }
        
        .nav-list a:hover {
            background: #f8f8f8;
            color: #FF8C3E;
            transform: translateX(5px);
        }
        
        /* Content */
        .policies-content {
            background: white;
            border-radius: 32px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        
        .policy-section {
            margin-bottom: 50px;
            scroll-margin-top: 100px;
        }
        
        .policy-section:last-child {
            margin-bottom: 0;
        }
        
        .policy-section h2 {
            font-size: 28px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #FF8C3E;
            display: inline-block;
        }
        
        .policy-section h3 {
            font-size: 20px;
            font-weight: 600;
            color: #1a1a1a;
            margin: 25px 0 15px;
        }
        
        .policy-section h4 {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin: 20px 0 10px;
        }
        
        .policy-section p {
            color: #555;
            line-height: 1.7;
            margin-bottom: 15px;
            font-size: 15px;
        }
        
        .policy-section ul, 
        .policy-section ol {
            margin: 15px 0 15px 25px;
            color: #555;
            line-height: 1.7;
        }
        
        .policy-section li {
            margin-bottom: 8px;
        }
        
        .policy-section .highlight {
            background: #fef5ee;
            padding: 20px;
            border-left: 4px solid #FF8C3E;
            border-radius: 16px;
            margin: 20px 0;
        }
        
        .policy-section .highlight p {
            margin-bottom: 0;
        }
        
        .policy-section .note {
            background: #f0f7ff;
            padding: 15px 20px;
            border-radius: 16px;
            margin: 15px 0;
            font-size: 14px;
        }
        
        .policy-section .note i {
            color: #FF8C3E;
            margin-right: 8px;
        }
        
        hr {
            margin: 30px 0;
            border-color: #f0f0f0;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .policies-grid {
                grid-template-columns: 1fr;
            }
            
            .policies-nav {
                position: static;
                margin-bottom: 30px;
            }
            
            .nav-list {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
            }
            
            .nav-list li {
                margin-bottom: 0;
            }
            
            .nav-list a {
                padding: 6px 14px;
                background: #f8f8f8;
            }
        }
        
        @media (max-width: 768px) {
            .policies-page {
                padding: 40px 0;
            }
            
            .policies-container {
                padding: 0 16px;
            }
            
            .policies-header h1 {
                font-size: 32px;
            }
            
            .policies-content {
                padding: 25px;
            }
            
            .policy-section h2 {
                font-size: 24px;
            }
        }
    </style>
</head>
<body>

<div class="policies-page">
    <div class="policies-container">
        <div class="policies-header">
            <h1>Auction Policies</h1>
            <p>Important information about bidding, reserved products, and winning bids</p>
            <div class="last-updated">Last Updated: June 11, 2025</div>
        </div>
        
        <div class="policies-grid">
            <!-- Sidebar Navigation -->
            <aside class="policies-nav">
                <h3><i class="fas fa-file-alt"></i> On This Page</h3>
                <ul class="nav-list">
                    <li><a href="#bidding-policy"><i class="fas fa-gavel"></i> Bidding Policy</a></li>
                    <li><a href="#reserved-policy"><i class="fas fa-ban"></i> Reserved Product Policy</a></li>
                    <li><a href="#winning-policy"><i class="fas fa-trophy"></i> Winning Bid Policy</a></li>
                </ul>
            </aside>
            
            <!-- Main Content -->
            <div class="policies-content">
                <!-- Bidding Policy -->
                <div id="bidding-policy" class="policy-section">
                    <h2>Bidding Policy</h2>
                    
                    <h3>1. Eligibility to Bid</h3>
                    <p>To place a bid on <?php echo SITE_NAME; ?>, you must:</p>
                    <ul>
                        <li>Be at least 18 years of age</li>
                        <li>Provide valid contact information (name, email, phone number)</li>
                        <li>Provide valid payment information (credit card or bank transfer details)</li>
                        <li>Agree to these terms and conditions</li>
                    </ul>
                    
                    <h3>2. How Bidding Works</h3>
                    <p>All bids placed on <?php echo SITE_NAME; ?> are final and binding. By placing a bid, you agree to purchase the vehicle at the bid amount if you are the winning bidder.</p>
                    <ul>
                        <li><strong>Minimum Bid:</strong> Each auction has a starting price. All bids must be at least $1 higher than the current highest bid.</li>
                        <li><strong>Bid Increments:</strong> Bids must follow the minimum increment rules displayed on each product page.</li>
                        <li><strong>Bid Confirmation:</strong> You will receive an email confirmation after placing a bid.</li>
                        <li><strong>Outbid Notifications:</strong> If someone outbids you, you will receive an email notification.</li>
                    </ul>
                    
                    <h3>3. Bid Retraction</h3>
                    <p>Bids cannot be retracted once placed. Please bid carefully. In exceptional circumstances (e.g., typographical error in bid amount), you may contact support within 1 hour of placing the bid.</p>
                    
                    <h3>4. Automatic Bidding</h3>
                    <p><?php echo SITE_NAME; ?> may use automated bidding to simulate real user activity and maintain an active marketplace. These system-generated bids follow the same rules as user bids.</p>
                    
                    <h3>5. Bid Disputes</h3>
                    <p>In case of a dispute, the timestamp of the bid determines the winner. All bids are recorded with precise timestamps.</p>
                    
                    <div class="highlight">
                        <p><strong>Important:</strong> Bidding on <?php echo SITE_NAME; ?> constitutes a legally binding agreement to purchase the vehicle if you win the auction.</p>
                    </div>
                </div>
                
                <hr>
                
                <!-- Reserved Product Policy -->
                <div id="reserved-policy" class="policy-section">
                    <h2>Reserved Product Policy</h2>
                    
                    <h3>1. What is a Reserved Product?</h3>
                    <p>An administrator may mark a product as "Reserved" at any time. This means the product is no longer available for bidding and has been set aside for a specific buyer or purpose.</p>
                    
                    <h3>2. When is a Product Reserved?</h3>
                    <ul>
                        <li>The product has met its reserve price and the seller accepts the current bid</li>
                        <li>The product is sold outside the platform</li>
                        <li>The product has quality issues discovered during inspection</li>
                        <li>The seller decides to end the auction early</li>
                    </ul>
                    
                    <h3>3. What Happens When a Product is Reserved?</h3>
                    <ul>
                        <li>All active bidding stops immediately</li>
                        <li>The "Place Bid" button is hidden from all users</li>
                        <li>A "RESERVED" badge is displayed prominently on the product page</li>
                        <li>No new bids can be placed</li>
                        <li>The current highest bidder (if any) will be notified</li>
                    </ul>
                    
                    <h3>4. If You Were the Highest Bidder When Product Was Reserved</h3>
                    <p>If you were the highest bidder at the time a product is marked as reserved:</p>
                    <ul>
                        <li>You will receive an email notification explaining the situation</li>
                        <li>Your bid amount will not be charged</li>
                        <li>You will not be obligated to complete the purchase</li>
                        <li>Your payment information on file will remain secure</li>
                    </ul>
                    
                    <div class="note">
                        <i class="fas fa-info-circle"></i> <strong>Note:</strong> <?php echo SITE_NAME; ?> reserves the right to mark any product as reserved at its sole discretion. We strive to notify affected bidders as soon as possible.
                    </div>
                </div>
                
                <hr>
                
                <!-- Winning Bid Policy -->
                <div id="winning-policy" class="policy-section">
                    <h2>Winning Bid Policy</h2>
                    
                    <h3>1. Determining the Winner</h3>
                    <p>The bidder with the highest bid at the auction end time is declared the winner. In case of identical bid amounts, the earliest bid wins.</p>
                    
                    <h3>2. Winner Notification</h3>
                    <p>Winners are notified via email within 1 hour of auction completion. The email contains:</p>
                    <ul>
                        <li>Product details and final bid amount</li>
                        <li>Payment instructions and deadline</li>
                        <li>Next steps for completing the purchase</li>
                    </ul>
                    
                    <h3>3. Payment Requirements</h3>
                    <p>The winning bidder must complete payment within 48 hours of auction end. Payment methods accepted:</p>
                    <ul>
                        <li>Credit Card (Visa, MasterCard, American Express)</li>
                        <li>Bank Transfer (wire transfer)</li>
                        <li>Other methods as displayed on the payment page</li>
                    </ul>
                    
                    <div class="highlight">
                        <p><strong>Important:</strong> Failure to complete payment within 48 hours may result in cancellation of the sale and potential account suspension.</p>
                    </div>
                    
                    <h3>4. Payment Confirmation</h3>
                    <p>After submitting payment information, you will receive a confirmation email. Our team will verify the payment within 24-48 hours.</p>
                    
                    <h3>5. Seller Obligations</h3>
                    <p>Once payment is confirmed, the seller must:</p>
                    <ul>
                        <li>Prepare the vehicle for pickup or shipping</li>
                        <li>Provide all necessary documentation (title, service records, etc.)</li>
                        <li>Coordinate delivery within 7 business days</li>
                    </ul>
                    
                    <h3>6. Buyer's Responsibilities</h3>
                    <p>The winning bidder is responsible for:</p>
                    <ul>
                        <li>Arranging vehicle pickup or delivery</li>
                        <li>Paying any applicable taxes, fees, or shipping costs</li>
                        <li>Completing the transaction within the specified timeframe</li>
                        <li>Inspecting the vehicle upon delivery</li>
                    </ul>
                    
                    <h3>7. Default by Winner</h3>
                    <p>If the winning bidder fails to complete payment within 48 hours:</p>
                    <ul>
                        <li>The sale will be canceled</li>
                        <li>The product may be offered to the second-highest bidder</li>
                        <li>The user may be suspended from future bidding</li>
                        <li>Negative feedback may be recorded on the user's account</li>
                    </ul>
                    
                    <h3>8. Disputes</h3>
                    <p>If you believe you were incorrectly declared the winner or have concerns about the product, contact support within 24 hours of auction end.</p>
                    
                    <div class="note">
                        <i class="fas fa-question-circle"></i> <strong>Questions?</strong> Contact our winning bids department at <a href="mailto:bids@bidwheels.net">bids@bidwheels.net</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<?php require_once 'includes/footer.php'; ?>