<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">

        <title><?php echo e(isset($title) ? $title . ' - ' . site_name() : site_name()); ?></title>

        <!-- Favicon -->
        <?php if(site_favicon()): ?>
            <link rel="icon" type="image/x-icon" href="<?php echo e(site_favicon()); ?>">
        <?php endif; ?>

        <!-- Fonts -->
        <link rel="preconnect" href="https://fonts.bunny.net">
        <link href="https://fonts.bunny.net/css?family=inter:300,400,500,600,700&display=swap" rel="stylesheet" />

    <!-- Scripts -->
    <?php echo app('Illuminate\Foundation\Vite')(['resources/css/app.css', 'resources/js/app.js']); ?>
</head>
<body class="font-sans antialiased bg-green-50 text-black">
    <div class="min-h-screen flex flex-col">
        <!-- Enhanced Navigation -->
        <nav class="bg-green-900 border-b border-green-800 shadow-sm">
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                <div class="flex justify-between items-center h-14">
                    <!-- Logo -->
                    <div class="flex items-center">
                        <a href="<?php echo e(route('home')); ?>" class="flex items-center group">
                            <?php if(site_logo()): ?>
                                <img src="<?php echo e(site_logo()); ?>" alt="<?php echo e(site_name()); ?>" class="h-6 w-auto group-hover:opacity-70 transition-opacity duration-200">
                            <?php else: ?>
                                <span class="text-lg font-bold text-white group-hover:opacity-70 transition-opacity duration-200"><?php echo e(site_name()); ?></span>
                            <?php endif; ?>
                        </a>
                    </div>

                    <!-- Right Side Links -->
                    <div class="hidden md:flex items-center space-x-6">
                        <a href="<?php echo e(route('home')); ?>" class="text-xs font-medium text-gray-300 hover:text-white transition-colors duration-200">Home</a>
                        <a href="<?php echo e(route('cars.browse')); ?>" class="text-xs font-medium text-gray-300 hover:text-white transition-colors duration-200">Inventory</a>
                        <?php if(Route::has('login')): ?>
                            <?php if(auth()->guard()->check()): ?>
                                <a href="<?php echo e(route('dashboard')); ?>" class="text-xs font-medium text-gray-300 hover:text-white transition-colors duration-200">Dashboard</a>
                            <?php else: ?>
                                <a href="<?php echo e(route('login')); ?>" class="text-xs font-medium text-gray-300 hover:text-white transition-colors duration-200">Sign In</a>
                                <?php if(Route::has('register')): ?>
                                    <a href="<?php echo e(route('register')); ?>" class="text-xs font-medium text-gray-300 hover:text-white transition-colors duration-200">Register</a>
                                <?php endif; ?>
                            <?php endif; ?>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </nav>

        <!-- Enhanced Main Content -->
        <main class="flex-grow flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
            <div class="w-full max-w-sm">
                <?php echo e($slot); ?>

            </div>
        </main>

        <!-- Enhanced Footer -->
        <footer class="bg-green-900 text-white py-6">
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <div class="mb-3 md:mb-0">
                        <p class="text-xs text-gray-400">&copy; <?php echo e(date('Y')); ?> <?php echo e(site_name()); ?>. All rights reserved.</p>
                    </div>
                    <div class="flex space-x-6">
                        <a href="<?php echo e(route('privacy')); ?>" class="text-xs text-gray-400 hover:text-white transition-colors duration-200">Privacy Policy</a>
                        <a href="<?php echo e(route('terms')); ?>" class="text-xs text-gray-400 hover:text-white transition-colors duration-200">Terms of Service</a>
                        <a href="<?php echo e(route('contact')); ?>" class="text-xs text-gray-400 hover:text-white transition-colors duration-200">Contact</a>
                    </div>
                </div>
            </div>
        </footer>
    </div>
</body>
</html>
<?php /**PATH C:\Users\USER\Videos\red Tesla\secured-tesla-stock\resources\views/layouts/guest.blade.php ENDPATH**/ ?>