<?php
session_start();

$first_name = $_SESSION['first_name'];
$email = $_SESSION['email'];


?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>GLH | Home</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
    
    <style>
  
        .navbar-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5px; 
            border-bottom: 1px solid #ddd;
            background-color: #90d5ff;
        }
        
        .logo { 
            display: block;
            height: 40px;
            width: auto;
        }
        
        .navbar {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap; 
            gap: 80px;           
        }
        
        .navbar a {
            text-decoration: none;
            color: black;
            position: relative;
            padding-bottom: 2px;
        }
        
        .navbar a::after{
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: black;
            transition: transform 0.25s ease-out;
        }

        .navbar a:hover::after {
            transform: scaleX(1);
        }
        
        .account {
            justify-content: flex-end;
        }
        
        .account button {
            background: white;
            border: 0px solid #ccc;
            padding: 5px 15px;
            border-radius: 5px;
            cursor: pointer;
        }
        
        .account button:hover {
            background-color: #f0f0f0;
            transition: 0.3s;
        }
        
        
        .logo, .account {
            flex: 1; 
             display: flex;
        }
        

        @media (max-width: 576px) {
            .navbar a {
            font-size: 14px;
            }
            
            .navbar {
                gap: 20px
            }
            
            .logo img {
                width: 90px;
                height: auto;
            }
            
        }
        
        
        
    
    
        
    </style>
</head>
    <body>
        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js" integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
        
        
        <header class="navbar-container">
            
            <div class="logo">
                <a href="index.php">
                    <img src="glh.png" class="logo" alt="logo" width="50" height="15">
                </a>
            </div>
        
            <div class="navbar">
                <a class="market" href="/glh/market/market.php">Market</a>
                <a class="dashboard" href="/glh/dashboard/dashboard.php">Dashboard</a>
                <a class="basket" href="/glh/market/basket.php">Basket</a>
            </div>
            
            <div class="account">
                <a href="/glh/login/login-form.php">
                    <button>Login <i class="bi bi-person-circle"></i></button>
                </a>
            </div>
            
        </header>
        
        
        
        <!--<header class="hero">
            <img src="hero-image.png" class="hero-image" name="hero-image" alt="hero">
            <h2>Greenfield Local Hub</h2>
            <h3>super awesome company quote here</h3>-->
            
        
            
            
            
        </header>
        
    </body>
</html>



