<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Profile - <%= user.name %></title>
  <link rel="stylesheet" href="/css/profile.css">
</head>
<body>
  <header>
    <h1>Welcome, <%= user.name %>!</h1>
    <nav>
      <a href="/">Home</a>
      <a href="/logout">Logout</a>
    </nav>
  </header>

  <section class="profile-container">
    <h2>Your Profile</h2>
    <div class="profile-card">
      <p><strong>Name:</strong> <%= user.name %></p>
      <p><strong>Email:</strong> <%= user.email %></p>
    </div>
    
    <a href="/edit-profile" class="btn-edit">Edit Profile</a>
  </section>

  <footer>
    <p>&copy; 2025 Tour Website</p>
  </footer>
</body>
</html>
